Hi, I'm trying to use the command goprobit and I'm facing two problems for which I would appreciate some help:
The first is that when I do
I receive factor-variable and time-series operators not allowed. I think this is because the command was written before Stata started to support factor variable notation. As I won't rewrite the command I guess the only (or at least the best) option I have is to create dummy variables for "quarter_year" and "country_code". Is that correct? The problem ls that "country_code" has around 200 different values. Moreover, I may need to include variables with millions of different values. What would be the best way of approaching this?
Second, if I run
it takes just a couple of seconds to show the output (I have 400 obs) while if I run
it keeps running for ages. I started to write this message an hour ago, while I ran the command and it still didn't output any result. Any thoughts about this?
Thanks a lot!
The first is that when I do
Code:
goprobit score i.quarter_year i.country_code
Second, if I run
Code:
oprobit score nights if country_code == 4
Code:
goprobit score nights if country_code == 4
Thanks a lot!
Comment