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
Help with basic data managementDear all in Statalist, I need general codes for management of my data that can be used for other st…
Propensity score matching/weighting - panel dataHi everyone! Because I am lacking parallel trends, I have decided to study the effect of X on Y usi…
how to get the coefficient of interation term after regression Code: xtset area_id year xtreg y i.dummy##c.GDP income xoijj i,year, fe r After running this r…
Dynamic number of ticks with valuelabels in twoway graph?I have to update this figure each month and I then have to manually change 1(1)19 to 1(1)20 ond so o…
Count frequency of namesDear All, Suppose that I have this dataset, Code: * Example generated by -dataex-. To install: ssc…
Subscribe to:
Post Comments (Atom)
0 Response to Estimating probit on random subsample of zeroes
Post a Comment