Is there a situation where Stata creates new observations when you merge? I ran a model on a master dataset and was able to replicate a published model. Then when I merged data into the master dataset and ran the same model, the N increases by 13 observations. I tested this out by creating an indicator variable for all observations that made it into the sample when I ran the initial model. And when I merge the datasets, there are 13 new observations for this indicator variable. Any thoughts?
Related Posts with Does Stata create observations when merging
crossed random effects with binomial dataGreeting Experts,
I am using Stata to create and analyze a mixed effect model for my data. I tested…
Replacing ValuesDear Stata experts,
I want to replace all string values starting with 'QC_6200945' of the variable …
How to flag observations with exactly two letters along with special characters - string variablesDear all,
I am working with string data and I would like to flag observations for which my string v…
Combine string variables to make one idHi,
I would like to combine string variables to make one id for each variable.
The dataset looks l…
Overlaying many (a lot of) points in spmapDear all
I am trying to visualize poor access to broadband services in Denmark and have data that co…
Subscribe to:
Post Comments (Atom)
0 Response to Does Stata create observations when merging
Post a Comment