Hello everyone,
This is my database.
Each org_uuid is matched with a specific investor_uuid. This are real matches.
Then each org_uuid has its own employee and each investor_uuid has its own partners.
Array
I want to build a counterfactual sample of all matches that did not happen. To do this I'm trying to mix the org_uuid and the investor_uuid, i.e, for the first org_uuid i want to match all the investor_uuid; then for the second org_uuid i want to match all the investor_uuid, and so on.
After that i want to rematch to each org_uuid, its employees and to each investors_uuid all its partners.
Each counterfactual march should be marked with 0, while each real match with 1, so that they can be recognised.
If anyone can help me, it would be really appreciated!
Thank you in advance!
Charlotte
Related Posts with How to mix the obs of two variables?
Interpretation of filelist codeThe procedure I am using works just fine. The problem is, I don't really understand it at all. Is an…
Issue reshaping panel data from wide to long: data for certain years are missingGreetings, I'm running Stata 15.1 on OSX and working with panel data. My variables were measured in…
How to accomplish Cross Classified Random Coefficient Model using StataStata-using friends, I have some troubles in handling the accomplishment of Cross Classified Random …
County, time-fixed effectsHello, I am currently using Stata for my senior thesis and had some questions about fixed-effects. …
Rolling Average with Gapss …
Subscribe to:
Post Comments (Atom)
0 Response to How to mix the obs of two variables?
Post a Comment