merge variables

  1. M

    Need help merging two files with multi-level data

    Need Help Merging Two Files Into One Hi all, I am wondering what is the best way to approach to combine two data sets into one (if possible) OR how to run an analysis using the two. Here is my situation: 1st Data Set: has 400,000+ cases of projects. There are around 30 variables...
  2. D

    Merging three files, building panel data and regression

    I'm not a complete newbie in Stata, but I think I'm probably newbie by the standards of the forum, I think. The thing is, I'm trying to build a panel data and test a difference-in-differences model with fixed effects, but I'm having trouble with the merging of the files that I have. I have...
  3. L

    How to cross merge several variables in panel data

    I have a panel dataset for 5 years (firm-year). For each year, I standardized the variable X and got the z-scores of all the firms for that year. This creates 5 new variables X1-X5. For example, the values of X1 of a firm will be non-missing in year 1, and missing in other years. Now I want to...