I would like to test the difference between two independent regression coefficients. David C. Howell's book 'Statistical Methods for Psychology' (Chapter 9.11) suggests that there is a t-test for differences between two independent regression coefficients.
How would this be done in R?
I currently have these 2 regressions looking at peoples Importance to Donate based on their Guilt, Percieved Responsibility and Negative Feelings:
aov_Individual <- aov(AV_importance_to_donate~AV_guilty+AV_percieved_resp+feeling_I) aov_Statistical <- aov(AV_importance_to_donate~AV_guilty+newdata_S$AV_percieved_resp+feeling_S)
I believe I can extract the coefficients with the following code:
But I do not know how to preform the t-test to compare the coefficients from there...