Presentation is loading. Please wait.

Presentation is loading. Please wait.

General Linear Model With correlated error terms  =  2 V ≠  2 I.

Similar presentations


Presentation on theme: "General Linear Model With correlated error terms  =  2 V ≠  2 I."— Presentation transcript:

1 General Linear Model With correlated error terms  =  2 V ≠  2 I

2 The General Linear Model  ≠  2 I

3

4

5

6 Summary

7 Example Simple Linear Model where variance is proportional to X 2.

8

9

10

11 Testing and Confidence Intervals The Model: can be converted to the model

12 Thus Simultaneous Confidence Intervals (using model (2))

13 Example: Simple Linear Model with no intercept The model

14 Thus

15 Also Special cases

16 General Linear Model Case 2:  unknown

17 The General Linear Model  unknown

18 Call this the Ordinary Least Squares (OLS) estimator of Note: Thus the Ordinary Least Squares (OLS) estimator of is always unbiased.

19 This is the Optimal (UMVU) estimator of Note: This is also an unbiased estimator of The Optimal (UMVU) estimator of requires the knowledge of  in order to calculate it.

20 Theorem: Equivalence of OLS estimator with UMVU estimator

21 Proof

22 Application: Consider the general linear model with intercept In this case the error terms are equally correlated. Also in this case the OLS estimators are equivalent to the UMVU estimators

23 Proof

24 Design Matrix, X, not of full rank

25 The General Linear Model

26 If the rank of X is equal to p then the columns of X are linearly independent and there is a unique way of representing If the rank of X is strictly less than p then there is no unique way of representing

27 Comment: Usually the situation where the rank of X, r < p, arises in the following instances. 1.The design of the study (the choice of the values of X 1, X 2, …, X p ) was not careful enough to ensure that X had full rank. 2.Observations were missing causing the model to be altered Elements of are deleted along with corresponding rows of X, reducing the number of linear independent rows from p to r. 3.The model was defined in such a way that:  i =  1 x i1 +  2 x i2 +  … +  p x ip is not uniquely determined by  1,  2,  …,  p.

28 Two Basic approaches: 1.Impose p – r linear restrictions on the parameters This allows us to reduce the number of parameters to r.  will have a unique representation if the p – r restrictions are added. This technique is usually used with ANOVA, MANOVA, ANACOVA models. 2.Live with the singularity. Restrict our attention to linear combinations of the parameters that have unique estimators. The two approaches are essentially the same (lead to the same conclusions).

29 Recall: Linear Equations theory Consider the system of linear equations M (A), the linear space spanned by the columns of A

30 Then the general solution to the system of linear equations is

31 Maximum Likelihood Estimation leads to the system of linear equations p equations in p unknowns called the Normal equations

32 Theorem The Normal equations are consistent. Proof It can be shown that M (XX)  M (X) M(X)M(X) M(XX)M(XX) Theorem The general solution to the Normal equations is

33 Theorem is the same for all solutions of the Normal equations Proof: the general solution to the Normal equations is Since M (XX)  M (X) there exists a p × n matrix L such that X = XXL or X = LXX

34

35 Definition: (Estimability) The linear function of the parameter vector, is called estimable if there exists a vector such that Example The simple linear model

36 Thus is the only estimable function of  0,  1.

37 Theorem: The following conditions are equivalent 2. For some solution,, of the Normal equation,, is a linear (in ) unbiased estimate of M(XX)M(XX) M(X)M(X)

38 Proof: Assume Then there exists a vector such that M(X)M(X) Thus Thus 1. implies 5. (as well as 4.) Now assume 4.

39 Thus 4. implies 3. Thus 4. implies 2. and 1.

40 Example: One-way ANOVA (Analysis of Variance) Suppose we have k normal populations Let y i1, y i2, …, y in denote a sample of n from Let  ij = y ij - (  i ), then  i1,  i2, …,  in denotes a sample of n from distribution. where  11,  12, …,  kn are kn independent observations from N(0,  2 ) distribution.

41 Matrix Notation Let

42 Then the model is

43 = then linear space spanned by the vectors M(X)M(X)

44 Thus the estimable parameters are of the form: The common approach is to add the restriction This reduces the number of parameters to k, and converts the model to full rank.

45 Properties of estimable functions: 1.All linear functions are estimable M (X) = E p = p-dimensional Euclidean space (which contains all p-dimansional vectors) Proof If rank(X) = p then 2. is estimable if Proof (unique for all solutions of the normal equations) Hence is estimable.

46 3. If and are estimable then Proof since and are estimable then


Download ppt "General Linear Model With correlated error terms  =  2 V ≠  2 I."

Similar presentations


Ads by Google