I keep getting a 'type mismatch' error and I'm stumped. All feedback would be greatly appreciated!
egen ICD10 = group(I10_DX1 I10_DX2 I10_DX3 I10_DX4 I10_DX5 I10_DX6 I1
> 0_DX7 I10_DX8 I10_DX9 I10_DX10)
(3,363,241 missing values generated)
.
. generate pneumonia = 1 if ICD10=="J120" ICD10=="J121" ICD10=="J122" I
> CD10=="J123" ICD10=="J1281" ICD10=="J1289" ICD10=="J129" ICD10=="J13"
> ICD10=="J14" ICD10=="J150" ICD10=="J151" ICD10=="J1520" ICD10=="J152
> 11" ICD10=="J15212" ICD10=="J1529" ICD10=="J153" ICD10=="J154" ICD10=
> ="J155" ICD10=="J156" ICD10=="J157" ICD10=="J158" ICD10=="J159" ICD10
> =="J160" ICD10=="J168" ICD10=="J17" ICD10=="J180" ICD10=="J181" ICD10
> =="J182" ICD10=="J188" ICD10="J189"
type mismatch
r(109);
Related Posts with Type mismatch
command _bayesmh_eqlablist is unrecognizedHi everyone, I am practicing bayesmh estimations on stata 14 for academic purposes. I do get bayesm…
Bilateral data (origin and destination country) and the command tsset/xtsetHi i have a migration dataset with origin and destination country for the years 1980, 85, 90, 95, …
Missing F-statistics of regression. regress socialsecurity ageeea ageeea2 eea ageeeaeea ageeea2eea if eeadonutregression==1 [pweight=w…
Removing duplicates within years in panel dataHello, I am struggling with something that I wanted to share. I have an unbalanced panel dataset. T…
Fixed effects: country, year and industryHi everybody, I have a dataset consisting of ~3,000 Private Equity returns in the period 2012-2018.…
Subscribe to:
Post Comments (Atom)
0 Response to Type mismatch
Post a Comment