Learn R Programming

ivprobit (version 1.1)

ivprobit: Instrumental Variables Probit function

Description

Instrumental Variables Probit function

Usage

ivprobit(formula, data)

Arguments

formula

y~x|y1|x2 whre y is the dichotomous l.h.s.,x is the r.h.s. exogenous variables, y1 is the r.h.s. endogenous variables and x2 is the complete set of instruments

data

the dataframe

Examples

Run this code
# NOT RUN {
############################################
# Fit the ivprobit model
############################################
# Load data
data(eco)
############################################
pro<-ivprobit(d2~ltass+roe+div|eqrat+bonus|ltass+roe+div+gap+cfa,eco)
summary(pro)

# }

Run the code above in your browser using DataLab