You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of af761b5, there are now fisher and standard_error S3 methods to compute a variational approximation of the Fisher information matrix and the corresponding standard errors for the model parameters.
Additional (empirical) work is needed to ensure that the corresponding tests / confidence intervals have proper Type I error / coverage
Fisher returns I(\theta) and for iid data, we usually have I_n(\theta) = n*I(\theta)
As a result, it must be multiplied by n before it is reversed (or divided by n). by n after inverting it) to have the asymptotic variance of \hat{\theta}. If you just reverse, you'll have the variance of \sqrt{n}
\hat{\theta}.
But if you just want to make univariate confidence intervals, you can use standard_error which directly returns the standard deviation of each of the coefficients of \theta. The function multiplies fisher by n, Conversely, retrieves the diagonal and reorganizes it into a matrix of
so that standard_error(myPLN)[i, j] returns the standard deviation of the estimator from coefficients(myPLN)[i, j]
Since version 1.0.0, variance estimation can be made for PLNfit either with jackknife or bootstrap. The variational approximation being too rough, we suppressed the direct interface to variational-based Fisher information matrix for estimating the variance (and the standard error).
Implement score test score and/or Wald test to test significance of model parameters. Stick with univariate tests for the time being.
The text was updated successfully, but these errors were encountered: