Stat 371
Sijing Li
January 21, 2016
Assignment #1 Solutions
1. Spider Data
(a) One possible histogram is below:
3
0
1
2
Frequency
4
5
6
Histogram of Spider Speeds
1.0
1.5
2.0
2.5
3.0
3.5
cm/s
R code to create this might look like:
#enter data#
speeds <- c
Stat 371
Sijing Li
January 27, 2016
Assignment #2 Solutions
1. Circuit boards.
(a) The circuit board as a whole is only functional if both resistors are functional. Since the draws out
of each bin are independent, we multiply the probabilities that each r
STAT 371 Practice Exam 2
Last name:
First name:
Discussion no.:
NetID:
Instructions.
1. This practice test is longer and more difficult than the real test.
2. Print your name clearly.
3. Do not open the exam until I say go.
4. Put away everything except a
# Author: Travis Oliphant, 2002
#
# Further updates and enhancements by many SciPy developers.
#
from _future_ import division, print_function, absolute_import
import math
import warnings
from collections import namedtuple
import numpy as np
from numpy im
0
Chapter 1
The Completely Randomized Design
1.1 Study Suggestions
A statistic is a number. Statistics, the discipline, is a collection of principles and methods that help us learn about our world. Statistics is concerned with efcient learning (learning a
Chapter 2
Hypothesis Testing
I put the word real in quotation marks because it is not obvious what I mean by that word. Hypothesis The analysis of Chapter 1 is called descriptive. testing can be viewed as a technical device for obChapter 2 introduces stat
Chapter 3
Approximating a Sampling Distribution
Table 3.1: Heights of the rectangles in the probability histogram of the sampling distribution of the test statistic for Fishers test for the Ballerina study.
x P (X = x) 0.40 0.0009 0.32 0.0081 0.24 0.0387
Chapter 4
The Randomized Block Design
4.1 Study Suggestions
Chapter 1 of the text introduced the CRD as a device for comparing two treatments. Chapter 2 introduced the hypothesis test for analyzing data from a CRD. Chapter 3 gave two methods, computer sim
Chapter 5
One-Population Models
5.1 Study Suggestions
In the rst four chapters of the text, the results of a study literally were restricted to the subjects in the study. Chapter 5 begins the investigation of methods for extending what has been learned in
Chapter 6
Inference for a Population
6.1 Study Suggestions
Let X be a random variable with the binomial sampling distribution with parameters n and p. In Chapter 5 you learned that X can arise when taking a random sample from a nite population, or when ob
Discussion 2: Descriptive statistics
Statistics 371
September 13-14, 2016
1. (From Ott & Longnecker, 3.21)
The ratio of the chemical DDE (which is related to DDT) to PCB concentrations in bird eggs has been
shown to have a number of biological implication
Stat 371
Discussion 2: Descriptive Stats
January 24-25, 2017
1. The National Hockey League (NHL) consists of 30 teams. Teams earn points during the regular season by
playing 82 games against other teams in the league. If a game is decided in regulation, t
STAT 371
Comparing Two Independent Populations
section 6.2, 6.3 of Ott and Longnecker.
Bootstrap for Two Samples
What if the data does not appear to have been drawn from a
normally distributed population?
Cyphoderris strepitans mate, the male allows the f
Stat 371
Goodness of Fit tests
(Sections 10.3-10.7)
Chi-Square Test with Specified
Probabilities
Are
males and females in our class equally likely to
attend lecture?
H0: Males and Females are equally likely to attend;
HA: Males and Females are not equa
Stat 371
Assignment #10 Due Friday, May 6, by 4pm
*Submit your homework to your TAs mailbox anytime prior to the due date/time. The mailboxes are to the
left as you enter the Medical Science Center (1300 University Ave.) from the main University Ave. entr
Stat 371
Assignment #5 Solutions
1. Spinach
(a) Since it is bad if the packages are either too heavy or too light, we need a two-sided alternative. If is
the population mean package weight, then our hypotheses might be:
H0 : = 8oz
HA : 6= 8oz
(b) Weve rea
HW4-Disc 321
Alyssa Acker
February 26, 2016
Problem 1:
1a)
data <- c(0.43,4.89,5.29,5.16,0.59,7.50,4.48,6.22) # data
qqnorm(data)
5
4
3
2
1
Sample Quantiles
6
7
Normal QQ Plot
1.5
1.0
0.5
0.0
0.5
1.0
1.5
Theoretical Quantiles
We can assume that the popula
HW 8
Alyssa Acker
April 5, 2016
1.
wilcox.test(A,B,alternative="less")
#
# Wilcoxon rank sum test
#
# data: A and B
# W = 3, p-value = 4.168e-05
# alternative hypothesis: true location shift is less than 0
Calculated p-value is 4.168e-5 or .00004<.05, we
HW2
Alyssa Acker
February 5, 2016
1.
a) If the probability that the red resistor is functional is 90% (0.9) and the probability that the green
resistor is functional is 75% (0.75), then the probability that they are BOTH funcitonal is 0.9*0.75 =
0.675 (65
Bryce Patin
Statistics 371
Section 313
Homework #3
3. Read the article Adult persistence of head turning asymmetry, which is posted to
Learn as, HW3Article.pdf. Then answer the following questions, using 2-3 sentences for
each question. Please type your a
Stat 371
Discussion Week 4: Random Variables and Distributions
February 7-8, 2017
1. An auto body shop estimates repair costs with the help of a fair 4-sided die and a set of tables. Here is the
table for cars with a scraped fender:
die roll
1
2
3
4
cost
Stat 371
Discussion 5: Random Variables and Distributions
Feb 13-15, 2017
1. A professor has 184 students in his college mathematics lecture class. The scores on the midterm exam are
approximately normally distributed with a mean of 72.3 and a standard de