Tarea 1
Tarea 1
1. Probe that for the sample correlation coefficient the expression 𝑟𝑖𝑘 = 𝑟𝑘𝑖 is true.
The sample covariance measures the association between the 𝑖th and 𝑗th variables.
The covariance reduces to the sample variance when 𝑖 = 𝑘 and is evident that 𝑠𝑖𝑘 =
𝑠𝑘𝑖 due to its Symmetry property 𝑐𝑜𝑣(𝑋, 𝑌) = 𝑐𝑜𝑣(𝑌, 𝑋).
𝑛 𝑛
1 1
𝑠𝑖𝑘 = ∑(𝑥𝑗𝑖 − 𝑥̅ 𝑖 )(𝑥𝑗𝑘 − 𝑥̅ 𝑘 ) = 𝑠𝑘𝑖 = ∑(𝑥𝑗𝑘 − 𝑥̅ 𝑘 )(𝑥𝑗𝑖 − 𝑥̅ 𝑖 )
𝑛 𝑛
𝑗=1 𝑗=1
𝑓𝑜𝑟 𝑖 = 1,2, … , 𝑝 𝑎𝑛𝑑 𝑘 = 1,2, … , 𝑝
The symmetry is possible due to the product of the two independent terms, those
related to 𝑖 and those related to 𝑘, which does not alter the results when changing the
subscripts.
In the same way the result of correlation coefficient equation is not altered changing
subscripts.
(∑𝑛𝑗=1(𝑥𝑗𝑘 − 𝑥̅ 𝑘 )(𝑥𝑗𝑖 − 𝑥̅ 𝑖 ))
=
2 2
√∑𝑛𝑗=1(𝑥𝑗𝑘 − 𝑥̅ 𝑘 ) √∑𝑛𝑗=1(𝑥𝑗𝑖 − 𝑥̅ 𝑖 )
Example:
According to the example 1.2
𝑥̅
̅ = [ 1 ] = [50]
𝒙
𝑥̅ 2 4
𝑠11 = 34
𝑠22 = 0.5
𝑠12 = −1.5
𝑠12 = 𝑠21
34 −1.5] 1 −0.36
𝒔=[ 𝑎𝑛𝑑 𝑹 = [ ]
−1.5 0.5 −0.36 1
2. Correlation properties
Probe that: the value of 𝑟𝑖𝑘 remains unchanged if the measurements of the 𝑖th variable
are changed to 𝑦𝑗𝑖 = 𝑎𝑥𝑗𝑖 + 𝑏, 𝑗 = 1,2, . . , 𝑛 and the values of the 𝑘th variable are
changed to 𝑦𝑗𝑘 = 𝑐𝑥𝑗𝑘 + 𝑑, 𝑗 = 1,2, . . , 𝑛. Provided that the constants a and c have
the same sign.
𝑎𝑐 ∑𝑛𝑗=1(𝑥𝑗𝑖 − 𝑥̅ 𝑖 )(𝑥𝑗𝑘 − 𝑥̅ 𝑘 )
𝑟𝑖𝑘 =
2 2
√𝑎2 ∑𝑛𝑗=1(𝑥𝑗𝑖 − 𝑥̅ 𝑖 ) √𝑐 2 ∑𝑛𝑗=1(𝑥𝑗𝑘 − 𝑥̅ 𝑘 )
𝑎𝑐 ∑𝑛𝑗=1(𝑥𝑗𝑖 − 𝑥̅ 𝑖 )(𝑥𝑗𝑘 − 𝑥̅ 𝑘 )
=
2 2
𝑎𝑐√∑𝑛𝑗=1(𝑥𝑗𝑖 − 𝑥̅ 𝑖 ) √∑𝑛𝑗=1(𝑥𝑗𝑘 − 𝑥̅ 𝑘 )
∑𝑛𝑗=1(𝑥𝑗𝑖 − 𝑥̅ 𝑖 )(𝑥𝑗𝑘 − 𝑥̅ 𝑘 )
=
2 2
√∑𝑛𝑗=1(𝑥𝑗𝑖 − 𝑥̅ 𝑖 ) √∑𝑛𝑗=1(𝑥𝑗𝑘 − 𝑥̅ 𝑘 )
The next figures give the array of seven curves for weight in individual curves:
d. Stars
For nonnegative observations in two dimensions, we can construct circles of
a fixed reference radius with a number p of variables equally spaced rays from
the center of the circle. The lengths of the rays are the values of the variables
at the ends of the rays are connected by straight lines and forma star. Star plots
are useful to standardize observations where the center of the circle represent
the smallest standardized observation. In the next figures we can see the
representation of damage for every layer orientation in a test of a composite
laminated.
e. Chernoff Faces