make.cov: Helper function to make covariance matrix

Description Usage Arguments Value

View source: R/make_cov_baby.R

Description

Specify elements of the covariance matrix and it organizes them for you

Usage

1
make.cov(rho, tau0, tau1, y_sd, endog_sd)

Arguments

rho

covariance between second stage regressions

tau0

covariance between second stage probit and first stage regression

tau1

covariance between second stage linear and first stage regression

y_sd

second stage linear regression standard deviation

endog_sd

first stage linear regression standard deviation

Value

returns a covariancne matrix


jackiemauro/hurdleIV documentation built on April 2, 2018, 8:28 p.m.