12
General linear model and regression analysis

General linear model and regression analysis

Embed Size (px)

DESCRIPTION

General linear model and regression analysis. The general linear model: Y = μ + σ 2 (Age) + σ 2 (Sex) + σ 2 (Genotype) + σ 2 (Measurement) + σ 2 (Condition) + ε Y: response of the system μ : grand mean σ 2 : variance from the factor ε : error. Dependent vs. independent variables. - PowerPoint PPT Presentation

Citation preview

Page 1: General linear model and regression analysis

General linear model and regression analysis

Page 2: General linear model and regression analysis

The general linear model:

Y = μ + σ2(Age) + σ2(Sex) + σ2(Genotype) + σ2(Measurement) + σ2(Condition) + ε

• Y: response of the system• μ: grand mean• σ2: variance from the factor• ε: error

Page 3: General linear model and regression analysis

Dependent vs. independent variables

• Independent varables ARE MANIPULATED in the experiment

• Dependent ones ARE NOT MANIPULATED

• Independent variables shape the experiment

• Dependent variables measure its result

Page 4: General linear model and regression analysis

• Description of the established relations:– Strong?

1. Absolutely

2. Related to other relations

– Confident?• By different tests

– Robust? What happens if:• we change the method?• the distribution changes the shape?

Page 5: General linear model and regression analysis

The purpose of the general linear model

The theory seeks to identify those quantities in systems of equations which remain unchanged under linear transformations of the variables in the system.

I.e.: an eternal and unchanging amongst the chaos of the transitory and the illusory.

Page 6: General linear model and regression analysis

The purpose of the regression analysis, more specifically:

Quantify the relationship between several independent or predictor variables and a dependent or criterion variable.

Page 7: General linear model and regression analysis

Simple regression

Page 8: General linear model and regression analysis

Multiple regression

The regression coefficients represent the independent contributions of each independent variable to the prediction of the dependent variable.

In other words, variable X1 is correlated with the Y variable, after controlling for all other independent variables (=partial correlations).

Page 9: General linear model and regression analysis

The general linear model can be expressed asYM = Xb + eHere Y, X, b, and e are as described for the multivariate

regression model and M is an m x s matrix of coefficients defining s linear transformation of the dependent variable. The normal equations are

X'Xb =X' YMand a solution for the normal equations is given byb = (X'X)`X' YMHere the inverse of X'X is a generalized inverse if X'X

contains redundant columns.

Page 10: General linear model and regression analysis

Matrix ill conditioning

• numerical round-off in designs with very different variances of values in different columns of the design matrix

Rescale it!

Page 11: General linear model and regression analysis

In the general linear modelx = μ + σ2(Age) + σ2(Sex) + σ2(Genotype) + σ2(Measurement) + σ2(Condition) + εEach of the terms σ2 can be questioned. Moreover, their particular combinations can be studied.x = μ + … σ2(Age X Sex) + … + σ2(Sex X Genotype) + σ2(Age X Genotype X Condition) + … + εExamples:“Does the disease prognosis deteriorate with age equally for men and women?”H0: σ2(Age X Sex) = 0“Is not genotype AbC reaction particularly difficult to detect by measuring with tool Z?” H0: σ2(Genotype X Measurement) = 0

Page 12: General linear model and regression analysis

Statistical significance

p-level: the probability of the relation to NOT EXIST