knitr::include_graphics("media/regression_vs_correlation.png")
If you boil it down to the base essence of population genetic analyses, we can define almost all of our analyses by the following fundamental equation. Ultimately, a set of genetic data (\(G\)) is crated and we are attempting to describe patterns or variation in this data by fitting (via some function \(f()\)) to it one ore more independent variables (\(E\)).
[ G = f(E) ]
These independent variables may be:
We are implicitly assuming that some underlying function, \(f()\), that takes the set of predictor variables and relates, or at least is correlated to, what we see in the genetic data.
The hypothesized relationship between the two variable sets determines which kind of model to assume.
knitr::include_graphics("media/regression_vs_correlation.png")