Hi everyone,
I am using STATA version 14.0 and am hoping to replace missing observations using:
"replace state = . if state == -3 Missing geocode".
Unfortunately, I keep receiving the error "type mismatch". The variable I am working with is categorical and I need to ensure that I am not analyzing any data that is missing. Thank you!
Related Posts with type mismatch error when using "replace" function
Reformating hour variableHello! My dataset includes exams information: 1. starttime - the hour the exam started 2. duration_h…
How can I report p value with asdoc and xtregDear all, I am struggeling with getting the p value in word using asdoc and xtreg. - i tried to us…
Second-order factor analysis Dear StataListers, I am working on a project on which I am trying to estimate a factor analysis usi…
Very different SEs with table vs mean when there are missing values and pweightsStata version: 17 I ran the new table command with the statistic(semean varlist) option. The result…
bar graph positionHi Anybody can help me with how to fix the graph position. < graph hbar (mean) group_0 group_1 i…
Subscribe to:
Post Comments (Atom)
0 Response to type mismatch error when using "replace" function
Post a Comment