MANOVA with Summary Statistics: A STATA Program

Size: px
Start display at page:

Download "MANOVA with Summary Statistics: A STATA Program"

Transcription

1 Nadeem Shafique Butt Department of Social and Preventive Pediatrics, KEMU Lahore Muhammad Qaiser Shahbaz Department of Mathematics COMSATS Institute of Information Technology, Lahore, Paistan Shahid Kamal College of Statistical and Actuarial Sciences University of the Punab, Lahore Abstract Almost all available statistical pacages are capable of performing Multivariate Analysis of Variance (MANOVA) from raw data. Some of statistical pacages have capability to perform independent sample t-test, ANOVA and some other tests of significance on summary data, but you come across not single software that has the capability to perform MANOVA directly on summary data. A STATA programme has been written to perform Multivariate ANOVA on summary data. The programme computes available statistics for Multivariate ANOVA (i.e Will s Lembda, Lawley s-hotelling trace, Pillae s trace and Roy s largest root). The programme is also capable to perform Box M test for testing equality of covariance matrices on summary data. Example has been given by using the programme on summary data to perform Multivariate ANOVA. Keywords: ANOVA, MANOVA, Summary data. 1. Introduction Multivariate ANOVA (MANOVA) has been widely used for comparison of several factors when information on several variables has been collected. The simplest case is One Way MANOVA where levels of single factors are compared on the basis of information of several variables. One simple use of One Way MANOVA is to test the equality of mean vectors of several Multivariate Normal populations having common covariance matrix. Most of the statistical pacages are designed to conduct several test of significance when raw data is available, but in many practical situations only summary information is available (e.g. ns, ' X ' s, SD. ' s,... ) from some report/research paper etc. Now some statistical pacage providers start realizing this situation and they have included some procedures in their software to perform some test of significance from summary data (e.g. Chi-Square, t-tests, ANOVA etc). David A. Larson (199) describes a method to generate surrogate data from the summary statistics that can be used to perform one way ANOVA. Pa..stat.oper.res. Vol.IV No pp9-17

2 Nadeem Shafique Butt, Muhammad Qaiser Shahbaz, Shahid Kamal According to Larson one has to generate two new columns namely ' s as X n X ' s s = X ' s + and X n' s= nx ( n 1 ) X ' s n X ' s and And after some data manipulation data is ready to perform ANOVA in usual way. Butt et al (006) used an alternative method that can be used to perform one way, two way and higher way ANOVA by using summary measures n, x and s for = 1,,...,, where n, x and s are, respectively, the size, mean and standard deviation of th treatment. In this paper we extend this idea for the Multivariate Analysis of Variance case and have developed a STATA programme that can be used to perform one way MANOVA on summary data.. Methodology The Multivariate ANOVA is a natural extension of the univariate ANOVA. In this technique the observation vectors are available from the multivariate normal populations having common covariance matrices. The tas is to compare the mean vectors of these multinormal populations. Extending the idea of univariate study, the multivariate ANOVA can be presented as the Multivariate Linear Model. Specifically, the one way multivariate ANOVA model is given as: = 1,,..., xi = μ+ τ + εi ; εi has N p ( 0; Σ ) and (.1) i = 1,,..., n The hypothesis of interest in the fixed effect one way MANOVA model is generally given as: (.) Another simple use of the one way MANOVA model is to test the hypothesis: H μ = μ = = μ (.3) 0 : 1 when independent random samples are available from p( ; ) N μ Σ. Several test statistics are available in literature that enables us to test the hypothesis given in (.) and (.3). The most popular of these statistics is the one given by Wills (193). The statistic given by Wills (193) is the ratio of two generalized variances and is given as: ( ) ( ) ms p Λ F0 = 1 S p Λ 1 S (.4) 10 Pa..stat.oper.res. Vol.IV No pp9-17

3 W W S B x x xx / / with Λ= ; = ( n 1 ) ; = n n + B W = 1 = 1 (.5) The quantities x and S are the mean vector and covariance matrix for th group and x is the combined mean. The statistic given in (.4) has an exact F + where: ( ) ( ) p 1; ms p 1 1 ( ) ( ) m n p S = + ; = p p ( ) ( ) (.6) Another statistic proposed by Hotelling (1951) is based upon the trace of T B and is given as: ( n p 1) + a+ 1 V V = tr( T B ) ; F1 = ; a= min ( 1, p) (.7) ( 1 p 1) + a + 1 ( a V) The expression given in (.7) has: F ( 1 p 1) + a + 1 ; ( n p 1) + a + 1 Pallie s trace (1955) has proposed yet another statistic based upon the trace of W B. This statistic is given as: ( ) U a n p 1 /+ 1 U = tr( W B );F = (.8) a ( p 1 )/+ a+ 1 The expression given in (.8) has: Fa 1 p + a ; a( n p 1) + Roy (1953) built his statistic on the largest root of W B. His statistic is given as: R( n b) R = max ( λ i ); F 3 = ; b= max( 1, p) (.9) b λi are eigen values of W B; The expression given in (.9) has : Fbn ; b 1 The programme also performs the Box (1949) test for equality of covariance matrices by using the statistic: and 0 ( ) ( ) ( ) 1 B = MC ; M = n ln S n 1 S ; S= n W (.10) = 1 p 3p C = 1 6 ( 1 )( p 1 ) + = 1 n 1 n In the following section we have given the programme and a live example is given in section 4 of the paper. Pa..stat.oper.res. Vol.IV No pp

4 Nadeem Shafique Butt, Muhammad Qaiser Shahbaz, Shahid Kamal 3. STATA Program In this section we have given a Stata Mata program named manovai.ado that can be used to perform the MANOVA on summary data. The program manovai.ado requires four arguments as input, variable of group identification, variable of sample sizes, variable of mean vectors and variables of variancecovariance matrices respectively manovai.ado program manovai, rclass version 9 syntax varlist marsample touse mata: manovai("`varlist'", "`touse'") end version 9 mata: function manovai(string scalar varnames, string scalar touse) { string rowvector vars, rhsvars string scalar lhsvar, samp, gr real matrix v, b,t, sum, sumb, sumw real scalar count, gn, gm, dt real colvector m, g, W vars = toens(varnames) gr = vars[1] samp = vars[] lhsvar = vars[3] rhsvars = vars[ 4\. ] st_view(v,., rhsvars, touse) st_view(m,., lhsvar, touse) st_view(s,., samp, touse) st_view(g,., gr, touse) info = panelsetup(g,1) stats=panelstats(info) count = stats[4] = stats[1] sumw = J(count,count,0) sumb = J(count,count,0) gn = 0 dt = 0 n = 0 gm = J(count,1,0) for (i=1; i<=rows(info); i++) { 1 Pa..stat.oper.res. Vol.IV No pp9-17

5 summ = summ sumb = sumb gm = gm/gn sumb=sumb - gn*gm*gm' t = sumb + sumw v_i = panelsubmatrix(v, i, info) m_i = panelsubmatrix(m,i,info) n_i = panelsubmatrix(s,i,info) n = mean(n_i) det = (log(det(v_i)))*(n-1) w_i=(n-1)*v_i b_i=n*m_i*(m_i)' gn = gn + n gm = ((gm + m_i*n)) sumw = sumw + w_i sumb = sumb + b_i dt = dt + det n = n + 1/(n-1) } mm = (gn-1)-(count+)/ s = ((count^*(-1)^ - 4)/(count^+ (-1)^ - 5))^0.5 df1 = count*(-1) df = mm*s - ((count*(-1))/)+1 gdf = (-1) df = (gn -1) edf= df - gdf W = (-1,count) w = min(w) d = max(w) m = (gn-)*log(det(sumw/(gn-)))-dt c = 1- (((*count^ + 3*count + 1)/(6*(count+1)*(-1)))*(n-1/(gn-))) q = m*c df_q= (count*(count+1)*(-1))/ PQ = 1- chi(df_q,q) Lam = det(sumw)/det(t) FW = (df/df1)*(1-lam^(1/s))/(lam^(1/s)) PW=1- F(df1,df,FW) V= trace(invsym(t)*sumb) FP = (((gn--count-1)+ w + 1)*V)/(((abs((-1)-count)-1)+ w +1)*(w-V)) PP = 1- F(df1,df,FP) Pa..stat.oper.res. Vol.IV No pp

6 Nadeem Shafique Butt, Muhammad Qaiser Shahbaz, Shahid Kamal df1_p= w*((abs((-1)-count)-1)+ w +1) df_p= w*((gn--count-1)+ w + 1) U = trace(invsym(sumw)*sumb) FL = (*(w*(gn--count-1)/+1)*u)/(w^*((*(abs(-1-count)-1)/)+w+1)) PL = 1- F(df1,df,FL) df1_l= w*((abs((-1)-count)-1)+ w +1) df_l= w*(gn--count-1)+ r = eigenvalues(invsym(sumw)*sumb) r = Re(r) R = max(r) FR = R*((gn--d+-1)/d) PR = 1- F(df1,df,FR) df1_r= d df_r= (gn--d+-1) } end manovai.ado 4. Numerical Example In this section we have given a hypothetical example to demonstrate the usefulness of the program that can be used to perform MANOVA on summary statistics. Example In particular, the telecommunication company has separated the ly bill into amounts spent on Long distance, Toll free, Equipment, Calling card, and Wireless services, and categorized the customers based upon countries (India, China, Malaysia) and apply MANOVA test to see is there significant difference in ly billings of these three countries. Suppose the results are published in a report along with summary statistics. Now suppose you wish to compare how ly billings in Paistan are different from these three countries. You can have raw data for Paistan but may not have raw data for other three countries. In such situation our program manovai can be used to perform MANOVA. 14 Pa..stat.oper.res. Vol.IV No pp9-17

7 Table 4.1: Summary data that obtained from published report and calculated from Paistani sample Variance Covariance Country N Mean V1 V V3 V4 V5 India China Malaysia Paistan Long Distance last Toll free last Equipment last Calling card last Wireless last Long Distance last Toll free last Equipment last Calling card last Wireless last Long Distance last Toll free last Equipment last Calling card last Wireless last Long Distance last Toll free last Equipment last Calling card last Wireless last Summary Information form published report Summary calculated from Paistani sample Pa..stat.oper.res. Vol.IV No pp

8 Nadeem Shafique Butt, Muhammad Qaiser Shahbaz, Shahid Kamal Table given in table 4.1 can be entered directed into Stata data editor in the following manner Following out can be obtained after using manovai command 16 Pa..stat.oper.res. Vol.IV No pp9-17

9 References 1. Box, G. E. P. (1949). A general distribution theory for a class of lielihood ratio criteria, Biometrie, 36, Butt, N. S., Kamal, S., Shahbaz, M. Q. (006). ANOVA using summary data: A STATA programe Pa Jour. Of Stat. and Oper. Res. Vol. (1). 3. Hotelling, H. (1951). A generalized T test and measure of multivariate dispersion, Proceeding of the Second Bereley Symposium on Mathematical Statistics and Probability, University of California, Los Angeles and Bereley, Pillai, K. C. S. (1955). Some new test criteria in multivariate analysis, Annals of Mathematical Statistics, 6, Roy, S. N. (1953). On a heuristic method of test construction and its use in multivariate analysis, Annals of Mathematical Statistics, 4, Wils, S. S. (193). Certain generalizations in the analysis of variance, Biometria, 4, Pa..stat.oper.res. Vol.IV No pp

Chapter 7, continued: MANOVA

Chapter 7, continued: MANOVA Chapter 7, continued: MANOVA The Multivariate Analysis of Variance (MANOVA) technique extends Hotelling T 2 test that compares two mean vectors to the setting in which there are m 2 groups. We wish to

More information

MANOVA is an extension of the univariate ANOVA as it involves more than one Dependent Variable (DV). The following are assumptions for using MANOVA:

MANOVA is an extension of the univariate ANOVA as it involves more than one Dependent Variable (DV). The following are assumptions for using MANOVA: MULTIVARIATE ANALYSIS OF VARIANCE MANOVA is an extension of the univariate ANOVA as it involves more than one Dependent Variable (DV). The following are assumptions for using MANOVA: 1. Cell sizes : o

More information

POWER AND TYPE I ERROR RATE COMPARISON OF MULTIVARIATE ANALYSIS OF VARIANCE

POWER AND TYPE I ERROR RATE COMPARISON OF MULTIVARIATE ANALYSIS OF VARIANCE POWER AND TYPE I ERROR RATE COMPARISON OF MULTIVARIATE ANALYSIS OF VARIANCE Supported by Patrick Adebayo 1 and Ahmed Ibrahim 1 Department of Statistics, University of Ilorin, Kwara State, Nigeria Department

More information

Lecture 5: Hypothesis tests for more than one sample

Lecture 5: Hypothesis tests for more than one sample 1/23 Lecture 5: Hypothesis tests for more than one sample Måns Thulin Department of Mathematics, Uppsala University thulin@math.uu.se Multivariate Methods 8/4 2011 2/23 Outline Paired comparisons Repeated

More information

HETEROSCEDASTICITY IN ONE WAY MULTIVARIATE ANALYSIS OF VARIANCE

HETEROSCEDASTICITY IN ONE WAY MULTIVARIATE ANALYSIS OF VARIANCE HETEROSCEDASTICITY IN ONE WAY MULTIVARIATE ANALYSIS OF VARIANCE G. M. Oyeyemi 1, P. O. Adebayo 2 and B. L. Adelee 3 Department of Statistics, University of Ilorin, Ilorin, Nigeria. ABSTRACT: This wor aimed

More information

ANOVA Longitudinal Models for the Practice Effects Data: via GLM

ANOVA Longitudinal Models for the Practice Effects Data: via GLM Psyc 943 Lecture 25 page 1 ANOVA Longitudinal Models for the Practice Effects Data: via GLM Model 1. Saturated Means Model for Session, E-only Variances Model (BP) Variances Model: NO correlation, EQUAL

More information

Multivariate analysis of variance and covariance

Multivariate analysis of variance and covariance Introduction Multivariate analysis of variance and covariance Univariate ANOVA: have observations from several groups, numerical dependent variable. Ask whether dependent variable has same mean for each

More information

Application of Ghosh, Grizzle and Sen s Nonparametric Methods in. Longitudinal Studies Using SAS PROC GLM

Application of Ghosh, Grizzle and Sen s Nonparametric Methods in. Longitudinal Studies Using SAS PROC GLM Application of Ghosh, Grizzle and Sen s Nonparametric Methods in Longitudinal Studies Using SAS PROC GLM Chan Zeng and Gary O. Zerbe Department of Preventive Medicine and Biometrics University of Colorado

More information

Neuendorf MANOVA /MANCOVA. Model: X1 (Factor A) X2 (Factor B) X1 x X2 (Interaction) Y4. Like ANOVA/ANCOVA:

Neuendorf MANOVA /MANCOVA. Model: X1 (Factor A) X2 (Factor B) X1 x X2 (Interaction) Y4. Like ANOVA/ANCOVA: 1 Neuendorf MANOVA /MANCOVA Model: X1 (Factor A) X2 (Factor B) X1 x X2 (Interaction) Y1 Y2 Y3 Y4 Like ANOVA/ANCOVA: 1. Assumes equal variance (equal covariance matrices) across cells (groups defined by

More information

Neuendorf MANOVA /MANCOVA. Model: MAIN EFFECTS: X1 (Factor A) X2 (Factor B) INTERACTIONS : X1 x X2 (A x B Interaction) Y4. Like ANOVA/ANCOVA:

Neuendorf MANOVA /MANCOVA. Model: MAIN EFFECTS: X1 (Factor A) X2 (Factor B) INTERACTIONS : X1 x X2 (A x B Interaction) Y4. Like ANOVA/ANCOVA: 1 Neuendorf MANOVA /MANCOVA Model: MAIN EFFECTS: X1 (Factor A) X2 (Factor B) Y1 Y2 INTERACTIONS : Y3 X1 x X2 (A x B Interaction) Y4 Like ANOVA/ANCOVA: 1. Assumes equal variance (equal covariance matrices)

More information

Applied Multivariate and Longitudinal Data Analysis

Applied Multivariate and Longitudinal Data Analysis Applied Multivariate and Longitudinal Data Analysis Chapter 2: Inference about the mean vector(s) II Ana-Maria Staicu SAS Hall 5220; 919-515-0644; astaicu@ncsu.edu 1 1 Compare Means from More Than Two

More information

Stevens 2. Aufl. S Multivariate Tests c

Stevens 2. Aufl. S Multivariate Tests c Stevens 2. Aufl. S. 200 General Linear Model Between-Subjects Factors 1,00 2,00 3,00 N 11 11 11 Effect a. Exact statistic Pillai's Trace Wilks' Lambda Hotelling's Trace Roy's Largest Root Pillai's Trace

More information

4.1 Computing section Example: Bivariate measurements on plants Post hoc analysis... 7

4.1 Computing section Example: Bivariate measurements on plants Post hoc analysis... 7 Master of Applied Statistics ST116: Chemometrics and Multivariate Statistical data Analysis Per Bruun Brockhoff Module 4: Computing 4.1 Computing section.................................. 1 4.1.1 Example:

More information

Neuendorf MANOVA /MANCOVA. Model: X1 (Factor A) X2 (Factor B) X1 x X2 (Interaction) Y4. Like ANOVA/ANCOVA:

Neuendorf MANOVA /MANCOVA. Model: X1 (Factor A) X2 (Factor B) X1 x X2 (Interaction) Y4. Like ANOVA/ANCOVA: 1 Neuendorf MANOVA /MANCOVA Model: X1 (Factor A) X2 (Factor B) X1 x X2 (Interaction) Y1 Y2 Y3 Y4 Like ANOVA/ANCOVA: 1. Assumes equal variance (equal covariance matrices) across cells (groups defined by

More information

MULTIVARIATE ANALYSIS OF VARIANCE

MULTIVARIATE ANALYSIS OF VARIANCE MULTIVARIATE ANALYSIS OF VARIANCE RAJENDER PARSAD AND L.M. BHAR Indian Agricultural Statistics Research Institute Library Avenue, New Delhi - 0 0 lmb@iasri.res.in. Introduction In many agricultural experiments,

More information

Example 1 describes the results from analyzing these data for three groups and two variables contained in test file manova1.tf3.

Example 1 describes the results from analyzing these data for three groups and two variables contained in test file manova1.tf3. Simfit Tutorials and worked examples for simulation, curve fitting, statistical analysis, and plotting. http://www.simfit.org.uk MANOVA examples From the main SimFIT menu choose [Statistcs], [Multivariate],

More information

MANOVA MANOVA,$/,,# ANOVA ##$%'*!# 1. $!;' *$,$!;' (''

MANOVA MANOVA,$/,,# ANOVA ##$%'*!# 1. $!;' *$,$!;' ('' 14 3! "#!$%# $# $&'('$)!! (Analysis of Variance : ANOVA) *& & "#!# +, ANOVA -& $ $ (+,$ ''$) *$#'$)!!#! (Multivariate Analysis of Variance : MANOVA).*& ANOVA *+,'$)$/*! $#/#-, $(,!0'%1)!', #($!#$ # *&,

More information

Repeated Measures ANOVA Multivariate ANOVA and Their Relationship to Linear Mixed Models

Repeated Measures ANOVA Multivariate ANOVA and Their Relationship to Linear Mixed Models Repeated Measures ANOVA Multivariate ANOVA and Their Relationship to Linear Mixed Models EPSY 905: Multivariate Analysis Spring 2016 Lecture #12 April 20, 2016 EPSY 905: RM ANOVA, MANOVA, and Mixed Models

More information

z = β βσβ Statistical Analysis of MV Data Example : µ=0 (Σ known) consider Y = β X~ N 1 (β µ, β Σβ) test statistic for H 0β is

z = β βσβ Statistical Analysis of MV Data Example : µ=0 (Σ known) consider Y = β X~ N 1 (β µ, β Σβ) test statistic for H 0β is Example X~N p (µ,σ); H 0 : µ=0 (Σ known) consider Y = β X~ N 1 (β µ, β Σβ) H 0β : β µ = 0 test statistic for H 0β is y z = β βσβ /n And reject H 0β if z β > c [suitable critical value] 301 Reject H 0 if

More information

Data Analyses in Multivariate Regression Chii-Dean Joey Lin, SDSU, San Diego, CA

Data Analyses in Multivariate Regression Chii-Dean Joey Lin, SDSU, San Diego, CA Data Analyses in Multivariate Regression Chii-Dean Joey Lin, SDSU, San Diego, CA ABSTRACT Regression analysis is one of the most used statistical methodologies. It can be used to describe or predict causal

More information

Other hypotheses of interest (cont d)

Other hypotheses of interest (cont d) Other hypotheses of interest (cont d) In addition to the simple null hypothesis of no treatment effects, we might wish to test other hypothesis of the general form (examples follow): H 0 : C k g β g p

More information

Multivariate Analysis of Variance

Multivariate Analysis of Variance Chapter 15 Multivariate Analysis of Variance Jolicouer and Mosimann studied the relationship between the size and shape of painted turtles. The table below gives the length, width, and height (all in mm)

More information

Multivariate Data Analysis Notes & Solutions to Exercises 3

Multivariate Data Analysis Notes & Solutions to Exercises 3 Notes & Solutions to Exercises 3 ) i) Measurements of cranial length x and cranial breadth x on 35 female frogs 7.683 0.90 gave x =(.860, 4.397) and S. Test the * 4.407 hypothesis that =. Using the result

More information

SOME IMPROVED ESTIMATORS IN MULTIPHASE SAMPLING ABSTRACT KEYWORDS

SOME IMPROVED ESTIMATORS IN MULTIPHASE SAMPLING ABSTRACT KEYWORDS Pak. J. Statist. 010, Vol. 61 195-0 SOME IMPROVED ESTIMATORS IN MULTIPHASE SAMPLING Muhammad Hanif 1, Muhammad Qaiser Shahbaz, and Zahoor Ahmad 3 1 Lahore University of Management Sciences, Lahore, Pakistan

More information

Multivariate Linear Models

Multivariate Linear Models Multivariate Linear Models Stanley Sawyer Washington University November 7, 2001 1. Introduction. Suppose that we have n observations, each of which has d components. For example, we may have d measurements

More information

WITHIN-PARTICIPANT EXPERIMENTAL DESIGNS

WITHIN-PARTICIPANT EXPERIMENTAL DESIGNS 1 WITHIN-PARTICIPANT EXPERIMENTAL DESIGNS I. Single-factor designs: the model is: yij i j ij ij where: yij score for person j under treatment level i (i = 1,..., I; j = 1,..., n) overall mean βi treatment

More information

Multivariate Statistical Analysis

Multivariate Statistical Analysis Multivariate Statistical Analysis Fall 2011 C. L. Williams, Ph.D. Lecture 17 for Applied Multivariate Analysis Outline Multivariate Analysis of Variance 1 Multivariate Analysis of Variance The hypotheses:

More information

Applied Multivariate Statistical Modeling Prof. J. Maiti Department of Industrial Engineering and Management Indian Institute of Technology, Kharagpur

Applied Multivariate Statistical Modeling Prof. J. Maiti Department of Industrial Engineering and Management Indian Institute of Technology, Kharagpur Applied Multivariate Statistical Modeling Prof. J. Maiti Department of Industrial Engineering and Management Indian Institute of Technology, Kharagpur Lecture - 29 Multivariate Linear Regression- Model

More information

Repeated Measures Part 2: Cartoon data

Repeated Measures Part 2: Cartoon data Repeated Measures Part 2: Cartoon data /*********************** cartoonglm.sas ******************/ options linesize=79 noovp formdlim='_'; title 'Cartoon Data: STA442/1008 F 2005'; proc format; /* value

More information

Applied Multivariate Analysis

Applied Multivariate Analysis Department of Mathematics and Statistics, University of Vaasa, Finland Spring 2017 Discriminant Analysis Background 1 Discriminant analysis Background General Setup for the Discriminant Analysis Descriptive

More information

M A N O V A. Multivariate ANOVA. Data

M A N O V A. Multivariate ANOVA. Data M A N O V A Multivariate ANOVA V. Čekanavičius, G. Murauskas 1 Data k groups; Each respondent has m measurements; Observations are from the multivariate normal distribution. No outliers. Covariance matrices

More information

THE UNIVERSITY OF CHICAGO Booth School of Business Business 41912, Spring Quarter 2012, Mr. Ruey S. Tsay

THE UNIVERSITY OF CHICAGO Booth School of Business Business 41912, Spring Quarter 2012, Mr. Ruey S. Tsay THE UNIVERSITY OF CHICAGO Booth School of Business Business 41912, Spring Quarter 2012, Mr. Ruey S. Tsay Lecture 3: Comparisons between several multivariate means Key concepts: 1. Paired comparison & repeated

More information

BIOL 458 BIOMETRY Lab 8 - Nested and Repeated Measures ANOVA

BIOL 458 BIOMETRY Lab 8 - Nested and Repeated Measures ANOVA BIOL 458 BIOMETRY Lab 8 - Nested and Repeated Measures ANOVA PART 1: NESTED ANOVA Nested designs are used when levels of one factor are not represented within all levels of another factor. Often this is

More information

Multivariate Regression (Chapter 10)

Multivariate Regression (Chapter 10) Multivariate Regression (Chapter 10) This week we ll cover multivariate regression and maybe a bit of canonical correlation. Today we ll mostly review univariate multivariate regression. With multivariate

More information

Covariance Structure Approach to Within-Cases

Covariance Structure Approach to Within-Cases Covariance Structure Approach to Within-Cases Remember how the data file grapefruit1.data looks: Store sales1 sales2 sales3 1 62.1 61.3 60.8 2 58.2 57.9 55.1 3 51.6 49.2 46.2 4 53.7 51.5 48.3 5 61.4 58.7

More information

Analysis of variance, multivariate (MANOVA)

Analysis of variance, multivariate (MANOVA) Analysis of variance, multivariate (MANOVA) Abstract: A designed experiment is set up in which the system studied is under the control of an investigator. The individuals, the treatments, the variables

More information

Repeated-Measures ANOVA in SPSS Correct data formatting for a repeated-measures ANOVA in SPSS involves having a single line of data for each

Repeated-Measures ANOVA in SPSS Correct data formatting for a repeated-measures ANOVA in SPSS involves having a single line of data for each Repeated-Measures ANOVA in SPSS Correct data formatting for a repeated-measures ANOVA in SPSS involves having a single line of data for each participant, with the repeated measures entered as separate

More information

Analysis of Longitudinal Data: Comparison Between PROC GLM and PROC MIXED. Maribeth Johnson Medical College of Georgia Augusta, GA

Analysis of Longitudinal Data: Comparison Between PROC GLM and PROC MIXED. Maribeth Johnson Medical College of Georgia Augusta, GA Analysis of Longitudinal Data: Comparison Between PROC GLM and PROC MIXED Maribeth Johnson Medical College of Georgia Augusta, GA Overview Introduction to longitudinal data Describe the data for examples

More information

Prepared by: Prof. Dr Bahaman Abu Samah Department of Professional Development and Continuing Education Faculty of Educational Studies Universiti

Prepared by: Prof. Dr Bahaman Abu Samah Department of Professional Development and Continuing Education Faculty of Educational Studies Universiti Prepared by: Prof. Dr Bahaman Abu Samah Department of Professional Development and Continuing Education Faculty of Educational Studies Universiti Putra Malaysia Serdang Use in experiment, quasi-experiment

More information

Chapter 9. Multivariate and Within-cases Analysis. 9.1 Multivariate Analysis of Variance

Chapter 9. Multivariate and Within-cases Analysis. 9.1 Multivariate Analysis of Variance Chapter 9 Multivariate and Within-cases Analysis 9.1 Multivariate Analysis of Variance Multivariate means more than one response variable at once. Why do it? Primarily because if you do parallel analyses

More information

Descriptive Statistics

Descriptive Statistics *following creates z scores for the ydacl statedp traitdp and rads vars. *specifically adding the /SAVE subcommand to descriptives will create z. *scores for whatever variables are in the command. DESCRIPTIVES

More information

Analyses of Variance. Block 2b

Analyses of Variance. Block 2b Analyses of Variance Block 2b Types of analyses 1 way ANOVA For more than 2 levels of a factor between subjects ANCOVA For continuous co-varying factor, between subjects ANOVA for factorial design Multiple

More information

PART I. (a) Describe all the assumptions for a normal error regression model with one predictor variable,

PART I. (a) Describe all the assumptions for a normal error regression model with one predictor variable, Concordia University Department of Mathematics and Statistics Course Number Section Statistics 360/2 01 Examination Date Time Pages Final December 2002 3 hours 6 Instructors Course Examiner Marks Y.P.

More information

GLM Repeated Measures

GLM Repeated Measures GLM Repeated Measures Notation The GLM (general linear model) procedure provides analysis of variance when the same measurement or measurements are made several times on each subject or case (repeated

More information

Random Matrices and Multivariate Statistical Analysis

Random Matrices and Multivariate Statistical Analysis Random Matrices and Multivariate Statistical Analysis Iain Johnstone, Statistics, Stanford imj@stanford.edu SEA 06@MIT p.1 Agenda Classical multivariate techniques Principal Component Analysis Canonical

More information

A User's Guide To Principal Components

A User's Guide To Principal Components A User's Guide To Principal Components J. EDWARD JACKSON A Wiley-Interscience Publication JOHN WILEY & SONS, INC. New York Chichester Brisbane Toronto Singapore Contents Preface Introduction 1. Getting

More information

CHAPTER 2. Types of Effect size indices: An Overview of the Literature

CHAPTER 2. Types of Effect size indices: An Overview of the Literature CHAPTER Types of Effect size indices: An Overview of the Literature There are different types of effect size indices as a result of their different interpretations. Huberty (00) names three different types:

More information

Principal component analysis

Principal component analysis Principal component analysis Motivation i for PCA came from major-axis regression. Strong assumption: single homogeneous sample. Free of assumptions when used for exploration. Classical tests of significance

More information

Discriminant Analysis (DA)

Discriminant Analysis (DA) Discriminant Analysis (DA) Involves two main goals: 1) Separation/discrimination: Descriptive Discriminant Analysis (DDA) 2) Classification/allocation: Predictive Discriminant Analysis (PDA) In DDA Classification

More information

[4+3+3] Q 1. (a) Describe the normal regression model through origin. Show that the least square estimator of the regression parameter is given by

[4+3+3] Q 1. (a) Describe the normal regression model through origin. Show that the least square estimator of the regression parameter is given by Concordia University Department of Mathematics and Statistics Course Number Section Statistics 360/1 40 Examination Date Time Pages Final June 2004 3 hours 7 Instructors Course Examiner Marks Y.P. Chaubey

More information

STAT 730 Chapter 5: Hypothesis Testing

STAT 730 Chapter 5: Hypothesis Testing STAT 730 Chapter 5: Hypothesis Testing Timothy Hanson Department of Statistics, University of South Carolina Stat 730: Multivariate Analysis 1 / 28 Likelihood ratio test def n: Data X depend on θ. The

More information

M M Cross-Over Designs

M M Cross-Over Designs Chapter 568 Cross-Over Designs Introduction This module calculates the power for an x cross-over design in which each subject receives a sequence of treatments and is measured at periods (or time points).

More information

K E L LY T H O M P S O N

K E L LY T H O M P S O N K E L LY T H O M P S O N S E A O LO G Y C R E ATO R, F O U N D E R, A N D PA R T N E R K e l l y T h o m p s o n i s t h e c r e a t o r, f o u n d e r, a n d p a r t n e r o f S e a o l o g y, a n e x

More information

An Introduction to Multivariate Statistical Analysis

An Introduction to Multivariate Statistical Analysis An Introduction to Multivariate Statistical Analysis Third Edition T. W. ANDERSON Stanford University Department of Statistics Stanford, CA WILEY- INTERSCIENCE A JOHN WILEY & SONS, INC., PUBLICATION Contents

More information

A Test for Order Restriction of Several Multivariate Normal Mean Vectors against all Alternatives when the Covariance Matrices are Unknown but Common

A Test for Order Restriction of Several Multivariate Normal Mean Vectors against all Alternatives when the Covariance Matrices are Unknown but Common Journal of Statistical Theory and Applications Volume 11, Number 1, 2012, pp. 23-45 ISSN 1538-7887 A Test for Order Restriction of Several Multivariate Normal Mean Vectors against all Alternatives when

More information

5 Inferences about a Mean Vector

5 Inferences about a Mean Vector 5 Inferences about a Mean Vector In this chapter we use the results from Chapter 2 through Chapter 4 to develop techniques for analyzing data. A large part of any analysis is concerned with inference that

More information

Performance In Science And Non Science Subjects

Performance In Science And Non Science Subjects Canonical Correlation And Hotelling s T 2 Analysis On Students Performance In Science And Non Science Subjects Mustapha Usman Baba 1, Nafisa Muhammad 1,Ibrahim Isa 1, Rabiu Ado Inusa 1 and Usman Hashim

More information

Least Squares Estimation

Least Squares Estimation Least Squares Estimation Using the least squares estimator for β we can obtain predicted values and compute residuals: Ŷ = Z ˆβ = Z(Z Z) 1 Z Y ˆɛ = Y Ŷ = Y Z(Z Z) 1 Z Y = [I Z(Z Z) 1 Z ]Y. The usual decomposition

More information

Multivariate Linear Regression Models

Multivariate Linear Regression Models Multivariate Linear Regression Models Regression analysis is used to predict the value of one or more responses from a set of predictors. It can also be used to estimate the linear association between

More information

STAT 501 EXAM I NAME Spring 1999

STAT 501 EXAM I NAME Spring 1999 STAT 501 EXAM I NAME Spring 1999 Instructions: You may use only your calculator and the attached tables and formula sheet. You can detach the tables and formula sheet from the rest of this exam. Show your

More information

ANOVA in SPSS. Hugo Quené. opleiding Taalwetenschap Universiteit Utrecht Trans 10, 3512 JK Utrecht.

ANOVA in SPSS. Hugo Quené. opleiding Taalwetenschap Universiteit Utrecht Trans 10, 3512 JK Utrecht. ANOVA in SPSS Hugo Quené hugo.quene@let.uu.nl opleiding Taalwetenschap Universiteit Utrecht Trans 10, 3512 JK Utrecht 7 Oct 2005 1 introduction In this example I ll use fictitious data, taken from http://www.ruf.rice.edu/~mickey/psyc339/notes/rmanova.html.

More information

Chapter 2 Multivariate Normal Distribution

Chapter 2 Multivariate Normal Distribution Chapter Multivariate Normal Distribution In this chapter, we define the univariate and multivariate normal distribution density functions and then we discuss the tests of differences of means for multiple

More information

LCA Distal Stata function users guide (Version 1.0)

LCA Distal Stata function users guide (Version 1.0) LCA Distal Stata function users guide (Version 1.0) Liying Huang John J. Dziak Bethany C. Bray Aaron T. Wagner Stephanie T. Lanza Penn State Copyright 2016, Penn State. All rights reserved. Please send

More information

Multivariate Regression Generalized Likelihood Ratio Tests for FMRI Activation

Multivariate Regression Generalized Likelihood Ratio Tests for FMRI Activation Multivariate Regression Generalized Likelihood Ratio Tests for FMRI Activation Daniel B Rowe Division of Biostatistics Medical College of Wisconsin Technical Report 40 November 00 Division of Biostatistics

More information

Paper: ST-161. Techniques for Evidence-Based Decision Making Using SAS Ian Stockwell, The Hilltop UMBC, Baltimore, MD

Paper: ST-161. Techniques for Evidence-Based Decision Making Using SAS Ian Stockwell, The Hilltop UMBC, Baltimore, MD Paper: ST-161 Techniques for Evidence-Based Decision Making Using SAS Ian Stockwell, The Hilltop Institute @ UMBC, Baltimore, MD ABSTRACT SAS has many tools that can be used for data analysis. From Freqs

More information

Linear Modelling in Stata Session 6: Further Topics in Linear Modelling

Linear Modelling in Stata Session 6: Further Topics in Linear Modelling Linear Modelling in Stata Session 6: Further Topics in Linear Modelling Mark Lunt Arthritis Research UK Epidemiology Unit University of Manchester 14/11/2017 This Week Categorical Variables Categorical

More information

I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN

I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN Comparisons of Several Multivariate Populations Edps/Soc 584 and Psych 594 Applied Multivariate Statistics Carolyn J Anderson Department of Educational Psychology I L L I N O I S UNIVERSITY OF ILLINOIS

More information

You can compute the maximum likelihood estimate for the correlation

You can compute the maximum likelihood estimate for the correlation Stat 50 Solutions Comments on Assignment Spring 005. (a) _ 37.6 X = 6.5 5.8 97.84 Σ = 9.70 4.9 9.70 75.05 7.80 4.9 7.80 4.96 (b) 08.7 0 S = Σ = 03 9 6.58 03 305.6 30.89 6.58 30.89 5.5 (c) You can compute

More information

The Delta Method and Applications

The Delta Method and Applications Chapter 5 The Delta Method and Applications 5.1 Local linear approximations Suppose that a particular random sequence converges in distribution to a particular constant. The idea of using a first-order

More information

Analysis of Covariance (ANCOVA) Lecture Notes

Analysis of Covariance (ANCOVA) Lecture Notes 1 Analysis of Covariance (ANCOVA) Lecture Notes Overview: In experimental methods, a central tenet of establishing significant relationships has to do with the notion of random assignment. Random assignment

More information

Homework 2: Simple Linear Regression

Homework 2: Simple Linear Regression STAT 4385 Applied Regression Analysis Homework : Simple Linear Regression (Simple Linear Regression) Thirty (n = 30) College graduates who have recently entered the job market. For each student, the CGPA

More information

Structural Equation Modeling and Confirmatory Factor Analysis. Types of Variables

Structural Equation Modeling and Confirmatory Factor Analysis. Types of Variables /4/04 Structural Equation Modeling and Confirmatory Factor Analysis Advanced Statistics for Researchers Session 3 Dr. Chris Rakes Website: http://csrakes.yolasite.com Email: Rakes@umbc.edu Twitter: @RakesChris

More information

LCA_Distal_LTB Stata function users guide (Version 1.1)

LCA_Distal_LTB Stata function users guide (Version 1.1) LCA_Distal_LTB Stata function users guide (Version 1.1) Liying Huang John J. Dziak Bethany C. Bray Aaron T. Wagner Stephanie T. Lanza Penn State Copyright 2017, Penn State. All rights reserved. NOTE: the

More information

Multilevel Models in Matrix Form. Lecture 7 July 27, 2011 Advanced Multivariate Statistical Methods ICPSR Summer Session #2

Multilevel Models in Matrix Form. Lecture 7 July 27, 2011 Advanced Multivariate Statistical Methods ICPSR Summer Session #2 Multilevel Models in Matrix Form Lecture 7 July 27, 2011 Advanced Multivariate Statistical Methods ICPSR Summer Session #2 Today s Lecture Linear models from a matrix perspective An example of how to do

More information

On MANOVA using STATA, SAS & R

On MANOVA using STATA, SAS & R On MANOVA using STATA, SAS & R Department of Internal Medicine Division of Epidemiology, Biostatistics, & Preventive Medicine University of New Mexico Health Sciences Center July 13, 2015 On MANOVA (Department

More information

I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN

I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN Canonical Edps/Soc 584 and Psych 594 Applied Multivariate Statistics Carolyn J. Anderson Department of Educational Psychology I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN Canonical Slide

More information

Non-Parametric Combination (NPC) & classical multivariate tests

Non-Parametric Combination (NPC) & classical multivariate tests Non-Parametric Combination (NPC) & classical multivariate tests Anderson M. Winkler fmrib Analysis Group 5.May.26 Winkler Non-Parametric Combination (NPC) / 55 Winkler Non-Parametric Combination (NPC)

More information

Group comparison test for independent samples

Group comparison test for independent samples Group comparison test for independent samples The purpose of the Analysis of Variance (ANOVA) is to test for significant differences between means. Supposing that: samples come from normal populations

More information

Comparisons of Several Multivariate Populations

Comparisons of Several Multivariate Populations Comparisons of Several Multivariate Populations Edps/Soc 584, Psych 594 Carolyn J Anderson Department of Educational Psychology I L L I N O I S university of illinois at urbana-champaign c Board of Trustees,

More information

STAT 501 Assignment 2 NAME Spring Chapter 5, and Sections in Johnson & Wichern.

STAT 501 Assignment 2 NAME Spring Chapter 5, and Sections in Johnson & Wichern. STAT 01 Assignment NAME Spring 00 Reading Assignment: Written Assignment: Chapter, and Sections 6.1-6.3 in Johnson & Wichern. Due Monday, February 1, in class. You should be able to do the first four problems

More information

Lecture 6: Single-classification multivariate ANOVA (k-group( MANOVA)

Lecture 6: Single-classification multivariate ANOVA (k-group( MANOVA) Lecture 6: Single-classification multivariate ANOVA (k-group( MANOVA) Rationale and MANOVA test statistics underlying principles MANOVA assumptions Univariate ANOVA Planned and unplanned Multivariate ANOVA

More information

6 Multivariate Regression

6 Multivariate Regression 6 Multivariate Regression 6.1 The Model a In multiple linear regression, we study the relationship between several input variables or regressors and a continuous target variable. Here, several target variables

More information

Multivariate Analysis of Variance

Multivariate Analysis of Variance Multivariate Analysis of Variance 1 Multivariate Analysis of Variance Objective of Multivariate Analysis of variance (MANOVA) is to determine whether the differences on criterion or dependent variables

More information

MAXIMUM LIKELIHOOD IN GENERALIZED FIXED SCORE FACTOR ANALYSIS 1. INTRODUCTION

MAXIMUM LIKELIHOOD IN GENERALIZED FIXED SCORE FACTOR ANALYSIS 1. INTRODUCTION MAXIMUM LIKELIHOOD IN GENERALIZED FIXED SCORE FACTOR ANALYSIS JAN DE LEEUW ABSTRACT. We study the weighted least squares fixed rank approximation problem in which the weight matrices depend on unknown

More information

Describing Within-Person Fluctuation over Time using Alternative Covariance Structures

Describing Within-Person Fluctuation over Time using Alternative Covariance Structures Describing Within-Person Fluctuation over Time using Alternative Covariance Structures Today s Class: The Big Picture ACS models using the R matrix only Introducing the G, Z, and V matrices ACS models

More information

SOME ASPECTS OF MULTIVARIATE BEHRENS-FISHER PROBLEM

SOME ASPECTS OF MULTIVARIATE BEHRENS-FISHER PROBLEM SOME ASPECTS OF MULTIVARIATE BEHRENS-FISHER PROBLEM Junyong Park Bimal Sinha Department of Mathematics/Statistics University of Maryland, Baltimore Abstract In this paper we discuss the well known multivariate

More information

Regression with Compositional Response. Eva Fišerová

Regression with Compositional Response. Eva Fišerová Regression with Compositional Response Eva Fišerová Palacký University Olomouc Czech Republic LinStat2014, August 24-28, 2014, Linköping joint work with Karel Hron and Sandra Donevska Objectives of the

More information

A study on new customer satisfaction index model of smart grid

A study on new customer satisfaction index model of smart grid 2nd Annual International Conference on Electronics, Electrical Engineering and Information Science (EEEIS 2016) A study on new index model of smart grid Ze-San Liu 1,a, Zhuo Yu 1,b and Ai-Qiang Dong 1,c

More information

Correlations. Notes. Output Created Comments 04-OCT :34:52

Correlations. Notes. Output Created Comments 04-OCT :34:52 Correlations Output Created Comments Input Missing Value Handling Syntax Resources Notes Data Active Dataset Filter Weight Split File N of Rows in Working Data File Definition of Missing Cases Used Processor

More information

REVIEW (MULTIVARIATE LINEAR REGRESSION) Explain/Obtain the LS estimator () of the vector of coe cients (b)

REVIEW (MULTIVARIATE LINEAR REGRESSION) Explain/Obtain the LS estimator () of the vector of coe cients (b) REVIEW (MULTIVARIATE LINEAR REGRESSION) Explain/Obtain the LS estimator () of the vector of coe cients (b) Explain/Obtain the variance-covariance matrix of Both in the bivariate case (two regressors) and

More information

Multivariate Tests. Mauchly's Test of Sphericity

Multivariate Tests. Mauchly's Test of Sphericity General Model Within-Sujects Factors Dependent Variale IDLS IDLF IDHS IDHF IDHCLS IDHCLF Descriptive Statistics IDLS IDLF IDHS IDHF IDHCLS IDHCLF Mean Std. Deviation N.0.70.0.0..8..88.8...97 Multivariate

More information

Bootstrapping, Randomization, 2B-PLS

Bootstrapping, Randomization, 2B-PLS Bootstrapping, Randomization, 2B-PLS Statistics, Tests, and Bootstrapping Statistic a measure that summarizes some feature of a set of data (e.g., mean, standard deviation, skew, coefficient of variation,

More information

Analysis of Repeated Measures Data of Iraqi Awassi Lambs Using Mixed Model

Analysis of Repeated Measures Data of Iraqi Awassi Lambs Using Mixed Model American Journal of Applied Scientific Research 01; 1(): 1-6 Published online November 1, 01 (http://www.sciencepublishinggroup.com/j/ajasr) doi: 10.64/j.ajasr.00.13 Analysis of Repeated Measures Data

More information

Univariate analysis. Simple and Multiple Regression. Univariate analysis. Simple Regression How best to summarise the data?

Univariate analysis. Simple and Multiple Regression. Univariate analysis. Simple Regression How best to summarise the data? Univariate analysis Example - linear regression equation: y = ax + c Least squares criteria ( yobs ycalc ) = yobs ( ax + c) = minimum Simple and + = xa xc xy xa + nc = y Solve for a and c Univariate analysis

More information

NONPARAMETRIC TESTS FOR LONGITUDINAL DATA LEI DONG. B.S., Iowa State University, 2005 A REPORT

NONPARAMETRIC TESTS FOR LONGITUDINAL DATA LEI DONG. B.S., Iowa State University, 2005 A REPORT NONPARAMETRIC TESTS FOR LONGITUDINAL DATA by LEI DONG B.S., Iowa State University, 2005 A REPORT submitted in partial fulfillment of the requirements for the degree MASTER OF SCIENCE Department of Statistics

More information

International Journal of Current Research in Biosciences and Plant Biology ISSN: Volume 2 Number 5 (May-2015) pp

International Journal of Current Research in Biosciences and Plant Biology ISSN: Volume 2 Number 5 (May-2015) pp Original Research Article International Journal of Current Research in Biosciences and Plant Biology ISSN: 349-00 Volume Number (May-01) pp. -19 www.ijcrbp.com Graphical Approaches to Support Mixed Model

More information

Institute of Actuaries of India

Institute of Actuaries of India Institute of Actuaries of India Subject CT3 Probability & Mathematical Statistics May 2011 Examinations INDICATIVE SOLUTION Introduction The indicative solution has been written by the Examiners with the

More information

Small-sample adjustments for multiple-contrast hypothesis tests of meta-regressions using robust variance estimation

Small-sample adjustments for multiple-contrast hypothesis tests of meta-regressions using robust variance estimation Small-sample adjustments for multiple-contrast hypothesis tests of meta-regressions using robust variance estimation James E. Pustejovsky The University of Texas at Austin Elizabeth Tipton Teachers College,

More information

FACTOR ANALYSIS AS MATRIX DECOMPOSITION 1. INTRODUCTION

FACTOR ANALYSIS AS MATRIX DECOMPOSITION 1. INTRODUCTION FACTOR ANALYSIS AS MATRIX DECOMPOSITION JAN DE LEEUW ABSTRACT. Meet the abstract. This is the abstract. 1. INTRODUCTION Suppose we have n measurements on each of taking m variables. Collect these measurements

More information

Correlation and regression

Correlation and regression 1 Correlation and regression Yongjua Laosiritaworn Introductory on Field Epidemiology 6 July 2015, Thailand Data 2 Illustrative data (Doll, 1955) 3 Scatter plot 4 Doll, 1955 5 6 Correlation coefficient,

More information