Re: [R] Test For Difference of Betas By Group in car

2025-01-19 Thread John Fox
Dear John, Here's the summary for your model: - snip - > summary(model) Call: lm(formula = income ~ education * gender, data = data) Residuals: 1 2 3 4 5 6 -4.286e+00 -5.000e+00 6.429e+00 -1.080e-14 -2.143e+00 5.000e+00 Coeffici

Re: [R] Test For Difference of Betas By Group in car

2025-01-19 Thread David Winsemius via R-help
Sent from my iPhone > On Jan 19, 2025, at 2:48 PM, David Winsemius wrote: > >  > Sent from my iPhone > >> On Jan 19, 2025, at 1:57 PM, David Winsemius wrote: >> >> I don’t understand why you don’t include the full text of the error. >> >> — >> David >> Sent from my iPhone >> On Jan

Re: [R] Test For Difference of Betas By Group in car

2025-01-18 Thread David Winsemius via R-help
Sent from my iPhone > On Jan 19, 2025, at 1:57 PM, David Winsemius wrote: > > I don’t understand why you don’t include the full text of the error. > > — > David > Sent from my iPhone > >> On Jan 19, 2025, at 10:00 AM, Sparks, John via R-help >> wrote: >> >> Hello R-Helpers, >> >> I was

Re: [R] Test For Difference of Betas By Group in car

2025-01-18 Thread David Winsemius via R-help
I don’t understand why you don’t include the full text of the error. — David Sent from my iPhone > On Jan 19, 2025, at 10:00 AM, Sparks, John via R-help > wrote: > > Hello R-Helpers, > > I was looking into how to test whether the beta coefficient from a regression > would be the same for

[R] Test For Difference of Betas By Group in car

2025-01-18 Thread Sparks, John via R-help
Hello R-Helpers, I was looking into how to test whether the beta coefficient from a regression would be the same for two different groups contained in the dataset for the regression. When I put that question into google, AI returned a very nice looking answer (and a couple of variations on it)