Introduction to Linear Models
What is linear model?
Linear Models
Many of the models we use in data analysis can be presented using matrix algebra. We refer to these types of models as linear models. “Linear” here does not refer to lines, but rather to linear combinations. The representations we describe are convenient because we can write models more succinctly and we have the matrix algebra mathematical machinery to facilitate computation. In this chapter, we will describe in some detail how we use matrix algebra to represent and fit.
In this book, we focus on linear models that represent dichotomous groups: treatment versus control, for example. The effect of diet on mice weights is an example of this type of linear model. Here we describe slightly more complicated models, but continue to focus on dichotomous variables.
As we learn about linear models, we need to remember that we are still working with random variables. This means that the estimates we obtain using linear models are also random variables. Although the mathematics is more complex, the concepts we learned in previous chapters apply here. We begin with some exercises to review the concept of random variables in the context of linear models.
Enjoy Reading This Article?
Here are some more articles you might like to read next:
- From Bench to Bedside: A Practical Guide to Using Large Language Models in Medical Research
- Rethinking Bioinformatics Expertise in the Era of AI: A Newbie's Journey as a Custodian
- Mapping the Global Landscape of Cancer Research: Key Trends from the Nature Index
- Shattered Chromosomes: Understanding Chromothripsis and Genome Rearrangement Models
- Diffusion LLMs
- Nanopore raw data visualization using squigualiser
- Nanopore direct RNA data analysis using Dorado
- Modern commnad line tools powered by Rust
- Nanopore direct cDNA data analysis
- Hi-C data analysis