qis.EwmaAlphaBetaHacResult¶
- class qis.EwmaAlphaBetaHacResult(alpha, beta, r_squared, alpha_pvalue, alpha_hac_se, alpha_confidence_interval, parameter_covariance, weights, ewm_lambda, nobs, effective_nobs, hac_lags, confidence_level)[source]¶
Bases:
objectJoint EWMA-WLS alpha/beta estimates with Bartlett-HAC inference.
- Variables:
alpha (pandas.Series) – Weighted intercepts indexed by dependent-series name.
beta (pandas.Series) – Weighted slopes indexed by dependent-series name.
r_squared (pandas.Series) – Weighted coefficients of determination.
alpha_pvalue (pandas.Series) – Normal-reference two-sided p-values for the intercepts.
alpha_hac_se (pandas.Series) – Bartlett-HAC standard errors for the intercepts.
alpha_confidence_interval (pandas.DataFrame) – Intercept confidence bounds in
LowerandUppercolumns.parameter_covariance (pandas.DataFrame) – Joint HAC covariance with
(equation, parameter)axes.weights (pandas.Series) – Unnormalised EWMA objective weights aligned with the retained rows.
ewm_lambda (float) – Per-row EWMA decay, equal to
1 - 2 / (span + 1).nobs (int) – Number of rows retained in the common finite sample.
effective_nobs (float) – Kish effective sample size of
weights.hac_lags (int) – Actual Bartlett lag count used after the sample-length cap.
confidence_level (float) – Two-sided confidence level used for the intercept intervals.
- Parameters:
- __init__(alpha, beta, r_squared, alpha_pvalue, alpha_hac_se, alpha_confidence_interval, parameter_covariance, weights, ewm_lambda, nobs, effective_nobs, hac_lags, confidence_level)¶
- Parameters:
- Return type:
None
Methods
__init__(alpha, beta, r_squared, ...)Attributes