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
Recognizing Texts ObservationsDear All, I have an issue with making STATA to recognize txt observations. I have a table that loo…
Dummy variablesDear all, I have a panel data (long data), shown below. Firm name Year Firm value Dummy A 1 …
format date variableHello, i have a date variable in my dataset which is type "long" and formated in the following way:…
MlogitHi I am stuch with simple Mlogit. I appreciate help I am trying to see which regions are attracted b…
generate a new variable (average over every two years)Dear StataList-ers! Help! I need somebody! My question is very basic. Panel data (countries, years…
Subscribe to:
Post Comments (Atom)
0 Response to Cleaning Data Problem
Post a Comment