cregg icon indicating copy to clipboard operation
cregg copied to clipboard

Formally test for difference in effect sizes between attribute levels

Open maltebecker5 opened this issue 3 years ago • 0 comments

  • [ ] a possible bug
  • [x] 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()

maltebecker5 avatar Feb 03 '22 10:02 maltebecker5