- 1、本文档共65页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
比较k个总体均值是否相同
Estimate the variance components of the random (and fixed) terms via the restricted maximum likelihood (REML) method. lmer(sqrt(LIMPT100) ~ 1 + (1 | ZONE) + (1 | SITE) + (1 | ZONE:SITE), data=dat) Linear mixed model fit by REML Formula: sqrt(LIMPT100) ~ 1 + (1 | ZONE) + (1 | SITE) + (1 | ZONE:SITE) Data: dat AIC BIC logLik deviance REMLdev 180.8 189.3 -85.4 171.5 170.8 Random effects: Groups Name Variance Std.Dev. ZONE:SITE (Intercept) 1.2160e+00 1.1027e+00 ZONE (Intercept) 3.5443e-01 5.9534e-01 SITE (Intercept) 2.2686e-15 4.7630e-08 Residual 3.4585e+00 1.8597e+00 Number of obs: 40, groups: ZONE:SITE, 8; ZONE, 4; SITE, 2 Fixed effects: Estimate Std. Error t value (Intercept) 2.5096 0.5719 4.388 Although the interaction term explained approximately 26% (1.216/(1.216 + 0 + 3.455)), most of the variance was unexplained ((3.455/(1.216 + 0 + 3.455) = 74%). 更详细的步骤见 Biostatistical Design and Analysis Using R A Practical Guide by Murray Logan, Wiley-Blackwell, Chichester, West Sussex, 2010. 10.10 Key for single factor classification (ANOVA) (p262) 11.13 Key for nested ANOVA (p294) 15.8 Key for ANCOVA (p455) 12.11 Key for factorial ANOVA (p328) print(anova(fit)); Analysis of Variance Table Response: SUTW Df Sum Sq Mean Sq F value Pr(F) I(IV^(1/3)) 1 0.0065364 0.0065364 15.5799 0.0001945 *** TREAT 2 0.0167503 0.0083752 19.9626 1.66e-07 *** I(IV^(1/3)):TREAT 2 0.0039443 0.0019721 4.7007 0.0123436 * Residuals 66 0.0276899 0.0004195 --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 IV和TREAT对SUTW的效应都很显著,且有显著的交互效应。 2 双向方差分析 两因子(factors),每个因子可以有若干个水平 2.1 分层设计 共 个独立参数 Andrew Underwood (1993) manipulated the density of sea urchins (fixed treatment or factor) in th
文档评论(0)