Hi hello,
This is my first time posting, so I hope I am doing this right and it is clear for everyone!
I have a dataset where I have a variable that is called charitablegiving. The following responses were possible:
-9 missing
-8 inapplicable
-7 proxy
-2 refused
-1 don't know
1 at least once a week
2 less than weekly, at least monthly
3 less often than once a month
97 other
I created a dummy variable for people who indicated that they give at least once a week using the following code:
gen chargaloaw = charitablegiving == 1 if charitablegiving > 0
I did the same for the variable that indicated whether people had a diploma in higher education:
gen diplhe = diploma == 3 if diploma > 0
I checked if these were correct and the values were all good.
The question I now have is, what type of regression would I use to see the relationship between having a diploma in higher education and donating at least once a week? I believe they are both binary variables now, so do I just use regress or maybe logit?
Thanks in advance!
This is my first time posting, so I hope I am doing this right and it is clear for everyone!
I have a dataset where I have a variable that is called charitablegiving. The following responses were possible:
-9 missing
-8 inapplicable
-7 proxy
-2 refused
-1 don't know
1 at least once a week
2 less than weekly, at least monthly
3 less often than once a month
97 other
I created a dummy variable for people who indicated that they give at least once a week using the following code:
gen chargaloaw = charitablegiving == 1 if charitablegiving > 0
I did the same for the variable that indicated whether people had a diploma in higher education:
gen diplhe = diploma == 3 if diploma > 0
I checked if these were correct and the values were all good.
The question I now have is, what type of regression would I use to see the relationship between having a diploma in higher education and donating at least once a week? I believe they are both binary variables now, so do I just use regress or maybe logit?
Thanks in advance!
Comment