coef {markets} | R Documentation |
Market fit coefficients
Description
Returns the coefficients of the fitted market model.
Usage
## S4 method for signature 'market_fit'
coef(object)
## S4 method for signature 'market_fit'
coefficients(object)
Arguments
object |
A fitted model object. |
Value
A named vector of estimated model coefficients.
Methods (by class)
-
coef(market_fit)
: Estimated coefficients. -
coefficients(market_fit)
: Estimated coefficients alias.
Examples
# estimate a model using the houses dataset
fit <- diseq_deterministic_adjustment(
HS | RM | ID | TREND ~
RM + TREND + W + CSHS + L1RM + L2RM + MONTH |
RM + TREND + W + L1RM + MA6DSF + MA3DHF + MONTH,
fair_houses(),
correlated_shocks = FALSE,
estimation_options = list(control = list(maxit = 1e+6))
)
# access the estimated coefficients
coef(fit)
coefficients(fit)
[Package markets version 1.1.5 Index]