Description Usage Arguments Value
It fits linear models with several endogeneous regressors using Gaussian Copula proposed by Park and Gupta (2012).
1 | copulaMethod2(y, X, P, intercept = NULL)
|
y |
a vector or matrix containing the dependent variable. |
X |
a data frame or matrix containing the regressors of the model, both exogeneous and endogeneous. The last column/s should contain the endogeneous variable/s. |
P |
a matrix containing the endogeneous variables. They should be continuous and non-normally distributed. |
Returns an object of class "lm".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.