search for: reg1gls

Displaying 1 result from an estimated 1 matches for "reg1gls".

2009 May 14
1
Data extraction problem after importation using RODBC
...l = channel, sqtable = "Feuil1") data odbcClose(channel)   Then I perform an lm regression using the following code: reg1 <-lm(data$prod~data$pri+data$cli) summary(reg1)   Then I try to perform a gls regression because I have a correlation problem. For this I use the following code: reg1gls <- gls(data$prod ~ data$pri + data$cli + correlation=corAR1(form= ~data$Year), method='ML')   The problem is that after this gls regression, I have the fellowing error message :   Error in eval(expr, envir, enclos) :  'Year' object is not find   When I relplace "Year"...