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
Log Transformation of Negative ValuesI understand it is not possible to transform my negative values into a log variable which would then…
Multilevel Multinomial logistic regression with group-level variablesHello, I am trying Multilevel Multinomial logistic regression with gsem command. However, there's a …
merging datasets with interval dates and unbalanced panelHi stata users, I face a problem I try to find an "easy" way to merge two datasets, one having a var…
Fixed effects Poisson unbalanced panel with Binary endogenous regressor: GMM moment evaluator programHi Everyone, I have a question. I'm writing a moment evaluator program to try and achieve consistent…
Xtlogit with weights workaroundHi, I'm trying to run a random effects logit models with weights. The syntax I was trying was xtol…
Subscribe to:
Post Comments (Atom)
0 Response to Does Stata create observations when merging
Post a Comment