I am investigating how certain factors affect hedging. For this I used xttobit. Now my exogenous variable "HEDGING" consists of a total of 450 observations and 50 of them are empty. I thought if I set xttobit's left censoring to zero, it works. But that doesn't work, stata says I have over 200 left censored observations (he also takes all zeros with him). How can I set the censoring so that it doesn't look at the empty lines?
My idea was to enter a -2 anywhere where it is empty and then enter -1 for the link censoring. This works, but I think the estimate is biased.
I hope you can help me,
many greetings,
Patrick
Related Posts with xttobit with no observation
Hausman test issues in panel dataHi all, i am sonia kaur. I am using stata 15.1 version at tbe moment. I joined this forum recently a…
Mixed effects model identificationThis isn’t necessarily a Stata specific question, but one that seems like it would still be relevant…
Use e(sample) on imputed datasetDear Statalist, I'm doing Cox regression with a categorical variable. To obtain the count within e…
Saving margins estimates as a new variableHi Statalisters, Is it possible to save margins estimates as a new variable? In the example below, I…
How do I keep only the matched observation after data set merge (STATA 15)Hi, I used the one to many formula to merge two data sets. Once done, how can I keep only the match…
Subscribe to:
Post Comments (Atom)
0 Response to xttobit with no observation
Post a Comment