lisa_noise.utils

Functions

compute_fisher(log_likelihood_fn, x_mle) → numpy.ndarray

Fisher information I(θ) = -∂²ℓ/∂θ² at the MLE. Inverse gives Laplace covariance.

Module Contents

lisa_noise.utils.compute_fisher(log_likelihood_fn: Callable, x_mle: numpy.ndarray) → numpy.ndarray

Fisher information I(θ) = -∂²ℓ/∂θ² at the MLE. Inverse gives Laplace covariance. :param log_likelihood_fn: A function that takes a parameter vector and returns the log-likelihood. :type log_likelihood_fn: Callable :param x_mle: The parameter vector at which to compute the Fisher information (e.g., the MLE). :type x_mle: np.ndarray

Returns:

The Fisher information matrix evaluated at x_mle.

Return type:

jnp.ndarray