pseudo_data: Title Pseudo data generation for the Least Square...

Description Usage Arguments Value Examples

View source: R/HeckmanSelect.R

Description

Title Pseudo data generation for the Least Square Approximation Method

Usage

1
pseudo_data(selection, outcome, data, Model = c("Normal", "AMH"))

Arguments

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

Value

xstar: a square matrix containing all the predictors along with the correlation and the intercepts

ystar: corresponding pseudo response

Examples

1
pseudo_data(selection, outcome,data=data, Model="AMH")

EOgundimu300/HeckmanSelect documentation built on Feb. 5, 2022, 2:48 a.m.