I want to estimate a probit regression on a large dataset.
In particular, a 1 refers to a positive trade flow from country i to country j for a particular product. Any directed country-pair can export many products, i.e. a link = 1 if i exports to j this particular good. No 0's are recorded. For any given year in the data, this results in around 5 million observations.
I want to estimate the probability that a link is present given covariates: probit link x1 x2..., vce(cluster ...)
Creating all possible i-j-product combinations results in 228 million observations. Hence, I would like to estimate a probit on all observed 1's and create a random subsample of all 0's, estimate the probit, and then reweigh the coefficients to correct for the true number of 0's in the data. I can create and store the large dataset of 228 mln observations, but the server chokes on the probit. What would be the correct way to proceed?
Related Posts with Estimating probit on random subsample of zeroes
Output of 'ci proportions' depends on variable formatWhy does the result of 'ci proportions x' depend on the format of variable x? Very strange. Using ve…
svysetHello, I am working with the Population Assessment of Tobacco and Health data. It is a panel survey…
Case-crossover design and predictive performanceHi all, Thank you in advance for your comments and suggestions! We are conducting a case-crossover…
Testing significance of CAR in event studyDear Statalists, i have done an Event Study as described by Princeton DSS ( HTML Code: https://ds…
plot hazard ratio and confidence intervalsGood morning, I have a basic question. I'm starting with stata running a cox model xi:stcox i.terti…
Subscribe to:
Post Comments (Atom)
0 Response to Estimating probit on random subsample of zeroes
Post a Comment