Prac Test 1 - Quant Methods
Prac Test 1 - Quant Methods
Prac Test 1 - Quant Methods
Section:
(b) (20 points) What is the median of the sample? Show your computations.
Page 2
(d) (20 points) What is the variance of the sample? Show your computations.
(e) (20 points) Suppose you have 2 samples. The first sample has mean x = 2 and variance
s2x = 4, and the second sample has mean y = 10 and variance s2y = 9. Which sample has
more variability? Explain your answer
Page 3
Page 4
3. Consider the two independent random variables X and Y , with joint distribution given in the
table below.
11
Y 17
23
24
1
0.02
0.03
0.04
0.01
2
0.02
0.03
0.04
0.01
6
0.04
0.06
0.08
0.02
X
24
0.04
0.06
0.08
0.02
52
0.04
0.06
0.08
0.02
101
0.030
0.045
0.060
0.015
307
0.010
0.015
0.020
0.005
Page 5
4. Please use the histograms below to answer the following questions. The random variable X is
distributed according to a continuous uniform distribution X U [100, 100].
(A)
(B)
(C)
(D)
(a) (20 points) Suppose you collect an i.i.d. sample of size n = 1000000 from X U [100, 100].
Which graph above represent the histogram of your sample? Explain your answer.
(b) (20 points) Suppose you collect 1000 i.i.d. samples of size n = 1000 from X U [100, 100],
and for each sample you compute the sample mean x. Which graph above represents (approximately) the histogram of the sample means? Explain your answer.
Page 6
5. (a) (20 points) Find the maximum of the function f (x) = x2 4x + 3 in the interval [1, 4].
(b) (20 points) Find the interior mininum of the function f (x) = x2 4x+3 in the interval [1, 4]
Page 7
Page 8
(b) (10 points) We collect an i.i.d. sample of size nx = 100 from X and an i.i.d. sample of
size ny = 100 from Y . What is the probability that the sample mean of X is greater than
the sample mean of Y ?
> Y ) =
P (X
Page 9
9. Use the Excel regression output below to answer part (a), (b) and (c). We estimated the
regression
price = 0 + 1 size +
where price is the selling price in thousands of dollars and size is the size in thousands of square
feet for a sample of houses.
Page 10
(c) (10 points) What is a 95% confidence interval for the intercept 0 ? Explain your answer.
Page 11
(d) (20 points) The estimator for the intercept 0 is denoted as b0 . A statistician tells you
that
1
x2
2
b0 N 0 ,
+
n (n 1)s2x
Using only this information, can you say if the estimator b0 is unbiased? Explain your
answer.
Page 12
10. A playboy goes to a party in New York, where he meets 4 fabulous ladies: Carrie, Samantha,
Miranda and Charlotte. He asks each of them out, independently (i.e. making sure that they
do not know he invited the others too). From his past experience, the playboy knows that the
probability of success with one lady is p = 0.3.
(a) (20 points) What is the probability that all ladies reject the invitation? Explain your
answer
(b) (20 points) What is the probability that at least one lady accepts the invitation? Explain
your answer
Page 13
(c) (20 points) You do not believe that the playboy has a probability of success of p = 0.3.
You collect an i.i.d. sample of 100 ladies that the playboy asked out, and compute a sample
proportion of successes of p = 0.15. Construct the rejection region for the test
H0 : p = 0.3
H1 : p < 0.3
at a significance level of = 0.05.
Page 14
11. Xavier and Yves are two real estate agents. X denotes the number of houses sold by Xavier
in a month and Y is the number of houses sold by Yves in a month. The joint probability
distribution of X and Y is given by
X
0
1
2
0 0.12 0.42 0.06
1 0.21 0.06
2 0.07 0.02 0.01
(a) (10 points) Complete the table with the missing joint probability. Explain your answer
(b) (10 points) Compute the marginal distribution of X. Explain your answer
(c) (10 points) Compute the marginal distribution of Y . Explain your answer
Page 15
(d) (10 points) Compute the expected value of X (show your computations)
(f) (10 points) The covariance of X and Y is XY = 0.15 and the variance of X + Y is
V (X + Y ) = 0.56. What is the variance V (Y ) of the number of cars sold by Yves? Explain
how you get your answer
Page 16
12. The weight of cereal boxes X is normally distributed. We are interested in estimating and make
inference about the population mean . We collect an i.i.d. sample of 25 observations, with
sample mean x = 1.2 and sample variance s2 = 1.21.
(a) (20 points) Construct the rejection region for the hypothesis test
H0 : = 1
H1 : 6= 1
at a significance level = 0.10 and compute the value of the test statistic.
Page 17
(d) (10 points) Did you use the central limit theorem to solve (a), (b) or (c)? Explain
Page 18
2
.6
3
.1
Please use the table below to answer (a), (b) and (c).
sample
p(
x)
(a) (10 points) Consider drawing i.i.d. samples from the distribution of X. List all the possible
samples of size n = 2.
(b) (10 points) Compute the sample mean of each sample you listed in (a).
(c) (10 points) Compute the probability of each sample you listed in (a), i.e. the sampling
distribution of the sample mean
(d) (10 points) Compute the expected value and variance of the sample mean.
Page 19
SCRATCH PAPER
Page 20
P (t15
P (t15
P (t15
Student-t distribution
> 1.753) = 0.05
P (t16 > 1.746) = 0.05
> 1.341) = 0.10
P (t16 > 1.337) = 0.10
> 2.131) = 0.025
P (t16 > 2.120) = 0.025
Page 21
SCRATCH PAPER
Page 22