Hi Statalist,
As predicted by Carlo Lazzaro in a previous post, I have some difficulties in dealing with missing values.
For example, the variable money_for_medicine is an answer to the question whether the person has money to buy medicine. The answers are 1 = yes (8000 observation), 2= no (70000 observation) and (.) 1/3 of observations missing .
I wish to create a dependent variable, to see what the determinants are when people answer the question as 'no there is not enough money' - If I was to use it as an independent variable, I have seen that one could use factor variables.
The problem is that I don't want to drop the missing values from my data set. But how can I make it a dummy so that it will only compare the answers yes and no.
Many thanks,
Rogier
As predicted by Carlo Lazzaro in a previous post, I have some difficulties in dealing with missing values.
For example, the variable money_for_medicine is an answer to the question whether the person has money to buy medicine. The answers are 1 = yes (8000 observation), 2= no (70000 observation) and (.) 1/3 of observations missing .
I wish to create a dependent variable, to see what the determinants are when people answer the question as 'no there is not enough money' - If I was to use it as an independent variable, I have seen that one could use factor variables.
The problem is that I don't want to drop the missing values from my data set. But how can I make it a dummy so that it will only compare the answers yes and no.
Many thanks,
Rogier
Comment