Description Usage Arguments Value
In these regressions, we need to transform the covariance matrix using the coefficients in our regressions. This function produces that covariance matrix.
1 | make.covTrans(a, num_endog, gamma, beta, option = "mat", noname = F)
|
a |
can be a matrix or vector of what should be included in the covariance matrix |
num_endog |
the number of endogenous regressors |
gamma |
a vector of your second stage probit regression parameters |
beta |
a vector of your second stage linear regression parameters |
option |
either "mat" if a is a matrix, "vector" if a is all the elements of the matrix but in vector form or "parameters" in which case a should be a list of the important parameters: a = list(rho,tau0,tau1,y_sd,endog_sd) |
returns the covariance matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.