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 onn_bootresidual-bootstrap samples.
- Returns:
pandas.DataFrameOne row per parameter: value, standard error, lower and upper bound.