rvlenth/emmeans

Statistical test used to calculate p-values for Poisson regression

gevro opened this issue · 5 comments

Hi,
I wanted to clarify - what is the correct terminology to describe the statistical test that calculates a p-value for a specific predictor variable in a Poisson regression.

i.e. emmeans(~glm(formula = ...), family=poisson) %>% pairs -> produces p-values. What is the statistical test used to calculate these?

Thanks

I don't know how to answer this. People in different fields call it different things. For GLMs you typically obtain a z ratio of the observed difference divided by its asymptotic standard error. It is used to test a null hypothesis that the true difference of means is zero versus a two-sided alternative. And by default with comparisons, a Tukey adjustment is applied to the P values, which are thus right-tail areas of the Studentized Range distribution.

If you need more clarification , I suggest posting a question on CrossValidated

Thank you!

Ok I posted it on CrossValidated, because I also wanted to confirm the default for 'pairs' is a two-sided test.

The documentation for summary.emmGrid has a lot of details, including that.

Thanks, but I don't see a default value for 'side' mentioned in that documentation, I just read through it. Maybe I'm missing it somewhere?