ncoef | R Documentation |
Returns the number of model's coefficients. This is the sum of demand, supply, price equation, and the variance-covariance matrix coefficients.
ncoef(object)
## S4 method for signature 'market_model'
ncoef(object)
## S4 method for signature 'market_fit'
ncoef(object)
object |
A model object. |
The number of model coefficients.
model <- new(
"diseq_basic", # model type
subject = ID, time = TREND, quantity = HS, price = RM,
demand = RM + TREND + W + CSHS + L1RM + L2RM + MONTH,
supply = RM + TREND + W + L1RM + MA6DSF + MA3DHF + MONTH,
fair_houses()
)
# get the number of model coefficients
ncoef(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.