Re: [R] how to get AIC BIC information using funtion lm

2011-11-28 Thread Mohamed Lajnef
Hi, Try the AIC and BIC function. ?AIC for help Regrads ML Le 28/11/11 08:28, arunkumar a écrit : > Hi > how to get AIC BIC information using funtion lm ? > > Please help me > > Data<- read.csv("C:/FE and RE.csv") > Formula="Y~X2+X3+X4 > lm(formula=Formula,data=Data) > > My sample Data > >

[R] how to get AIC BIC information using funtion lm

2011-11-28 Thread arunkumar1111
Hi how to get AIC BIC information using funtion lm ? Please help me Data<- read.csv("C:/FE and RE.csv") Formula="Y~X2+X3+X4 lm(formula=Formula,data=Data) My sample Data State Year Y X2 X3 X4 X5 X6 S2 1960 27.8 397.5 42.2 50.7 78.3 65.8 S1 1960 29.9 413.3 38.1 52 79.2 66.9 S2 1961 29.8 439.2 40