runehaubo / lmerTestR

Repository for the R-package lmerTest
48 stars 9 forks source link

Perform one-tailed tests with lmerTest #42

Closed HaiyangJin closed 3 years ago

HaiyangJin commented 3 years ago

Dear authors,

I wonder if there is a way to perform one-tailed tests with lmerTest? I cannot find a solution by checking the help files.

Thanks in advance, Haiyang

runehaubo commented 3 years ago

I suppose you would do it in the same way that you would do it with the results of lm or glm, say. That is, I don't see that your question is special to lmerTest. However, since the summary function returns t-values and the df for all coefficients, you can compute the p-value of any hypothesis you are most interested in yourself.