Formally test for difference in effect sizes between attribute levels
maltebecker5 opened this issue · 0 comments
maltebecker5 commented
- a possible bug
- a question about package functionality
- a suggested code or documentation change, improvement to the code, or feature request
Dear Thomas,
I have a question about how to formally test whether estimates for two attribute levels within one dimension are significantly different from each other. E.g., in the example below, is the estimated effect for a person from Iraq significantly different from the effect size for a person coming from China?
Thank you!
## load package
library("cregg")
## code goes here
data("immigration")
# estimating AMCEs with constraints
x <- amce(immigration, ChosenImmigrant ~ Gender + ReasonForApplication * CountryOfOrigin,
id = ~CaseID)
plot(x)
## session info for your system
sessionInfo()