Skip to content

try lme instead

2 messages · Gregoire, Timothy, Ben Bolker

#
With lme of the nlme package you can specify a correlation argument to account for longitudinal correlation. Try a CAR1 correlation.

Tim 

Timothy G. Gregoire
J. P. Weyerhaeuser Professor of Forest Management
School of Forestry & Environmental Studies
Yale University
360 Prospect St, New Haven, CT, U.S.A. 06511
Ph: 1.203.432.9398 mob: 1.203.508.4014? fax:1.203.432.3809


-----Original Message-----
From: R-sig-mixed-models [mailto:r-sig-mixed-models-bounces at r-project.org] On Behalf Of r-sig-mixed-models-request at r-project.org
Sent: Sunday, July 31, 2016 6:00 AM
To: r-sig-mixed-models at r-project.org
Subject: R-sig-mixed-models Digest, Vol 115, Issue 39

Send R-sig-mixed-models mailing list submissions to
	r-sig-mixed-models at r-project.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_r-2Dsig-2Dmixed-2Dmodels&d=CwICAg&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=atRKEKX5W2zm-GsIgYzLo4oYM9D-Qn-eMFObHZtnEnI&m=0bsxPbgQhfwtIO1cgoQfJt24FzLV6A7sHDNIpLCPdZY&s=1hHtoI5s_g99seFW7TN4ouNfHYBmeuLcge-Zu332o24&e=
or, via email, send a message with subject or body 'help' to
	r-sig-mixed-models-request at r-project.org

You can reach the person managing the list at
	r-sig-mixed-models-owner at r-project.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of R-sig-mixed-models digest..."


Today's Topics:

   1. Re: lme4 random effects for repeated measures, unbalanced
      data (Ben Bolker)


----------------------------------------------------------------------

Message: 1
Date: Sat, 30 Jul 2016 11:16:07 -0400
From: Ben Bolker <bbolker at gmail.com>
To: r-sig-mixed-models at r-project.org
Subject: Re: [R-sig-ME] lme4 random effects for repeated measures,
	unbalanced data
Message-ID: <de3be868-c64c-052c-00db-436e3abd5708 at gmail.com>
Content-Type: text/plain; charset=windows-1252
On 16-07-19 07:28 PM, Ann Marie Raymondi wrote:
Include Year as a fixed effect.  You could try to include (Year|Plot), but it will overlap with the residual error (since each plot is measured once per year), so it probably won't work (without some more fussing around).  You'll probably get most of the signal by including Year as a fixed effect.



------------------------------

Subject: Digest Footer

_______________________________________________
R-sig-mixed-models mailing list
R-sig-mixed-models at r-project.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_r-2Dsig-2Dmixed-2Dmodels&d=CwICAg&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=atRKEKX5W2zm-GsIgYzLo4oYM9D-Qn-eMFObHZtnEnI&m=0bsxPbgQhfwtIO1cgoQfJt24FzLV6A7sHDNIpLCPdZY&s=1hHtoI5s_g99seFW7TN4ouNfHYBmeuLcge-Zu332o24&e= 

------------------------------

End of R-sig-mixed-models Digest, Vol 115, Issue 39
#
Worth a try, but fitting a correlation model to time series with 3
points won't add very much information to the model (correlation
models are more effective for long time series) ...

On Sun, Jul 31, 2016 at 8:14 AM, Gregoire, Timothy
<timothy.gregoire at yale.edu> wrote: