cleverly.inference.influence_covariance#
- cleverly.inference.influence_covariance(influence_curves: ndarray[tuple[Any, ...], dtype[float64]], cluster: ndarray[tuple[Any, ...], dtype[int64]] | None = None) ndarray[tuple[Any, ...], dtype[float64]][source]#
Covariance matrix across several estimands’ influence curves.
Needed for the delta method on a function of estimands and for simultaneous confidence bands, both of which depend on how the estimands covary rather than only on their individual variances.