Skip to content

Formally test for difference in effect sizes between attribute levels #42

@maltebecker5

Description

@maltebecker5
  • 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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions