# CS代考程序代写 University of California, Los Angeles Department of Statistics

University of California, Los Angeles Department of Statistics

Instructor: Nicolas Christou

Practice 2

EXERCISE 1

Part A:

It is claimed that the histogram below shows the distribution of the sample mean x ̄, when repeated samples of size n = 36 are selected with replacement from the population (2.6,2.8,3.0,3.2,3.4). Clearly explain if there is anything wrong with this histogram.

Part B:

a. What distribution does the sum (total) of 36 observations selected from the same population as above follow?

b. Sketch the histogram (roughly) of the total of repeated samples (with repcalcement) of size 36 selected from the above population. Make sure that you mark off some important values on the horizontal axis.

EXERCISE 2

A local bakery uses its stock of sugar according to demand for its products. Indeed, the weekly sugar use follows the normal distribution with mean 2700 lb. and standard deviation 400 lb. The starting supply of sugar is 4000 lb. and there is a regularly scheduled weekly delivery of 2500 lb. Find the probability that, after 12 weeks, the supply of sugar will be below 2000 lb.

EXERCISE 3

Answer the following questions:

a. Let X and Y be independent normal random variables, each with mean μ and standard deviation σ. Consider the random quantities X + Y and X − Y . Find the moment generating function of X + Y and the moment generating function of X − Y .

b. Refer to part (b). Find now the joint moment generating function of (X + Y, X − Y ).

c. Are X + Y and X − Y independent? Explain your answer using moment generating functions.

EXERCISE 4

Let X = (X1,X2,X3)′ be a random vector with var(X) = 2 3 0

Statistics 100B

.2

.15

.1

.05

0

2.6 2.8 3 xbar

3.2 3.4

a. Find te variance of X1 − 2X2 + X3.

b. Let Y1 = X1 + X2 and Y2 = X1 + X2 + X3. Find the variance covariance matrix of Y = (Y1, Y2).

523 303

EXERCISE 5

Consider the game of roulette at a casino. As a reminder a roulette has 38 numbers (1-36 plus 0 and 00). Let’s say that you want to bet on number 13. If you win it pays 35 : 1 which means that you get your $1 back plus $35.

a. Write the expression that computes the exact probability that In 10000 plays the casino will make more than $400? (This involves the binomial distribution). Approximate this probability using normal approximation to binomial.

b. Compute the probability of question (a) using the central limit theorem. Hint: The number of plays can be viewed as a random sample from a population that has mean μ and standard deviation σ. First find this population and then compute μ and σ.

EXERCISE 6

Let (Xi, Yi), i = 1, 2, . . . , n, be a random sample from a bivariate normal distribution. Find the joint moment generating function of (X ̄,Y ̄). What is the distribution of (X ̄,Y ̄). Note: (X1,Y1),(X2,Y2),…,(Xn,Yn) are independent.

EXERCISE 7

LetX ,X ,X bei.i.d. N(0,1)andletY = X1+X2+X3 ,Y = X1−X2 ,Y = X1+X2−2X3 . ShowthatY ,Y ,Y 1 2 3 1 √3 2 √2 3 √6 1 2 3

are i.i.d. N(0,1). EXERCISE 8

Let X = (X1, X2, X3) has joint moment generating function MX(t1, t2, t3) = (1 − t1 + 2t2)−4(1 − t1 + 3t3)−3(1 − t1)−2.

Answer the following questions:

a. Find the moment generating function of (X1,X3). b. Find the moment generating function of X1.

c. Find the moment generating function of X3.

d. Are X1, X3 independent?

e. Find the moment generating function of (X2,X3).

f. Are X2, X3 independent?