Hello everyone,
below is an example of the data set every variable is binary.
I want to do a regression for male and for female seperately, however when i try to:
when I run this code I get collinearity, what is the best way to deal with this?
below is an example of the data set every variable is binary.
Code:
lifestyle_program male age50 age37_49 white medicine reward 0 1 0 1 1 0 0 1 0 0 0 0 0 1 1 1 1 0 1 0 1 1 0 0 1 1 0 1 0 0 1 0 1 0 1 1 0 0 1 0 0 1 0 1 0 1 1 0 1
Code:
reg medicine lifestyle_program male age50 age37_49 white if male==1
Comment