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
Dynamically set graph combine optionsHi, i want to combine many graphs into one with graph combine, but number of the graphs is not const…
Data transformation after multiple imputationHi Statalist, I am new to the forum and to multiple imputations. I plan to run a cox regression mod…
Sequential logit postestimationDear all, I am making estimation of a sequential logit model. Please I have two questions: 1- I wou…
A few questions about STATA difference in difference using data from multiple time periodsDear all, I want to see the influence of a housing policy on housing prices in two regions, one was…
xtoverid, noi after ec2sls: endogenous variable(s) collinear with instrumentsDear Stata community, I am running ec2sls model: xtivreg investment ( bribery = elf (time invariant…
Subscribe to:
Post Comments (Atom)
0 Response to type mismatch error when using "replace" function
Post a Comment