logLik.market_fit | R Documentation |
Specializes the logLik
function for the market models
of the package estimated with full information minimum likelihood. It
returns NULL
for the equilibrium model estimated with two stage
least squares (method = "2SLS"
).
## S3 method for class 'market_fit'
logLik(object, ...)
## S4 method for signature 'market_fit'
logLik(object, ...)
object |
A fitted model object. |
... |
Additional arguments. Unused. |
A logLik
object.
# 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))
)
# get the log likelihood object
logLik(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.