Dear Statas,
I have 7 datasets of the same study with the same variable names but differing content of these variables.
My problem: For example, the first data set has 227 variables, the second one 323 variables and they are all named v1, v2, v3 etc. even though those stand for different things in each data set. And when I append them only the 96 variables that are more from the second data set are added. How can I manage to append the full data set? Do I maybe have to create categories (e.g. year) where I can add the certain variables?
Thank you for your help!
Related Posts with Appending data sets with the same variable names that have different content fails
Problem with sgmediation after using SEMHello everyone, I used SEM to construct 5 factors using 29 variables. After, I did some regressions…
Create a new variable with If -statementsHello Statalists, I ’am quite a beginner in Stata and statistics in general. I have a large data sa…
Overlapping holding period momentum strategyI'm working on a project where I want to investigate a momentum strategy of stock returns. I'm formi…
Tab the frequency of multiple variables with the same labelI'm sorry if this has been asked a thousand times, but I haven't found the answer by searching the f…
Adjusting for time-varying covariates in linear mixed modelsHi, I have a question about adjusting for time-varying covariates using multilevel linear mixed mod…
Subscribe to:
Post Comments (Atom)
0 Response to Appending data sets with the same variable names that have different content fails
Post a Comment