楼主: weixingzi
1498 0

[问答] 做GLMM模型时遇到多个嵌套的随机效应,该怎么处理呢? [推广有奖]

  • 0关注
  • 0粉丝

已卖:196份资源

大专生

70%

还不是VIP/贵宾

-

威望
0
论坛币
155 个
通用积分
1.8000
学术水平
4 点
热心指数
4 点
信用等级
4 点
经验
1820 点
帖子
18
精华
0
在线时间
85 小时
注册时间
2014-11-15
最后登录
2022-4-8

楼主
weixingzi 学生认证  发表于 2017-12-4 09:41:32 |AI写论文
1论坛币

Background: I have twoyears(Year) field survey data, each year surveyed three different fields(Site), each field we have three blocks (Repetition), and in each field each year threesamplings were carried out (Date). (a theoretical dataset in the attachment Table.xlsx (11.36 KB)


Question: I want to use GLMMmodel to investigate effects of explanatory variables on response variables. However,I am not sure how to deal with the random factor when fit the GLMM model.

If just use one of thethree samplings data for analysis, the formula be

GLMM.1< - glmer (Responsevariable ~ explanatory variable + (1|factor(Year)/factor(Site)), family=…,data=…)

There the Year and Repetition (nested withineach site and year) were included as random factors. Indicating that there is adependence on each year and, within each year, between the three repetitionstaken at each site.

But if I want to takethe three samplings data into analysis, what should I do and how can I writethe formula, and should consider about the correlations between dates whetheror not.


关键词:GLMM 怎么处理 随机效应 MM模型 correlations

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-2-8 03:22