coef: Estimated coefficients of a fitted market model.

coef,market_fit-methodR Documentation

Estimated coefficients of a fitted market model.

Description

Returns the coefficients of the fitted model.

Usage

## S4 method for signature 'market_fit'
coef(object)

Arguments

object

A fitted model object.

Value

A vector of estimated model coefficients.

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)


diseq documentation built on June 2, 2022, 1:10 a.m.