I need help with gls{nlme}.
Specifically, I am estimating an equation with AR(1) using 
maximum-likelihood. I am not understanding the correlationoption below. 
Help appreciated.

===
library(nlme)
eq1<-log(chnimp)~log(chempi)+log(gas)+log(rtwex)+befile6+
                  affile6+afdec6
reg1<-gls(eq1,data=mydata,correlation=corAR1(),method="ML",verbose=T)


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to