Skip to content

New Type of term: NestedTerm #268

Open
@PharmCat

Description

@PharmCat

Like it is done in popular software, I think it is important to have the ability to declare nested factors. The main difference with InteractionTerm is that not all combinations will be represented in the model, but only existed. Then it will be possible to get the real number of levels in each group. Also it will be possible to calculate the correct lsmeans.

For example, if you have models y~sequence + subject and y~sequence + subject(sequence) your lsmeans will not be correct in the first case if the factor subject and sequence is really nested.

https://www.ibm.com/docs/en/spss-statistics/29.0.0?topic=effects-build-nested-terms

https://stats.oarc.ucla.edu/sas/examples/da4/design-and-analysis-fourth-edition-by-keppel-and-wickenschapter-25-nested-factors/

https://support.minitab.com/en-us/minitab/20/help-and-how-to/statistical-modeling/anova/supporting-topics/anova-models/what-are-crossed-and-nested-factors/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions