Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
0 of .
Results for:
P. 1
Multivariate Laboratory Exercise I

# Multivariate Laboratory Exercise I

Ratings: (0)|Views: 76|Likes:
A 1st laboratory exercise in Multivariate Laboratory exercise I
A 1st laboratory exercise in Multivariate Laboratory exercise I

### Availability:

See more
See less

07/31/2013

pdf

text

original

Mindanao State University
Iligan Institute of Technology
Multivariate Analysis
Laboratory Exercise
Student Instructor
June 13, 2012

I.

Questions
A.

Obtain a Data with two and three response variable.I.

Data with three response variablesSource: Rencher, A. C. (2002),
Methods of Multivariate Analysis, 2
nd
Edition
. pg. 56Table A.1 Calcium in Soil and Turnip GreensLocation Number

1 35 3.5 2.82 35 4.9 2.73 40 30 4.384 10 2.8 3.215 6 2.7 2.736 20 2.8 2.87 35 4.6 2.888 35 10.9 2.99 35 8 3.2810 30 1.6 3.2Table A.1 gives partial data from Kramer and Jensen (1969a). Three variables weremeasured (in milliequivalents per 100 g) at 10 different locations in the South. Thevariables are y1 = available soil calcium, y2 = exchangeable soil calcium, and y3 = turnipgreen calcium.II.

Data with two response variablesSource: Hardle, W., et al. (2007),
Multivariate Statistics: Exercises and Solutions
. pg. 336Sales Price Advert Ass. Hours1 230 125 200 1092 181 99 55 1073 165 97 105 984 150 115 85 715 97 120 0 826 192 100 150 1037 181 80 85 1118 189 90 120 939 172 95 110 8610 170 125 130 78This is a data set consisting of 10 measurements of 4 variables. The story: A textile shop
manager is studying the sales of “classic blue” pullovers over 10 periods. He uses three
different marketing methods and hopes to understand his sales as a fit of these variablesusing statistics. The variables measured are

: Numbers of sold pullovers,

: Price (in

EUR),


: Presence of a salesassistant (in hours per period).B.

Compute for the mean vectorsTo find the mean vector y, we simply calculate the average of each column and obtainthe
̅
vector For 2 response variable, we have
̅

, you can confirm this below using R programming codesFor 3 response variable, we have

̅

, you can confirm this below using R programming codesC.

Find the inverse of the covariance matrix.Formulas:The sample variance of the jth variable,

, is calculated as

∑(

̅
)

∑

̅

The sample covariance of the jth and kth variables,

, is calculated as

∑

̅


̅

∑


̅
̅
Check the output in the R Codes and the inverse of it.D.

Calculate the determinant of the variance-covariance matrixAnswer:For 2 Response Variables = 273601.3 - Refer to the R CodesFor 3 Response Variables = 459.9555 - Refer to the R Codes