IQSS / Zelig

A statistical framework that serves as a common interface to a large range of models
http://zeligproject.org
110 stars 43 forks source link

Robust/Cluster in Tobit appear not to work #317

Open christophergandrud opened 7 years ago

christophergandrud commented 7 years ago
library(Zelig)
data(tobin)

# Create "clustering" variable
tobin$cl <- sample(x = 1:4, size = nrow(tobin), replace = TRUE)

# Estimate
z.out <- zelig(durable ~ age + quant, model = "tobit", data = tobin, 
                cluster = "cl", robust = TRUE)

## Error in survreg.control(...) : unused argument (cluster = "cl")