Statistics 200 B1
Exam 2
Name:_Solutions _
Closed book and notes. You are allowed a calculator and one 8.5 x 11 inch sheet
(two-sided) of formulas and other information.
Please be aware that assisting another student on the exam or receiving assistance fr
Lee Rushing
10/15/12
6.71
a. The null hypothesis is the mean is 0. The alternative hypothesis is not 0. The mean is the
mean difference.
mean(Diff)*sqrt(20)/3
[1]4.069644
The z score is 4.07 which gives a really small probability.
hist(MPG)
It is not appr
Homework 9 Solutions
Its also right if you state the alternative hypothesis as p1 p2
If you use R for (e), use: >chisq.test(table, correct=FALSE),because R in
default use |observation-expected|(absolute instead of square) for 2X2 table. Look for details
i
STAT200 Homework 8
Due Oct 24, 2014
1. *In a study about the association between increase of food calories and increase of the
weight, 16 rats were fed 300 calories per week in excess of the calories needed to
maintain a stable body weight. After 10 weeks
7.41. (a) We test Ho: ,0; = 0 versus Ha: ,u, > 0, where ,u, is the mean 0 6
change in score (that is, the mean improvement). (b) The distlibu 3
tion is slightly leftskewed, with mean .1? = 2.5 and s i 2.8928. :0 O
_2.5U; 'f _ [' . _ . . a
(c)r 3.864), df
R code
2.110
Without Outlier
To find the slope and y intercept I used: cor(Isotope,Silicon)*sd(Silicon)/sd(Isotope) and
mean(Silicon)-cor(Isotope,Silicon)*sd(Silicon)/sd(Isotope)*mean(Isotope). The slope is -75.517
and a y intercept of -137.156
With outli
STAT200 HW 8
Derrick Hinh (K1)
Due April 1, 2016 at 6pm
Problem 1
Part 1
To study the effect of a new treatment, the researchers designed a randomized comparative experiment.
20 patients were randomly assigned to two groups: 10 of them received the treatm
STAT200 HW 9
Derrick Hinh (K1)
Due April 15, 2016 at 6pm
Problem 1
Last homework we examined whether there is a difference between the proportions of enough calcium
consumption for children at different ages. The data look like this:
Met requirement 5 to
STAT200 Homework 9
Due Oct 31, 2014
1. An automobile manufacturer would like to know what proportion of its customers is
dissatisfied with the service received from their local dealer. The customer relations
department will survey a random sample of custo
STAT200 Homework 10
Due Nov 7 Friday, 2014
1. One of the questions in a survey of high school students asked about lying to the
teachers. The following table give the summary:
Gender
Lying at least once
Male
Female
Yes
3228
10295
No
9659
4260
(a) Calculat
STAT200 Homework 12
Due Dec 1 Monday, 2014
1. *A multiple regression analysis of 78 cases was performed with 5 explanatory variables.
Suppose that SSM=16.5 and SSE=100.8.
(a) Perform the F test that null hypothesis assumes coefficients of all explanatory
STAT200 Homework 11
Due Nov 14 Friday, 2014
1. *The SAT and the ACT are the two major standardizd tests that colleges use to evaluate
candidates. Consider the scores of 60 students who take both tests. How can we relate
the two tests? (data attached)
(a)
STATS 200 Homework 6
Jamshed Kaikaus
Kaikaus2
Section S2
10/13/2016
1. Generating a sampling distribution
a. The population mean is 125.5. (RScript is attached, showing the calculations).
b. The 3 samples were: 108, 88, 63. Sampling the same players time
#Problem2
#Choosing 6 students
#First vector of students is created
students <- c('Abel', 'Fisher', 'Huber', 'Moran', 'Reinmann','Carson', 'Golomb',
'Jimenez','Moskowtiz', 'Santos', 'Chen', 'Griswold', 'Jones', 'Neyman', 'Shaw',
'David','Hein','Kiefer','O
Homework 1
Derrick Hinh
Due January 29, 2016 at 5pm Section K1
Problem 1
Your first task is to download R and RStudio and install them on your computer. After you do so, you can
download the file hw1.Rmd from the homework section on Compass. That is this
Homework 3
Derrick Hinh Section K1
Due February 12, 2016 at 6pm
You can complete this homework by filling the rest of the .Rmd document. When you click the Knit
button in RStudio a document will be generated that includes both content as well as the outpu
STAT200 HW 11
Derrick Hinh (K1)
Due April 29, 2016 at 6pm
Problem 1
Refer to Problem 5 of homework 10. In last homework, we have built a multiple regression model for
predicting the total billing (TotalBill02) using three predictors: number of architects
Homework 10
Derrick Hinh K1
Due April 22, 2016
Problem 1
In this problem we will consider several studies investigating the link between blood pressure, age (in
years), and weight (in kilograms).
1. For a simple random sample of 26 subjects, the researche