Hello Statalists,
I have a question about data merging.
I am merging two data sets together ("master" has tens of variables, and "using" has 8 variables). After merging, one variable from "using" has changed from %10.0g to %9.0g, and a lot of values are missing or changed (no issue for other variables, which are all %10.0g). May I ask what's the reason and how to fix it?
Thanks a lot,
Chenli
Related Posts with Variable type change after merging
calculation odd ratio for interaction terms using LincomI am doing logistic regression to look at several predictors for a certain outcome. I checked the in…
Renaming each variable label as a substring of old labelI have a set of variables v1 through v154 that I want to relabel by excluding the first 16 character…
Reshape wide with missing observationsHello, I am trying to reshape wide the dataset below. Basically i would like the months (January th…
Can I define the cell contents of a table (or matrix)?New here, new to Stata (v17) I'm trying to create a table to later be exported to Excel. I would li…
How to standardize Stata variables format before using -append- ?I have around 40 files that I would like to append together. However, two variables named a12 and a1…
Subscribe to:
Post Comments (Atom)
0 Response to Variable type change after merging
Post a Comment