Stat/For/Hort 571
Hanlon/Larget
September 9, 2011
Assignment #1 Due Friday, September 16 by 4:00 P.M.
Turn in homework to your TAs mailbox using this sheet as the cover page.
Fill in your name and also circle the lecture section in which you are registere
STAT 571
Qi Jiang
jiang@stat.wisc.edu
Discussion 11
Practice Problem
Problem 1
A scientist wishes to investigate whehter glucose level in the diabetes patients has changed or not after
the patients have taken a kind of new drug. Previous records shows tha
R for Statistics 571
Bret Larget
August 25, 2011
1
Preliminaries
Before the rst discussion section, you ought to install R onto your computer. If you have laptop,
install R on the laptop and bring it to discussion section.
1.1
Installing R
To install R, c
Stat/For/Hort 571
Summary of Statistical methods
Ane/Keuler, Fall 2009
Tests to compare one sample of continuous values with a claim about the true mean 0 . Null hypothesis
H0 : = 0 . Common assumption: The sample is a random sample, i.e. independence of
Solutions to Statistics 571 Midterm 2
Hanlon/Larget, Fall 2010
1.
Solution:
(a) The hypotheses are H0 : = 6 and HA : = 6 (as the test is two-sided). The test statistic is
T=
6.21 6
= 0.68
1.84/ 36
If the population is normal, the sampling distribution is
Inference for one Population Mean
Bret Hanlon and Bret Larget
Department of Statistics
University of WisconsinMadison
October 1214, 2010
One Population Mean
1 / 48
Body Temperature
Case Study
Body temperature varies within individuals over time (it can be
Normal and t Distributions
Bret Hanlon and Bret Larget
Department of Statistics
University of WisconsinMadison
October 1113, 2011
Normal
1 / 33
Case Study
Case Study
Body temperature varies within individuals over time (it can be higher when
one is ill wi
Probability and Conditional Probability
Bret Hanlon and Bret Larget
Department of Statistics
University of WisconsinMadison
September 2729, 2011
Probability
1 / 33
Parasitic Fish
Case Study
Example 9.3 beginning on page 213 of the text describes an experi
Statistical Analysis of Proportions
Bret Hanlon and Bret Larget
Department of Statistics
University of WisconsinMadison
September 1322, 2011
Proportions
1 / 84
Recombination
Example
In the fruit y Drosophila melanogaster, the gene white with alleles w +
a
STAT 571
Seho Park
parks@stat.wisc.edu
Discussion 10
I. Review Analysis of Variance
1. ANOVA:
(a) Compare means three or more populations H0 : 1 = 2 = = k
(b) Mathematical Model: Yij = i + ij = + i + ij . Yij is the jth observation of ith sample
(group) ,
STAT 571
Seho Park
parks@stat.wisc.edu
Discussion 4
I. Review
1. General Addition Rule:
P (A B) = P (A) + P (B) P (A B)
2. Additional Rule for Mutually Exclusive Events:
If events A and B are mutually exclusive,
P (A B) = P (A) + P (B)
3. Probability of C
STAT 571
Lilun Du
dulilun@stat.wisc.edu
Discussion 12
Review
0.1
Simple Linear Regression
The simple linear regression model for the data is
Yi = + Xi + i
where
1. i is the random vertical deviation between the line and the i th observed data point.
2. th
STAT 571
Seho Park
parks@stat.wisc.edu
Discussion 7
I. Review- Inference for two sample population mean
1 and 2 are means from two populations. We are interested to test whether 1 = 2 (1 2 = 0).
There are mainly two kinds of methods t-test and randomizati
STAT 571
Lilun Du
dulilun@stat.wisc.edu
Discussion 6
Review Inference for One Population Mean
Point estimator: a natural point estimator for population mean is the sample mean X =
standard error = s/ n, where
n
n
Xi , with
i=1
(Xi X)2
i=1
s=
1
n
n1
.
samp
Solution to Statistics 571 Midterm 1
Hanlon/Larget, Fall 2011
1.
(a)
Solution: Yes. While the researchers do not use a formal random sampling procedure, the researchers make
eorts to ensure that the redds they sample are representative of the redds in eac
Solution to Statistics 571 Midterm 2
Hanlon/Larget, Fall 2011
1.
Solution:
(a) According to the normal table, the 30th percentile is about 0.525 standard deviations below the mean, which
is 11.2 (0.525)(2.5) = 9.9.
(b)
10.0 11.2
Y 11.2
12.4 11.2
<
<
2.5
2
STAT 571
Qi Jiang
jiang@stat.wisc.edu
Discussion 2
I. Review
1. Random Varable:
(a) A random variable is a rule that attaches a numerical value to a chance outcome.
(b) Discrete Variable: Random variables with a countably innite set of possible values (i.
STAT 571
Qi Jiang
jiang@stat.wisc.edu
Discussion 5
R operations
1. Density Plot
The following examples show examples of density plots for the female sockeye salmon mass data
set. First, read in the data. There is a single variable named mass.
The density
STAT 571
Lilun Du
dulilun@stat.wisc.edu
Discussion 9
Review Power and Sample Size
General formula of the sample size such that a P % condence interval constructed with margin of error
smaller than M .
Sample size for proportion:
z 0.5 2
) 4
n>(
M
where M
STAT 571
Lilun Du
dulilun@stat.wisc.edu
Discussion 3
Practice Probelm
1. Consider a discrete random variable X with E(X) = 2.5. The probability distribution of X is given
by the following table.
k
P(X=k)
0
0.1
?
0.2
2
0.1
3
?
4
0.3
Fill in the missing val
Contingency Tables
Bret Hanlon and Bret Larget
Department of Statistics
University of WisconsinMadison
October 46, 2011
Contingency Tables
1 / 56
Case Study
Case Study
Example 9.3 beginning on page 213 of the text describes an experiment
in which sh are p
Inference for two Population Means
Bret Hanlon and Bret Larget
Department of Statistics
University of WisconsinMadison
October 27November 1, 2011
Two Population Means
1 / 65
Case Study
Case Study
Example 19.2 on page 545 of the text describes an experimen
Stat/For/Hort 571
Hanlon/Larget
September 30, 2011
Assignment #4 Due Friday, October 7 by 4:00 P.M.
Turn in homework to your TAs mailbox using this sheet as the cover page.
Fill in your name and also circle the lecture section in which you are registered
Stat/For/Hort 571
Hanlon/Larget
September 16, 2011
Assignment #2 Due Friday, September 23 by 4:00 P.M.
Turn in homework to your TAs mailbox using this sheet as the cover page.
Fill in your name and also circle the lecture section in which you are register
Stat/For/Hort 571
Hanlon/Larget
October 23, 2011
Assignment #6 Due Friday, October 28 by 4:00 P.M.
Turn in homework to your TAs mailbox using this sheet as the cover page.
Fill in your name and also circle the lecture section in which you are registered a
Stat/For/Hort 571
Hanlon/Larget
December 12, 2011
Assignment #12 Due Friday, December 16 by 4:00 P.M.
Turn in homework to your TAs mailbox using this sheet as the cover page.
Fill in your name and also circle the lecture section in which you are registere
Stat/For/Hort 571
Hanlon/Larget
October 28, 2011
Assignment #7 Due Friday, November 4 by 4:00 P.M.
Turn in homework to your TAs mailbox using this sheet as the cover page.
Fill in your name and also circle the lecture section in which you are registered a
An Introduction to Statistics 571
Bret Hanlon and Bret Larget
Department of Statistics
University of WisconsinMadison
September 6, 2011
Intro to Statistics 571
1 / 13
Welcome
Two lectures, same notes, same assignments, same exams,
different Brets.
If spac
Stat/For/Hort 571
Hanlon/Larget
December 1, 2011
Assignment #10 Due Friday, December 9 by 4:00 P.M.
Turn in homework to your TAs mailbox using this sheet as the cover page.
Fill in your name and also circle the lecture section in which you are registered