[R] computation time gls()

From: Sebastian Leuzinger <Sebastian.Leuzinger_at_unibas.ch>
Date: Tue 26 Jul 2005 - 01:08:01 EST

dear R users

i try to fit a gls model to a rather large dataset with an AR(1) error structure:

m1.a.gls <- gls(fluxt~co2+light+vpd+wind,

   correlation = corAR1(0.8))

there are approx. 5000 observations, and the computation seems to take several hours, i actually killed the process because i became too impatient. is there any way to be more efficient with R? (because really the model will be more complex, i.e. more predictors and higher autoregressive order).

os: linux suse, R version: latest, machine: ibm thinkpad 42T, 1GHz RAM

Sebastian Leuzinger
Institute of Botany, University of Basel Schönbeinstr. 6 CH-4056 Basel
ph 0041 (0) 61 2673511
fax 0041 (0) 61 2673504
email Sebastian.Leuzinger@unibas.ch
web http://pages.unibas.ch/botschoen/leuzinger

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jul 26 01:12:41 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:34:01 EST