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
svyset: missing standard error because of stratum with single sampling unitSince the dataset I'm using has a Stratum (v022) with only one PSU (v021), and I have to use the fol…
labels of yDear All, I have this dataset Code: * Example generated by -dataex-. To install: ssc install dataex…
zoib regressionHi everyone, I have used the zero-one inflated beta regression but I have concerns. My dependent var…
metaprop - show subgroup pooled estimates onlyI using metaprop on 160 studies, subgrouping data by country. I want to suppress the study-level est…
Covariances across groups and quarters Code: * Example generated by -dataex-. To install: ssc install dataex clear input byte qrtr float(…
Subscribe to:
Post Comments (Atom)
0 Response to Does Stata create observations when merging
Post a Comment