Simulate parameters of a tobit model
[This article was first published on Yu-Sung Su's Blog
, and kindly contributed to R-bloggers
]. (You can report issue about the content on this page here
Want to share your content on R-bloggers? click here
if you have a blog, or here
if you don't.
I got an email, asking me if our arm package can simulate tobit model to get simulated parameters. Indeed, arm does not suport tobit model. It only support sim() for lm, glm and mer classes in R. But it is not difficult to get a tobit verison of sim(). Here are the steps:1. fit a tobit (or double tobit) mode.library(AER)M1 <- tobit(y ~x) 2. get the coefficient vector.beta <- coef(M1) 3.
If you got this far, why not subscribe for updates
from the site? Choose your flavor: e-mail
, or facebook