Description Usage Arguments Value Examples
View source: R/HeckmanSelect.R
Title Pseudo data generation for the Least Square Approximation Method
1 | pseudo_data(selection, outcome, data, Model = c("Normal", "AMH"))
|
selection |
selection equation |
outcome |
outcome equation |
data |
data data matrix containing both the outcome and selection variables |
Model |
can either be Normal error of AMH (Ali-Mikhail-Haq) copula function |
xstar: a square matrix containing all the predictors along with the correlation and the intercepts
ystar: corresponding pseudo response
1 | pseudo_data(selection, outcome,data=data, Model="AMH")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.