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

Start stepwise dModel selection from baseline model #2

Open
DavorJ opened this issue Oct 9, 2019 · 0 comments
Open

Start stepwise dModel selection from baseline model #2

DavorJ opened this issue Oct 9, 2019 · 0 comments

Comments

@DavorJ
Copy link

DavorJ commented Oct 9, 2019

It seems the current implementation of gRim::stepwise.iModel() only supports starting model-selection from a full main effects model gRim::dmod(~.^1, data = data) if one wants to include all the variables in the selection procedure.

Is there any theoretical reason for this? In other words, couldn't we just as well start from log p(i) = mu and let AIC do the variable selection?

Reason I ask is that starting from a full main effects model limits model selection to low dimensional contingency tables. (e.g. table() will not work on data.frames with more than 31 binary columns since the amount of cells explodes to 2^31.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant