-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
estimate_contrasts , p-value and 95% CI do not agree #228
Comments
Can you provide a reproducible example? |
Thank you for taking a look. I have added the dataset that the model was fit on and code that produces the result. Note that the level and scale labels are different in this dataset, but the result is the same.
|
I have not taken a close look at your specific case and forgive me if I'm wrong, but I find it likely that the issue here is a result of having different multiplicity adjustments for the p-value/test on one hand and for the confidence interval on the other hand. As far as I know,
There is also a relevant answer from Russ Lenth on StackExchange. |
If I understand correctly, the 95% CI and p-values are calculated using different approaches. The results from calling Thank you for the insight. |
I fit a linear mixed-effects model using lmer from lme4 with the formula:
Response ~ Age + Gender + tOrder + Condition * Scale + (1|Participant)
The last row is what has me confused. I am unclear as to why the p value can be less than .05 while the 95% confidence interval includes 0. I would think that the 95% CI and the p-value should agree.
The result in the first row has a larger difference and t value, 95%CI closer to --- but still including --- 0, but has a p value > 0.05.
What might explain this apparent discrepancy between the reported p-value and 95% CI?
Or if I am misunderstanding something, could someone kindly explain why this result is correct?
Thank you in advance.
The text was updated successfully, but these errors were encountered: