runehaubo / lmerTestR

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

Perform one-tailed tests with lmerTest #42

Closed HaiyangJin closed 4 years ago

HaiyangJin commented 4 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 4 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.