Sei sulla pagina 1di 4

Name : Ardyantha Purba Contribution of Name (1): Date: 8.12.

2016
Contribution of Name (2): Deadline due 18:10

Homework 2

1. Calculate:
(22 7)! (5 + 3)! = 13! (12 2)!

- 30725775360000

2. Calculate:
( + 2)! ( 2)! = ! ( + 1

3. Suppose you have a standard deck of 52 playing cards. A deck of 52 cards consists of 4 suits
and within each suit there are 13 cards of different ranks: Ace, 2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen,
King. A hand is a selection of some number of cards from the deck. The order of the cards within a
hand is not important.

a. How many different five-card hands are there? (i.e., if you pick 5 cards form the deck, how many
combinations are available?)

- 2598960
b. How many different five-card hands are there such that they contain cards with identical rank
(e.g. all of them are Queen)?

- 624
c. How many different five-card hands are there such that they contain only Jack, Queen or
King?

- 658008

4. Suppose you roll a fair dice five times. How many outcomes can you get? (i.e. what is
the total number of combinations you can get by tossing a dice five times?)

- 7776

5. How many sport groups of 5 students can be selected from a class of 20 students?

- 15504

6. How many permutations can be created from word E-X-A-M? (i.e. how many
words can be created out of letters E,X,A,M?)

- 12
7. Suppose you have data on how healthy people live in Moscow (see the Venn diagram). You
have 100 observations and suppose you pick at random one person. Calculate the probability for
each of the following possibilities:
a. The person eats healthy food.
- 0.4
b. The person exercises every day.
- 0.23
c. The person eats healthy food given that he8, exercises every day.
- 0.23
d. The person exercises every day but does not eat healthy food.
- 0.16
e. The person neither eats healthy food nor exercises every day.
- 0.44

8. A study reveals that 35% of patients who took malaria pill got malaria and 20% of those
who did not take the pill got malaria. If 40% of the patients took the pill, what percent of the
patients have malaria?
9. Suppose you calculate correlation between alcohol consumption and age. You came
with a -0.5 correlation between age and alcohol consumption. How would you interpret the
result?

- A correlation between age and alcohol consumption is a moderate negative


relationship

10. Determine the 95% confidence interval for a sample with the following properties: sample
size=40, mean = 156, standard deviation = 24.

- Between 148 and 164

11. Suppose you are interested in whether or not primary school students are passing a new
national examination exam (passing grade is 70). A random sample of 100 students results in a
mean of 76
and a standard deviation of 15. Calculate and draw the 95% confidence interval around the mean.
Build H0 and HA and test the hypotheses using both, critical value approach and p-value approach.

12. Suppose a production line operates with a mean filling weight of 6 grams per pill. Since
over- or under-filling can be dangerous, a quality control inspector samples 30 items to determine
whether or not the filling weight has to be adjusted. The sample revealed a mean of 6.32 ounces.
From past data, the standard deviation is known to be 0.8 grams. Using a 0.10 level of significance,
can it be concluded that the process is out of control? Use critical as well as p-value approach.

- No, it is not. The weight is still on the control. (0.0032)

13. Suppose that 200 subjects tested from statistics and the mean on the
test is 45, with a standard deviation of 5. If Timur scores 15 points on the test,
how many standard deviations is his score from the mean?

- 25

14. Suppose that studentsresults from statistics (out of 60 points) are:

12, 13, 40, 22, 16, 8, 17, 23, 31, 15, 19, 20, 33, 11, 2

Most students didn't even get 50% and under normal circumstances they would
fail. Suppose that the professor decides to standardize all the scores and fail only
those people, who score 1 standard deviation below the mean. How many
students will fail?
- 2

PRACTICAL PART (50 % of the total points):

Take data vote.xls or birth.xls and answer the following questions. To answer each question, write a
simple linear model formally, build your hypotheses (zero and alternative hypotheses), run your model,
write the estimated form of your model and interpret your results (coefficients and their significance, i.e.,
discuss whether you reject or do not reject H 0). Discuss whether you might have omitted a variable, include
those variables from existing list into your regression and compare the estimated results with the simple
linear regression (compare coefficients, their significance and model R 2). You may compare more than two
models.

15. Is higher share of expenditures spent on campaign associated with higher


percentage of votes? [use vote.xls]

- According to the data, I can say that the expenditures on campaign is not
correlated with high percentage vote. The one who actually more important for
the higher percentage of votes is the party strength on the region.

16. Are children born to women who smoked during pregnancy lighter or not?
[use birth.xls]

Potrebbero piacerti anche