Hello Stata Community,
I am seeking assistance with an issue in Stata while running a Random Effects Tobit model using the xttobit command.
The issue arises specifically when I include the lower limit option ll(0).
The context involves analyzing a dataset of 4.8 million observations on user tipping decisions, where the vast majority ( show no tipping, and a small fraction (8000 observations) show positive tipping amounts.
This is the summary statistics of my DV

When I run the following command:
I encounter the error:
However, all the following codes work fine:
Standard Tobit model without random effects works:
Moreover, a Tobit random effects regression without specifying ll(0) also doesn't execute:
Though, using a subset of my panel where my total observation is 740K, a Tobit RE regression without the ll(0) option runs successfully.
I also tried a linear random effects regression and it executes without errors:
The issue seems to be specific to using ll(0) with the xttobit command. Could someone provide insights into why this specific error occurs with xttobit when including the ll(0) option, and suggest any potential solutions or workarounds?
I also attached a screenshot of the code and the error below:
I really appreciate your help.
Thanks,
Mahsa
I am seeking assistance with an issue in Stata while running a Random Effects Tobit model using the xttobit command.
The issue arises specifically when I include the lower limit option ll(0).
The context involves analyzing a dataset of 4.8 million observations on user tipping decisions, where the vast majority ( show no tipping, and a small fraction (8000 observations) show positive tipping amounts.
This is the summary statistics of my DV
When I run the following command:
HTML Code:
xttobit dv x1 x2, ll(0)
HTML Code:
"cannot compute an improvement -- discontinuous region encountered, r(430)."
However, all the following codes work fine:
Standard Tobit model without random effects works:
HTML Code:
tobit dv x1 x2, ll(0) vce(cluster user)
HTML Code:
xttobit dv x1 x2 This is the error: initial values not feasible r(1400);
HTML Code:
xttobit dv x1 x2
HTML Code:
xtreg dv x1 x2, re
The issue seems to be specific to using ll(0) with the xttobit command. Could someone provide insights into why this specific error occurs with xttobit when including the ll(0) option, and suggest any potential solutions or workarounds?
I also attached a screenshot of the code and the error below:
I really appreciate your help.
Thanks,
Mahsa
Comment