Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add examples for partitioning constrained designs #16

Closed
leeper opened this issue Feb 16, 2019 · 1 comment
Closed

Add examples for partitioning constrained designs #16

leeper opened this issue Feb 16, 2019 · 1 comment

Comments

@leeper
Copy link
Owner

@leeper leeper commented Feb 16, 2019

Please specify whether your issue is about:

  • a possible bug
  • a question about package functionality
  • a suggested code or documentation change, improvement to the code, or feature request

When designs are constrained, AMCEs for the constrained features are only defined over subsets of the other features against which they are constrained. It would be nice to have an example (e.g., using the immigration dataset) that shows how to clearly partition based on the constraints.

@leeper
Copy link
Owner Author

@leeper leeper commented Mar 2, 2019

For example, note how MMs are undefined for Job categories when Education is subset:

data("immigration")
f1 <- ChosenImmigrant ~ Gender + Education + Job + LanguageSkills + CountryOfOrigin + ReasonForApplication + JobExperience + JobPlans + PriorEntry
cj(subset(immigration, Education %in% c("No Formal", "4th Grade", "8th Grade", "High School")), f1, id = ~ CaseID, estimate = "mm")

and vice versa:

cj(subset(immigration, Job %in% c("Financial Analyst", "Computer Programmer", "Research Scientist", "Doctor")), f1, id = ~ CaseID, estimate = "mm")

We should also add equivalent AMCE examples and plotting approaches.

@leeper leeper closed this in c99c505 May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.