Skip to content
Prev 18617 / 20628 Next

gls() results for unbalanced data with corStruct correlation class change if Initialize() is called first

?My best guess is that you've found a bug in gls.? Thanks for the 
detailed test case!? I did test in lme() {as you may already know, the 
compound-symmetric GLS is equivalent, *if the estimated correlation is 
positive*, to a random-intercepts model}, and found that the lme() 
results agreed closely with the "direct call" results (standard errors 
differ slightly, but that's to be expected - they're much more sensitive 
to any numerical instability).? I put my? explorations up at:

https://gist.github.com/bbolker/501c1dc6b1ed8be5c46ef66da5a964aa

(sorry about tidyverse code, I find myself getting sucked in thiese days 
...)
On 7/16/20 11:21 AM, Mychaleckyj, Josyf C (jcm6t) wrote: