Description Usage Arguments Value
View source: R/loss_function.R
Compute loss associated with a vector of structural parameters between some data and a transformation of structural parameters
1 2 3 4 5 6 7 8 9 10 |
theta |
Vector of structural parameters. Assuming a named vector. |
prediction_function |
Function that transforms θ into vector of moments. In Newey and MacFadden, denoted g(θ) |
weights |
Weight matrix W that should be used |
verbose |
Logical value indicating whether we want to print informative messages to monitor progress |
return_moment |
Logical value indicating whether we want to return moment matrix (observed, simulation, difference) |
moments_weights |
User-defined weights that should be applied to reweight moments importance. This is a user choice independent of using an optimal weight matrix |
moments_weighting_formula |
When relevent, how moment weighting should enter in the objective function |
... |
Additional arguments that should be used to control
|
A distance between empirical and simulated moments
estimation_theta for GMM estimation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.