Description Usage Arguments Details Value
View source: R/apollo_deltaMethod.R
Applies the delta method to calculate the standard errors of transformations of parameters. If the bootstrap covariance matrix is available, it is used. If not, the robust covariance matrix is used.
1 | apollo_deltaMethod(model, deltaMethod_settings)
|
model |
Model object. Estimated model object as returned by function apollo_estimate. |
deltaMethod_settings |
List of arguments. It must contain the following.
|
apollo_deltaMethod
supports the following five operations.
Calculates the s.e. of parName1
+ parName2
Calculates the s.e. of parName1
- parName2
and parName2
- parName1
Calculates the s.e. of parName1
*parName2
Calculates the s.e. of parName1
/parName2
and parName2
/parName1
Calculates the s.e. of exp(parName1)
If only parName1
is provided, it calculates the s.e. of
exp(parName1)/(1+exp(parName1))
and 1/(1+exp(parName1))
.
If parName1
and parName2
are provided, it calculates
exp(par_i)/(1+exp(parName1)+exp(parName2))
for i=1, 2, and 3 (par_3 = 1).
Calculates the mean and s.d. of a lognormal distribution based on the mean (parName1
) and s.d. (parName2
) of the underlying normal.
Matrix contating calue, s.e. and t-ratio resulting from the operation. This is also printed to screen.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.