Help! I am trying to find a male match for each female observations. There are many more male than female observations. For each female observation, I need to find a male observation in the same year (fyear), with the same industry code (ff12), and with the closest value of the variable prob_female. The variable prob_female ranges from 0.0003325 to 0.1211022. What is the best command for this?
Thank you so much. I am new to this forum and a relatively new Stata user.
Related Posts with Matching female/male observations with closest values & limiting by year & industry
Stata drops category of factor variable in logistic RegressionDear stata users, I am currently trying to run a binary logistic regression on survey data (n=19.35…
Heat Plot Code: * Example generated by -dataex-. To install: ssc install dataex clear input str10 CODICE byte…
issues with nested logitDear forum, I'm an economics PhD student playing around with the new Discrete Choice features in St…
metan command errorHi, I am trying to run an ado file that uses metan command. The ado file was written in Stata 10.1. …
Predicting residuals by industry and yearHi, I am running the following model bys industry year: reg y x predict e, residuals Here, if I …
Subscribe to:
Post Comments (Atom)
0 Response to Matching female/male observations with closest values & limiting by year & industry
Post a Comment