全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2406 2
2014-12-21
SAS中 mean 与LS mean有什么区别?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2014-12-21 21:16:53
通常用于比较group,mean是简单的比较, ls_mean还考虑到了组间的其他因素,比如treatment
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2014-12-22 16:24:23
Least Squares Mean

This is a mean estimated from a linear model. In contrast, a raw or arithmetic mean is a simple average of your values, using no model. Least squares means are adjusted for other terms in the model (like covariates), and are less sensitive to missing data. Theoretically, they are better estimates of the true population mean.

As a simple example, suppose you have a treatment applied to 3 trees (experimental unit), and 2 observations (samples) are collected on each. However, one observation is missing, giving values of (45, 36), (56, ), and (37, 41), where parentheses are around each tree. The raw average is simply (45+36+56+37+41)/5 = 43, and note the reduced influence of the second tree since it has fewer values. The least squares mean would be based on a model u + T + S(T), resulting in an average of the tree averages, as follows.

Least squares mean =[ (45+36)/2 + 56 + (37+41)/2 ] / 3 = 45.17 This more accurately reflects the average of the 3 trees, and is less affected by the missing value.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群