Hi,
I'm trying to append some 35 data sets, one for each state. I used a loop to append them and saved as a new file. These data sets have identical variable names. However, a problem I have faced earlier in another data is despite variable names being same, and the question being same, the the original value labels were not identical across the multiple data sets. Thus an append without checking the individual labels had left me with nonsensical value labels in the appended data.
Now due to this large no. of data sets and large no. of variables, I can't manually check if the labels are in order and was wondering if there could be a loop which would solve this. I would like to do this check before I append the data sets.
Thanks
Related Posts with How to check if value labels are consistently defined across multiple data sets using a loop?
add different suffixes to 1500+ variable names using foreachDear all, I have been trying to add different suffixes (numbers) to a set of variables named v1, v2…
Multilevel ModelsHi; I am runing runing linear model with four levels. I have not been able to find out what the mean…
posterior means for crossed random effects from logistic random intercept modeldear statalist members, I am trying to estimate the posterior means of two crossed random effects f…
Highly Left Skewed variableHello, I wanted to run a panel logistic regression with dependent variable Y (0, 1) and an explanat…
Identifying the newly employed receptionist and the waitresses who joined the enterprise after the new receptionist assumed officeHi, I have the follwoing sample: Code: ssc install dataex clear input int year str6 staff_id str5 h…
Subscribe to:
Post Comments (Atom)
0 Response to How to check if value labels are consistently defined across multiple data sets using a loop?
Post a Comment