Skip to content

Start stepwise dModel selection from baseline model #2

@DavorJ

Description

@DavorJ

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.)

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