Hi All,
I have some data from an RCT and wanted to run the a tobit model that looks at the determinants of value of some products based on the industry/ sector the firm is in. However when I run the command in STATA 16
I get the error <<convergence not achieved>>. But the tobit runs just fine when I run the exact command after changing to version 13. Is there any changes in the way different versions of stata executes a tobit model? Initially I followed some earlier posts on STATA list and ran a probit to check for perfect prediction and it did not seem to be the case. I have included some of the variables using -dataex-
Thank you
I have some data from an RCT and wanted to run the a tobit model that looks at the determinants of value of some products based on the industry/ sector the firm is in. However when I run the command in STATA 16
Code:
tobit yvar sector `varlist' if surveytime == 0, ll
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input long yvar byte ran_sector double profit_margin 0 3 20 0 3 0 . 3 . 0 3 10 0 3 8 . 3 . 250000 3 7 500000 3 3 . 3 . 2000000 3 10 3000000 3 5 . 3 . 800000 3 0 0 3 50 . 3 . 150000 1 25 150000 1 25 . 1 . 0 2 20 0 2 30 . 2 . 0 3 25 0 3 25 . 3 . 130000 3 25 400000 3 11 . 3 . 50000 1 30 80000 1 30 . 1 . 200000 3 30 120000 3 60 . 3 . 0 3 20 0 3 40 . 3 . 300000 1 40 1000000 1 40 . 1 . 150000 1 50 100000 1 30 . 1 . 170000 2 40 0 2 40 . 2 . 34000 2 30 0 2 25 . 2 . 0 2 20 0 2 3 . 2 . 0 3 . 0 3 10 . 3 . . 3 . 40000 3 . . 3 . 300000 1 20 300000 1 15 . 1 . 0 2 17 0 2 20 . 2 . 60000 2 40 0 2 25 . 2 . 0 3 50 0 3 60 . 3 . 0 3 25 0 3 20 . 3 . 0 2 30 0 2 20 . 2 . 30000 3 20 20000 3 15 . 3 . 0 3 10 0 3 10 . 3 . 0 2 20 0 2 10 . 2 . 256000 3 18 0 3 20 . 3 . 0 2 100 . 2 . . 2 . 0 3 50 5600000 3 10 . 3 . 5450000 1 5 35000000 1 0 . 1 . 20000 3 15 . 3 . . 3 . 0 3 0 end label values yvar dk_refuse label values profit_margin dk_refuse
Thank you
Comment