I see a lot of comments here assuming "linear model" means "can't model nonlinearities." Absolutely not the case. Splines can easily take care of that. The "linear" part of linear model just means "linear in the predictor space." You can add a non-linear predictor easily via spline basis (similar/sometimes identical to "kernels" in ML). My series of lm/glm/gam/gamm revelations was: 1. All t-tests and ANOVA flavors ar…
Widely known in the controls engineering world for the last hundred years as 'anything is linear if you zoom in far enough'
Everything is a linear model
71–80 of 90 posts
Re: Everything is a linear model
#72I see a lot of comments here assuming "linear model" means "can't model nonlinearities." Absolutely not the case. Splines can easily take care of that. The "linear" part of linear model just means "linear in the predictor space." You can add a non-linear predictor easily via spline basis (similar/sometimes identical to "kernels" in ML). My series of lm/glm/gam/gamm revelations was: 1. All t-tests and ANOVA flavors ar…
within set boundaries.
Re: Everything is a linear model
#73Re: Everything is a linear model
#74I see a lot of comments here assuming "linear model" means "can't model nonlinearities." Absolutely not the case. Splines can easily take care of that. The "linear" part of linear model just means "linear in the predictor space." You can add a non-linear predictor easily via spline basis (similar/sometimes identical to "kernels" in ML). My series of lm/glm/gam/gamm revelations was: 1. All t-tests and ANOVA flavors ar…
Re: Everything is a linear model
#75Earlier quoted context omitted.
"You can make linear model non linear by adding non linearity" is kind of vacuous statement, isn't it
No no, linear just means some expression of the form y = b1*x1 + b2*x2 + ... + bp*xp which is in the heart of the model (perhaps more specific description would be linear combination). Whatever you call it, it's just some quantity y, that is constructed via an additive process from components x1...xp, and each component is multiplied by some constant (the coefficient of the linear combination). This linear combinatio…
Maybe what OP meant is that particular non linearities (splines) allow to keep some goodies from the linear model in non-linear settings. Still it's not clear for me in which settings exactly such models are good enough
Re: Everything is a linear model
#76I see a lot of comments here assuming "linear model" means "can't model nonlinearities." Absolutely not the case. Splines can easily take care of that. The "linear" part of linear model just means "linear in the predictor space." You can add a non-linear predictor easily via spline basis (similar/sometimes identical to "kernels" in ML). My series of lm/glm/gam/gamm revelations was: 1. All t-tests and ANOVA flavors ar…
Widely known in the controls engineering world for the last hundred years as 'anything is linear if you zoom in far enough'
Re: Everything is a linear model
#77Re: Everything is a linear model
#78Earlier quoted context omitted.
Widely known in the controls engineering world for the last hundred years as 'anything is linear if you zoom in far enough'
Wait isn't that just an application of Taylor expansion which analysis has known about for several hundreds of years?
Re: Everything is a linear model
#79Re: Everything is a linear model
#80This is why I feel like I couldn't become a credible AI/ML consultant. I would just throw everything into a linear model, make some progress, and call it a day.
You would have fitted right in.