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
Reshaping data - variables to observationsI have a number of variables which I would like to convert into observations. The data is structured…
Reshaping data with multiple observations per participantHi all! This is my first post here, and I am a complete Stata beginner, so please be patient. I have…
Editing individual markers in graph dotHello list readers. I'm constructing a dot chart in Stata using the graph dot command. I'd like to …
Using asdoc to report margins in nested tablesI am able to export my probit estimation results to MS Word in a nested table using asdoc, however, …
do loop in stataHi Friend, I have a dataset with 40 variables. I need to create a new variable which added a suffix…
Subscribe to:
Post Comments (Atom)
0 Response to Matching female/male observations with closest values & limiting by year & industry
Post a Comment