I have a problem regarding an Excel file that has missing values that are indicated with an asterisk (*).
If I use search and replace in Excel, Excel thinks that there are asterisks (*) in all the cells. So, this is not the way to get rid of the asterisks (*). When I import the Excel file in Stata, Stata thinks that this variable is string. But it is not possible to destring the variable, because of the asterisk (*). I tried to encode the variable, and then the data becomes 'blue'. The asterisks (*) remain in the data. Stata knows the values (like mean, etc.), but cannot recognize the missing values.
Can somebody help me with the missing values that are indicated with an asterisk (*) ? How can I get rid of these asterisks (*) such that Stata knows that these asterisks (*) are missing values?
Thanks in advance.
Related Posts with Replace missing values that are indicated with an asterisk (*)
How can I count the rows with specific description of a variable per firm and put 0 otherwise?I am new with stata and I would like to know how I can create two new columns that count how many me…
Separating a bar graph by two groups. …
Mediation moderation commandHello, I was wondering if there is mediation moderation command all in one. Please see the model th…
Stationarity in Macroeconomic Panel DataDear Statalist, I am working on my dissertation which includes an analysis of macroeconomic data su…
Repeated Time values ErrorI am trying to set up a panel structure for my data on houses and schools across a 10 year period. T…
Subscribe to:
Post Comments (Atom)
0 Response to Replace missing values that are indicated with an asterisk (*)
Post a Comment