Huge gap in my understanding [General Statistics]
Dear ElMaestro,
Likely best to consider “lsmeans” as a predictor for a population value based on estimates from a model where the latter can be derived via maximum likelihood estimation.
“Lsmeans” allow making predictions for an average value of a co-variate (i.e. adjusted for the average value)
- see example above where predictions (i.e. “lsmeans” in SAS speak) for strength grouped by Machine were provided condition at diameter equal to 24.133 (i.e. adjusted for the average of diameter).
Prediction (i.e. lsmeans in SAS speak) can be also obtained for any a value of diameter (e.g. diameter=100) if this would make sense in a specific situation (e.g. consider a co-variate modeling a time course where you are interested in predictions at weeks 1, 2, or 3 at which no observations are available)
Best regards & hope this helps
Martin
PS.: A very nice summary is given here: https://cran.r-project.org/web/packages/doBy/vignettes/LSmeans.pdf
PPS.: In balanced multi-way designs or unbalanced 1-way designs I would expect identical values for observed means and "lsmeans"
Likely best to consider “lsmeans” as a predictor for a population value based on estimates from a model where the latter can be derived via maximum likelihood estimation.
“Lsmeans” allow making predictions for an average value of a co-variate (i.e. adjusted for the average value)
- see example above where predictions (i.e. “lsmeans” in SAS speak) for strength grouped by Machine were provided condition at diameter equal to 24.133 (i.e. adjusted for the average of diameter).
Prediction (i.e. lsmeans in SAS speak) can be also obtained for any a value of diameter (e.g. diameter=100) if this would make sense in a specific situation (e.g. consider a co-variate modeling a time course where you are interested in predictions at weeks 1, 2, or 3 at which no observations are available)
Best regards & hope this helps
Martin
PS.: A very nice summary is given here: https://cran.r-project.org/web/packages/doBy/vignettes/LSmeans.pdf
PPS.: In balanced multi-way designs or unbalanced 1-way designs I would expect identical values for observed means and "lsmeans"
Complete thread:
- LSMeans ElMaestro 2018-02-27 09:02 [General Statistics]
- Understanding (!) LSMeans d_labes 2018-02-28 09:49
- Huge gap in my understanding ElMaestro 2018-03-04 10:03
- Huge gap in my understanding martin 2018-03-06 14:40
- Huge gap in my understanding ElMaestro 2018-03-06 17:30
- Huge gap in my understandingmartin 2018-03-06 19:58
- Huge gap in my understanding ElMaestro 2018-03-06 20:53
- Huge gap in my understanding martin 2018-03-07 08:42
- Huge gap in my understanding ElMaestro 2018-03-06 20:53
- Huge gap in my understandingmartin 2018-03-06 19:58
- Huge gap in my understanding ElMaestro 2018-03-06 17:30
- Huge gap in my understanding martin 2018-03-06 14:40