Skip to content

Investigate the usefulness of GLM standard errors #16

Description

@DBecker7

See this StackOverflow question, in particular the answer by atiretoo which computes the SE in R. A more detailed description of these standard errors can be found here. This is for a binomial GLM with no constraints, which of course is not the case for our model.

  • Are the standard errors similar to the estimates we get from bootstrapping?
    • If so, this reduces the need for bootstrapping.
  • Is the sampling distribution actually normal on the link scale?
    • I suspect not, since the parameters are constrained to sum-to-less-than-one on the response scale.

Steps to investigate:

  1. Simulate a bunch of data and manually estimate the sampling distribution.
    • Do this for a couple different variants - some with a lot of shared mutations (highly multicollinear) and some with only a few.
  2. Calculate the SE from $(X^TWX)^{-1}$ for a single model, compare to manual SE.
  3. Calculate SE from bootstrapping for a single model, compare to manual SE.

This analysis could be a vignette to demonstrate just how important it is to properly specify the variants.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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