hello, everyone
I have this problem:
I have a variable x1 string and I have x2 byte...I need to create a dummy with X1 and X2 the values it has are 1 and 0 but since x1 this string I have a problem when I assign, I get less observations. With x2 I get the right amount of zeros....
I applied encode to x1, because destring doesn't work for me, and that error is generated, also the variable x1 has "???" in 3 observations,.
Do you think I should delete these observations first and try destroing again?
Related Posts with Cleaning Data Problem
xteprobit convergece failHi, I tried to estimate a probit panel data model with endogenous binary variable using xteprobit. F…
marginal effects after Heckman Probit modelHi all, can anyone recall the command that one can use to estimate the marginal effects after a Heck…
Finding "new" occurrences in panel dataDear Stata Users, I am trying to identify when an observation is a "new "occurrence in within a pan…
Intergrowth 21th neonatal birth weight standard commandHi all I am trying to calculate the proportion of newborns born small-for-gestational age for newbo…
Bivariate and Multiple linear regressionHello guys, I have cross-sectional data and I intend to perform a bivariate (linear) regression and…
Subscribe to:
Post Comments (Atom)
0 Response to Cleaning Data Problem
Post a Comment