x = 150,
y = 220,
x
2
= 1250,
y
2
= 2500,
xy = 1735.
Then the correlation coecient between x and y is
a) .99 b) .97 c) .95 d) .85
11. Two variables x and y were measured on a sample of 25 individuals and they yielded
the following quantities:
x = 180,
y = 200,
x
2
= 2200,
y
2
= 2300, r = .91.
Then the regression (best tting) line is given by
a) y = .8 + 201.23x, b) y = 201.23 +.8x, c) y = 2.24 +.8x, d) y = 5.21 +1.2x.
12. Steve takes either a bus or the subway to go to work with probabilities .3 and .7,
respectively. When he takes the bus, he is late 30% of the days, and when he takes
the subway, he is late 20% of the days. If Steve is late on a particular day, what is the
probability that he took the bus?
a) .23 b) .39 c) .61 d) .09
2
Long answer questions: show all your work
13. Consider the following set of observations: 9, 4, -3, 0, 3.
a) [12] Compute the mean x and the standard deviation s of this set of data.
Solution
) where A
i=1
(x
i
x)
2
=
n
i=1
x
2
i
P
n
i=1
x
i
2
n
n 1
(short-cut formula)
Bivariate data:
s
xy
=
n
i=1
x
i
y
i
P
n
i=1
x
i
P
n
i=1
y
i
n
n 1
, r =
s
xy
s
x
s
y
, b = r
s
y
s
x
, a = y b x, y = a+bx.
Expected value and variance of random variable X:
E(X) = =
x
xp(x),
2
=
x
(x )
2
p(x) =
x
x
2
p(x)
2
4