Hi,
I am trying two merge two datasets using the key ID (Neighborhood_Code).
However, Im getting the error
" Each key variable -- the variables on which observations are matched -- must be of the same generic type in the master and using datasets. Same generic
type means both numeric or both string."
The key ID is a combination of numbers like '110111110901'.
In the first dataset, the ID format is %18.0g and in the second %12s.
I want both to be stored as string before merging.
How should I do that ?
Related Posts with Problem with Merging
New version of sdecode on SSCThanks as always to Kit Baum, a new version of the sdecode package is now available for download fro…
Ordered logistic regression assumptionHello, I would like to ask what alternatives are better over ordered logistic regression if the ass…
Missing F-statistic and underestimated standard errors using xtreg dummy-variables i.year, fe vce(cluster)Dear all, Stata does not report the F-statistic when I cluster the standard errors at the firm leve…
Drop alphabetical category of a variable or recode as numericI have an occupation variable that has 25 categories such as professionals, sales, farmers, self-emp…
epctile command: how to get e(_N)Hi Statalist members, I have been running the used contributed epctile command to get the median va…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with Merging
Post a Comment