eqdisco.analysis.confidence_intervals#

eqdisco.analysis.confidence_intervals(equation, X, y, alpha=0.05, method='wald', n_boot=200, random_state=0)[source]#

Confidence intervals of the parameters.

Parameters:
method{“wald”, “profile”, “bootstrap”}
  • wald – \(\hat\theta_j\pm t_{1-\alpha/2,N-p}\,\mathrm{se}_j\);

  • profile – the set of values of \(\theta_j\) for which the residual sum of squares, re-minimized over the other parameters, stays below \(S(\hat{\boldsymbol\theta})\,(1+F_{1,N-p;1-\alpha}/(N-p))\);

  • bootstrap – percentile intervals of the parameters refitted on n_boot residual-bootstrap samples.

Returns:
pandas.DataFrame

One row per parameter: value, standard error, lower and upper bound.

Examples using eqdisco.analysis.confidence_intervals#

Validation and uncertainty of a discovered law

Validation and uncertainty of a discovered law