2
$\begingroup$

Stata has the very useful command ivprobit. For example:

use http://www.stata-press.com/data/r11/laborsup.dta
ivprobit fem_work fem_educ kids (other_inc = male_educ)

Is there a package for doing this in R?

$\endgroup$

closed as off-topic by gung - Reinstate Monica Apr 14 at 14:17

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question appears to be off-topic because EITHER it is not about statistics, machine learning, data analysis, data mining, or data visualization, OR it focuses on programming, debugging, or performing routine operations within a statistical computing platform. If the latter, you could try the support links we maintain." – gung - Reinstate Monica
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ If you Google it, you will find some nice tutorials like this. $\endgroup$ – Epaminondas May 6 '14 at 19:39
  • $\begingroup$ That link is for probit, I need IV Probit $\endgroup$ – Ignacio May 6 '14 at 19:44
  • $\begingroup$ You are right. My apologies... $\endgroup$ – Epaminondas May 6 '14 at 19:48
3
$\begingroup$

There is a package ivprobit for R, which does the same: http://cran.r-project.org/web/packages/ivprobit/index.html

library(ivprobit)
#load data
dat<-system.file("data","eco.RData",package="ivprobit")
load(dat)
pro<-ivprobit(d2~ltass+roe+div,cbind(eqrat,bonus)~ltass+roe+div+gap+cfa,mydata)
summary(pro)
$\endgroup$
1
$\begingroup$

There is the SemiParBIVProbit package which allows you to model fit continuous variables flexibly, but is simple to use without that functionality.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.