Displaying 1 result from an estimated 1 matches for "loglik_lm".
2023 Aug 29
1
logLIk(lme(...))?
Hello, all:
I have a dataset with 2 groups. I want to estimate 2 means and 2
standard deviations. I naively think I should be able to use lme to do
that, e.g., lme(y~gp, random=y~1|gp, method='ML'). I think I should get
the same answer as from lm(y~1, ...) within each level of group. I can
get the same means, but I don't know how to extract the within-gp
standard