IQSS / Zelig

A statistical framework that serves as a common interface to a large range of models

Home Page:http://zeligproject.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Robust/Cluster in Tobit appear not to work

christophergandrud opened this issue · comments

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")