I am using data that has negative factor variable values and no value = 0. I am removing the negative values as they are not wanted, but my remaining factor values start at 1 instead of 0. Does this make a difference to the regression?
Here is an example
1 and 2 are labelled "yes" "no" respectively
I am also removing the negative values for the regression using the following at the end of the regression command
Is there a way to permanently remove the negative values and yes and no have value labels 0 and 1.
Here is an example
Code:
g10 - Have | you | received a | Coronavirus | vaccine? | Freq. Percent Cum. ------------+----------------------------------- 1 | 125 2.13 2.13 2 | 5,732 97.87 100.00 ------------+----------------------------------- Total | 5,857 100.00
I am also removing the negative values for the regression using the following at the end of the regression command
Code:
if w5_nc_cvhadvac >=0 & w5_nc_cvhadvac < .
Comment