Re: [R] Question About lm()

2022-02-09 Thread PIKAL Petr
; From: R-help On Behalf Of Bromaghin, Jeffrey > F via R-help > Sent: Wednesday, February 9, 2022 11:01 PM > To: r-help@r-project.org > Subject: [R] Question About lm() > > Hello, > > I was constructing a simple linear model with one categorical (3-levels) and one > qu

Re: [R] Question About lm()

2022-02-09 Thread Ivan Krylov
On Wed, 9 Feb 2022 22:00:40 + "Bromaghin, Jeffrey F via R-help" wrote: > These models are equivalent and the estimated coefficients come out > fine, but the R-squared and F statistics returned by summary() differ > markedly. Is the mean of yResp far from zero? Here's what summary.lm says abo

Re: [R] Question About lm()

2022-02-09 Thread David Winsemius
The models are NOT equivalent. Why would you’ll think they were? — David Sent from my iPhone > On Feb 9, 2022, at 11:10 PM, Bromaghin, Jeffrey F via R-help > wrote: > > Hello, > > I was constructing a simple linear model with one categorical (3-levels) and > one quantitative predictor var