I am running a tobit regression to model education expenditures (zero forsome households) and tried using margins, eydx(*) to obtain the elasticity estimates, but I got a r(459) error saying "could not calculate numerical derivatives -- discontinuous region with missing values encountered".
Could someone advise why this might be and how to resolve this?
Some details about the data I am using: my explanatory variables are mostly categorical variables, and the sample size is 300,000+ of which 240,000 are left censored.
Related Posts with Margins with tobit for elasticity estimates
Include N (counts) as bar labelsHi Stata users, I am interested in having N/counts in a graph apart from the current label (percent…
xtgee with fixed effectsHi everybody Is there a way to run xtgee with fixed effects? From this post (https://www.statalist.…
Creating a variable to express percentage change, but based on a the change from fixed points in time, not [n-1] for example.Hey, Using the help on other threads from Nick Cox I've been able to generate a variable that expre…
Heteroscedasticity and Synthetic Control Method (SCM)Dear all, My question: is there an alternative synthetic control method package to synth and synth_…
Bug in asreg?I believe there is a bug in the asreg function. When I run rolling window regressions on panel data …
Subscribe to:
Post Comments (Atom)
0 Response to Margins with tobit for elasticity estimates
Post a Comment