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
What is the relationship between sample size and Type I error?Dear clever statistics people, I am writing a paper using a RD-design on three different data sets.…
Assert – why is false returned for values that appear equal after matrix conversion? Code: version 15 set obs 3 local a = 3.1415927 matrix A = (1\2\3.1415927) matrix B = A[3,1] sv…
Differences between "icc" and "estat icc" estimates?Dear stata users I am trying to estimate the intra-class correlation of measures performed by sever…
r value - Individual variance for each independent variable in linear regressionHi there, Would you mind sharing your thoughts on how to calculate/obtain individual variance accoun…
Analyzing the dataHi. I have a dataset with neary one million individuals and their hospitalizations (> 1 hospitali…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with Merging
Post a Comment