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
Can I take fixed effects( such as country id) as a continues covariate to controlHi guys, I am using a cross-section data to run 2sls regression. And there is a bunch of dummies com…
Interpreting the coefficients using "one standard deviation"This regression measures the impact of the log change in competition (measured in # competitior bank…
reshaping Code: * Example generated by -dataex-. To install: ssc install dataex clear…
How to plot these graphs?Dear all, I want to plot two graphs shown pictures below. I would appreciate if anyone can help me …
Stochastic Search and Optimization in StataDear all, I am having a panel data of some quality indicators say ind1 ind2 it's up to ind8 and som…
Subscribe to:
Post Comments (Atom)
0 Response to Cleaning Data Problem
Post a Comment