Skip to content

Unbalanced Nested Models with Heteroscedastic Errors

1 message · Ryan Simmons

#
Hi Ilan,

Could you clarify what you mean by "the random effects by class are centered around zero" and/or provide the code you are using to make this evaluation? It's hard to tell right now whether your issue is a coding one or a conceptual one. 

Random effects are, by definition, random variables with mean 0, and are often interpreted as the class-specific deviations from the grand mean. That is, if you just look at the random effect itself, of course it will be centered around zero, that's how it is defined in the model. The (conditional) mean for class j from the model would be calculated as something like: Intercept + Fixed-Effect for Class j + Random-Effect for Class j. There's nothing pathological about the random-effect term for a class in isolation being centered around 0, indeed that's exactly what you expect to see. 

Regards,

Ryan Simmons
Department of Biostatistics and Bioinformatics
Duke University
Durham, NC 27710
(919) 681-2567

-----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: Wednesday, December 19, 2018 6:03 AM
To: r-sig-mixed-models at r-project.org
Subject: R-sig-mixed-models Digest, Vol 144, Issue 21

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=DwICAg&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=szMipnZzQMIctqnszKsX-AUNBHtRn663-NaJh5_rHBE&m=hBvCaNGt_bk-s68BkfzjQ0IeU_UHl1q7w22Gi1IaYZY&s=ZNUPRM1S5yri6v5VDxxdjyTf_QDtZQF-x9GrHWHl5Fs&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. Fw: Unbalanced Nested Models with Heteroscedastic Errors
      (Reinstein, Ilan)
   2. Unbalanced Nested Models with Heteroscedastic Errors
      (Reinstein, Ilan)

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

Message: 1
Date: Tue, 18 Dec 2018 20:21:38 +0000
From: "Reinstein, Ilan" <Ilan.Reinstein at nyulangone.org>
To: "r-sig-mixed-models at r-project.org"
	<r-sig-mixed-models at r-project.org>
Subject: [R-sig-ME] Fw: Unbalanced Nested Models with Heteroscedastic
	Errors
Message-ID: <873f52ba938e4c0da122474a4586b474 at nyulangone.org>
Content-Type: text/plain; charset="utf-8"

I sent the previous message as a non-member. I have signed up to the list so hopefully I can get an answer.


Thanks again for your time.