Professional Documents
Culture Documents
Categorical attributes:
2)Let X = (69, 74, 68, 70, 72, 67, 66, 70, 76, 68, )denote the
age and let Y = (153, 175, 155, 135, 172, 150, 115, 137, 200,
130) denote the weight of sample of size n=10.
Mean:
µ = E[X] = ∑ x f (x)
f(x) = (69, 74, 68, 70, 72, 67, 66, 70, 76, 68, )
µ=70
Median:
P (X ≤ m) ≥ 1 /2 and P (X ≥ m) ≥ 1 /2
m= 69.5
Mode :
The mode of a random variable X is the value at which the probability
mass function or the probability density function attains its maximum
value, depending on whether X is discrete or continuous, respectively.
So mode = 68,70
b) Variance of Y= (153, 175, 155, 135, 172, 150, 115, 137, 200, 130)
Sample size=10
Mean = 151.2
c)
Set X 69,74,68,70,72,67,66,70,76,68
Set Y 153,175,155,135,172,150,115,137,200,130
Number of Samples 10
Mean X̄ 70
Mean Ȳ 152.2
Covariance 61.1