s-news
[Top] [All Lists]

[S] Idiosyncracy in GAM function

To: s-news@wubios.wustl.edu
Subject: [S] Idiosyncracy in GAM function
From: "Mark Goldberg (mark@polair.epi.mcgill.ca)" <mark@polair.epi.mcgill.ca>
Date: Tue, 23 Feb 1999 18:49:16 -0500 (EST)
Cc: ravinder <ravinder@polair.epi.mcgill.ca>
Sender: owner-s-news@wubios.wustl.edu
I have just discovered an interesting feature of the gam function. In
fitting complex time series data using quasi-likelihood, I have found that
the final results of the fit depend on the order of the covariates. For
example, the model

log(y) = a + lo(day,span=0.05) + lo(year) + lo(x) 

will give slightly different estimates of the dispersion parameter,
residual deviances, residual degrees of freedom, standard errors and the
like than a model, say,

log(y) = a + lo(year) + lo(x) + lo(day,span=0.05). 
 
The differences all occur in the fifth decimal place, so that the effects 
are extremely minor, but nevertheless disconcerting.

I'm curious to know whether any one else has run into this and whether 
there is a simple explanation. 

Mark Goldberg,PhD
E-Mail: mark@polair.epi.mcgill.ca
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>