linearmodels.iv.results.OLSResults¶
- class OLSResults(results, model)[source]¶
Results from OLS model estimation
- Parameters:
- Attributes:
cov
Estimated covariance of parameters
cov_config
Parameter values from covariance estimator
cov_estimator
Type of covariance estimator used to compute covariance
cov_type
Covariance estimator used
debiased
Flag indicating whether covariance uses a small-sample adjustment
df_model
Model degree of freedom
df_resid
Residual degree of freedom
f_statistic
Model F-statistic
fitted_values
Fitted values
has_constant
Flag indicating the model includes a constant or equivalent
idiosyncratic
Idiosyncratic error
kappa
k-class estimator value
method
Method used to estimate model parameters
model_ss
Residual sum of squares
nobs
Number of observations
params
Estimated parameters
pvalues
Parameter p-vals.
resid_ss
Residual sum of squares
resids
Estimated residuals
rsquared
Coefficient of determination (R**2)
rsquared_adj
Sample-size adjusted coefficient of determination (R**2)
s2
Residual variance estimator
std_errors
Estimated parameter standard errors
summary
Model estimation summary.
total_ss
Total sum of squares
tstats
Parameter t-statistics
wresids
Weighted estimated residuals
Methods
conf_int
([level])Confidence interval construction
predict
([exog, endog, data, fitted, ...])In- and out-of-sample predictions
wald_test
([restriction, value, formula])Test linear equality constraints using a Wald test
Properties
Estimated covariance of parameters
Parameter values from covariance estimator
Type of covariance estimator used to compute covariance
Covariance estimator used
Flag indicating whether covariance uses a small-sample adjustment
Model degree of freedom
Residual degree of freedom
Model F-statistic
Fitted values
Flag indicating the model includes a constant or equivalent
Idiosyncratic error
k-class estimator value
Method used to estimate model parameters
Residual sum of squares
Number of observations
Estimated parameters
Parameter p-vals.
Residual sum of squares
Estimated residuals
Coefficient of determination (R**2)
Sample-size adjusted coefficient of determination (R**2)
Residual variance estimator
Estimated parameter standard errors
Model estimation summary.
Total sum of squares
Parameter t-statistics
Weighted estimated residuals