Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HLM_summary与model_summary的p值显著性标识不一致 #30

Open
manipulative opened this issue Jun 1, 2024 · 0 comments
Open

HLM_summary与model_summary的p值显著性标识不一致 #30

manipulative opened this issue Jun 1, 2024 · 0 comments

Comments

@manipulative
Copy link

包老师您好,
最近在使用model_summary对MLE模型进行总结时候,发现其输出的p值显著性(因为没法看到原始p值只能看到显著性)与lmer输出的结果和HLM_summary输出的结果不一致,请问这是正常现象吗?如果是的话model_summary与HLM_summary在估计p值时所使用的方法有哪些不同导致了这一现象呢?
还望您百忙之中抽空解答,谢谢!

以下是我所使用的代码与输出结果:

m2 = lmer(data = dt, y ~ x  + cov1 + cov2 + (1|sub_ID))
# 数据为试次嵌套被试数据,其中x是一个分组变量;sub_ID为每个被试的ID,其下嵌套若干trial;cov1与cov2为协变量

这是使用HLM_summary的output,可见无论是基于anova还是fixed effect的结果都是边缘显著结果:
image

这是使用model_summary的output,可见x的显著性从边缘显著变成了显著,但系数估计与HLM_summary相同:
image

此外,我也使用了lmer自带的summary函数,其输出结果与HLM_summary相同。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant