Skip to content

CMHtest throws an uncatchable "Error in solve.default(AVA)" #3

@bill-raynor

Description

@bill-raynor

For large sparse table (many strata) CMHTest will occasionally throw a Error in solve.default(AVA) Not surprising when I inspect the sub-tables as there are lots of zeros. However, I am unable to catch it with a tryCatch wrapped around the CMHtest call. Are there any downsides to replacing the solve call with a call to MASS::ginv as I would normally do for a linear model? (aside from speed issues)

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