pzivich / Delicatessen

Delicatessen: the Python one-stop sandwich (variance) shop 🥪
https://deli.readthedocs.io/en/latest/index.html
MIT License
22 stars 2 forks source link

Compute covariance without calling `MEstimator` #43

Closed pzivich closed 5 months ago

pzivich commented 6 months ago

Is your feature request related to a problem? Please describe.

A nice addition would be to allow for computation of the covariance matrix given an estimating equation and the parameters. Essentially, go around the root-finding procedure and just use delicatessen to compute the variance.

Describe the solution you'd like

A separate function that just computes the covariance given an input estimating equation and theta values.

Describe alternatives you've considered

Run the root-finding procedure. But this is not ideal for running M-estimators within M-estimators.

Additional context

None

pzivich commented 5 months ago

Completed with 2.2