Contents
What are post hoc adjustments?
Post hoc (Latin, meaning “after this”) means to analyze the results of your experimental data. They are often based on a familywise error rate; the probability of at least one Type I error in a set (family) of comparisons. The most common post hoc tests are: Bonferroni Procedure.
What are post hoc results?
A post hoc test is used only after we find a statistically significant result and need to determine where our differences truly came from. The term “post hoc” comes from the Latin for “after the event”. There are many different post hoc tests that have been developed, and most of them will give us similar answers.
What is a priori and post hoc?
A priori: A priori tests are comparisons that the experimenter clearly intended to test before collecting any data. Post hoc: Post hoc tests are comparisons the experimenter has decided to test after collecting the data, looking at the means, and noting which means “seem” different.
When to use Post Hoc comparisons in GLM?
In GLM Repeated Measures, these tests are not available if there are no between-subjects factors, and the post hoc multiple comparison tests are performed for the average across the levels of the within-subjects factors. For GLM Multivariate, the post hoc tests are performed for each dependent variable separately.
When to use a post hoc range test?
Post hoc multiple comparison tests. Once you have determined that differences exist among the means, post hoc range tests and pairwise multiple comparisons can determine which means differ. Comparisons are made on unadjusted values. These tests are used for fixed between-subjects factors only.
Which is the best post hoc summary function?
The summary function is not the best method to get post-hoc results. It is better to use something made for the task, like the emmeans package. The following is a toy example. It uses the glm.nb function from the MASS package. MASS::glm.nb is supported by emmeans. I don’t know if pscl::glm.nb would work as well.
Do You need A post-hoc test for the state factor?
For the state factor, state2, state3 and state4 are all statistically different than state1. so I need a post-hoc test between state2 state3 and state4, am I right? From what I see you are trying to use glm.nb which is a modification of the system function glm ().