start.val: Get the starting points for your regression

Description Usage Arguments Value

View source: R/start_fn.R

Description

The maximum likelihood procedure needs a place to start. This runs traditional IV probit/linear regressions to get starting points.

Usage

1
2
## S3 method for class 'val'
start(formula, endog_reg, data, type)

Arguments

formula

the second stage linear regression (outcome ~ exogenous + endogenous)

endog_reg

a list of endogenous regressions. By default it will include all exogenous regressors and one instrument

data

your data, as a dataset

type

either "lognormal" or "cragg"

Value

returns a list of starting parameters for the coefficients and the covariance matrix


jackiemauro/hurdleIV documentation built on May 18, 2019, 7:56 a.m.