A LabKitty Primer is an introduction to some technical topic I am smitten with. They differ from most primers as to the degree of mathematical blasphemy on display. I gloss over details aplenty and mostly work only the simplest cases. I show mistakes and dead ends and things any normal person would try that don't work. Also, there's probably a swear word or two. Mostly I want to get you, too, excited about the topic, perhaps enough to get you motivated to learn it properly. And, just maybe, my little irreverent introduction might help you understand a more sober treatment when the time comes.
Mathozoids describe the General Linear Model (GLM) as, well, a general linear model, one that combines regression and ANOVA into a unified whole. Those words aren't particularly helpful in explaining the thing, especially if you're coming to GLM for the first time. Heck, it took me a month just to understand there is also a GeneraliZED Linear Model which is something different (sort of) even though it generally goes by the same abbreviation.
But I had an epiphany the other midnight about a different way of explaining GLM, a way that has little to do with combining regression and ANOVA into a unified whole and which the beginner might find to be a more approachable inroad. At first glance, my way may seem like more work because I will ask you to think about other analysis tools that have little to do with statistics. I encourage you to resist this reaction. For we will not discuss the details of these other methods, only their character -- their "data philosophy," if you will. Once you see how GLM fits into the big picture, all else will follow. We'll construct a few simple models, consider the briefest derivation of the underlying equations, review statistical testing, and have a look at some Matlab code. As usual, I'll finish up with a few leads into the literature.
For your part, you'll need to recall a little matrix algebra and enough statistics to know what regression and ANOVA are. You'll also need to surrender your old statistics worldview for the new vista GLM offers. It's natural to resist taking such a leap -- your old worldview may have been acquired through much classroom effort and pain. However, embrace GLM and no longer will you look upon statistics as a collection of disjoint topics, each with its own ad hoc nomenclature, recipes, and purpose. Instead, look upon the One True Statistics, like some being provoked out of the absolute rock and set nameless and at no remove from its own loomings to wander the brutal wastes of Gondwanaland in a time before nomenclature was and each was all. GLM is just that cool.
As has been said of Mordor, a root canal, and puberty, the only way around it is through it. And so your journey begins now.
Mathozoids describe the General Linear Model (GLM) as, well, a general linear model, one that combines regression and ANOVA into a unified whole. Those words aren't particularly helpful in explaining the thing, especially if you're coming to GLM for the first time. Heck, it took me a month just to understand there is also a GeneraliZED Linear Model which is something different (sort of) even though it generally goes by the same abbreviation.
But I had an epiphany the other midnight about a different way of explaining GLM, a way that has little to do with combining regression and ANOVA into a unified whole and which the beginner might find to be a more approachable inroad. At first glance, my way may seem like more work because I will ask you to think about other analysis tools that have little to do with statistics. I encourage you to resist this reaction. For we will not discuss the details of these other methods, only their character -- their "data philosophy," if you will. Once you see how GLM fits into the big picture, all else will follow. We'll construct a few simple models, consider the briefest derivation of the underlying equations, review statistical testing, and have a look at some Matlab code. As usual, I'll finish up with a few leads into the literature.
For your part, you'll need to recall a little matrix algebra and enough statistics to know what regression and ANOVA are. You'll also need to surrender your old statistics worldview for the new vista GLM offers. It's natural to resist taking such a leap -- your old worldview may have been acquired through much classroom effort and pain. However, embrace GLM and no longer will you look upon statistics as a collection of disjoint topics, each with its own ad hoc nomenclature, recipes, and purpose. Instead, look upon the One True Statistics, like some being provoked out of the absolute rock and set nameless and at no remove from its own loomings to wander the brutal wastes of Gondwanaland in a time before nomenclature was and each was all. GLM is just that cool.
As has been said of Mordor, a root canal, and puberty, the only way around it is through it. And so your journey begins now.




