AS1 = lm(GPA ~ Sex + Fulltime + Indigenous + Co.op + International, data = data11)
I made a regression like this.
GPA Sex Fulltime Indigenous Co-op International
2015/16 2.738711 0.1957311 0.5429625 0.008433362 0.4104236 0.2378208
2016/17 2.799184 0.1922954 0.5640596 0.01018903 0.420968 0.2330071
2017/18 2.842297 0.2017633 0.5600541 0.008940075 0.4422708 0.2392785
2018/19 2.858647 0.2008524 0.5799423 0.007858447 0.4233421 0.2367674
2019/20 NA 0.2011515 0.5712549 0.007988816 0.4156681 0.242161
And this is my data set that is data11. I want to predict 2019/20 GPA which is empty right now by using the linear regression which is AS1.
AS1P = predict(AS1, newdata = data11[5, ])
prediction from a rank-deficient fit may be misleading
This is a function that I used to predict. And it said it is misleading. If anyone that can help me, I would be appreciate!!