Can someone please explain why do we use Log Linear Models in very lay-man terms? I come from Engineering background, and this is really turning out to be a difficult subject for me, statistics that is. I will be grateful for a response.
|
|
Log linear models, like crosstabs and chi-square, are usually used when none of the variables can be classed as dependent or independent but, rather, the goal is to look at association among sets of variables. In particular, log linear models are useful for association among sets of categorical variables. |
|||
|
|
|
Here's a list of related reasons why $\ln$ (aka $\log_e$) transformation may be used. Since all logarithms are proportional to each other, many people tend to use base $e$, since it has some nice properties. To quote John D. Cook,
This list is taken from Nick Cox's Intro To Transformations (with some added commentary):
Finally, logs aren't the only way to accomplish some of these goals. |
||||
|
|
|
A common interpretation, and way of seeing the difference, between a normal linear model and a log linear model is if your problem is multiplicative or additive. A normal linear model has the following form $Y=\sum_{i=1}^M \beta_i X_i+\beta_0$ A log linear model has a log transformation on the response variable which gives the following equation $\ln Y=\sum_{i=1}^M \beta_i X_i+\beta_0$ which turns into $Y=e^{\beta_0}\prod_{i=1}^M e^{\beta_i X_i}$ Thus the effects are multiplied instead of added together. |
|||
|
|
|
Log-linear models are often used for proportions because independent effects on probability will act multiplicatively. After taking logs, this leads to linear effects. In fact there are other reasons why you might use loglinear models (such as the fact that the log-link being the canonical link function for the Poisson), but I think the first reason probably suffices from a general modelling point of view. |
||||
|
|