A better place for this post would be on R's mixed models list: r-sig-mixed-models .
Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, Aug 16, 2017 at 6:17 AM, <b88207...@ntu.edu.tw> wrote: > Hello dear uesRs, > > I am working on modeling both level one and level two heteroscedasticity in > HLM. In my model, both error variance and variance of random intercept / > random slope are affected by some level two variables. > > I found that nlme is able to model heteroscedasticity. I learned how to use > it for level one heteroscedasticity but don't know how to use it to model > the level two heteroscedasticity. I wonder if anyone could give me some > guide how to do it or any suggested software / packages if nlme is unable to > do it. > > Many thanks in advance! > > Best, > Yen > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.