Skip to content

Using mle2 with clustered data #28

@mclements

Description

@mclements

Ben,

How difficult would it be to adapt an mle2 object for clustered data using a sandwich estimator?

In rstpm2, I currently replace the vcov slot with a sandwich estimator, but this feels like a hack. It certainly gives the wrong estimate for confint.

Would you be able to give some guidance for where I should start with confint (and other functions that depend on the profile likelihood), please?

Sincerely, Mark.

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