1. (F011 2008, question 3) The American Veterinary Association claims that the annual cost at
medical care for dogs averages $100 with a standard deviation of $30 and that the annual cost
for cats averages $120 with a standard deviation of 5-10. Assume in
Things to learn:
-Types of histograms, box plots, and regression scatter plots that need transformations:
Transformations of the form Y^k where k= -1, -, 0 (log), , 1 (identity), 2
-least-squares line from mean, varience, and correlation r : y = b0 + b1 *
STATISTICS 104
Name:
FINAL EXAM SOLUTIONS
Key
Section TF/day and time:
Final Exam Solutions
Tuesday May 20, 2008
This is a closed-book exam. You may bring in three 8.5 x 11 two-sided sheets of
notes and a calculator.
All work must be your own. You may n
STATISTICS 104
FINAL EXAM SOLUTIONS
Name: Key
Section TF/day and time:
Final Exam Solutions
Thursday January 22, 2009
This is a closed-book exam. You may bring in three 8.5 x 11 two-sided sheets of
notes and a calculator.
All work must be your own. You
Statistics104
Homework #10
Due: April 24, 2009
1. Hot dogs. Fifty-four major brands of hot dogs were subjected to laboratory analysis with
respect to calories. The hot dogs were classified by type into one of three categories: beef,
poultry or meat (pork
STATISTICS 104 FALL 2007
1.
MIDTERM 2 SOLUTIONS
DECEMBER 3, 2007
1
(20 points) A restaurant association funded a study to refine its advertising strategy. The
study determined the annual amount of money households spent on food away from home
and compared
STATISTICS 104
1
FINAL EXAM
Name:
Section TF/day and time:
Final Exam
Tuesday May 20, 2008
This is a closed-book exam. You may bring in three 8.5 x 11 two-sided sheets of
notes and a calculator.
All work must be your own. You may not give or receive aid
STATISTICS 104 FALL 2007
MIDTERM 1
1
Name:
Section TF/day and time:
Midterm 1
Friday, October 26, 2007
This is a closed-book exam. You may bring in one 8.5 x 11 two-sided sheet of
notes and a calculator.
All work must be your own. You may not give or rece
STATISTICS 104 FALL 2007
Name:
MIDTERM 1 - SOLUTIONS
Key
Section TF/day and time:
Midterm 1 - Solutions
Friday, October 26, 2007
This is a closed-book exam. You may bring in one 8.5 x 11 two-sided sheet of
notes and a calculator.
All work must be your own
STATISTICS 104
1
FINAL EXAM
Name:
Section TF/day and time:
Final Exam
Thursday January 22, 2009
This is a closed-book exam. You may bring in three 8.5 x 11 two-sided sheets of
notes and a calculator.
All work must be your own. You may not give or receiv
STATISTICS 104 FALL 2008
MIDTERM EXAM
1
Name:
Section TF/day and time:
Midterm Exam
Monday, November 3, 2008
This is a closed-book exam. You may bring in one 8.5 x 11 two-sided sheet of
notes and a calculator.
All work must be your own. You may not give o
STATISTICS 104
1
FINAL EXAM
Name:
Section TF/day and time:
Final Exam
Wednesday January 16, 2008
This is a closed-book exam. You may bring in three 8.5 x 11 two-sided sheets of
notes and a calculator.
All work must be your own. You may not give or recei
STATISTICS 104 FALL 2007
MIDTERM 2
1
Name:
Section TF/day and time:
Midterm 2
Monday, December 3, 2007
This is a closed-book exam. You may bring in two 8.5 x 11 two-sided sheets
of notes and a calculator.
All work must be your own. You may not give or rec
Statistics 104
Homework #9
Due: April 10, 2009
1. Fertility. Fertility rate is defined as the number of children a woman bears, on average, in her
lifetime. The association between the percentage of married women who use contraception and
the fertility ra
STATISTICS 104 FALL 2008
Name:
MIDTERM EXAM
Solutions
Section TF/day and time:
Midterm Exam
Monday, November 3, 2008
This is a closed-book exam. You may bring in one 8.5 x 11 two-sided sheet of
notes and a calculator.
All work must be your own. You may no
STATISTICS 104 SPRING 2008
MIDTERM EXAM
1
Name:
Section TF/day and time:
Midterm Exam
Friday, March 14, 2008
This is a closed-book exam. You may bring in one 8.5 x 11 two-sided sheet of
notes and a calculator.
All work must be your own. You may not give o
STATISTICS 104
Name:
FINAL EXAM SOLUTIONS
1
Key
Section TF/day and time:
Final Exam
Wednesday January 16, 2008
This is a closed-book exam. You may bring in three 8.5 x 11 two-sided sheets of
notes and a calculator.
All work must be your own. You may not
Introduction to Big Data
with Apache Spark
UC BERKELEY
This Lecture
Programming Spark
Resilient Distributed Datasets (RDDs)
Creating an RDD
Spark Transformations and Actions
Spark Programming Model
Python Spark (pySpark)
We are using the Pytho
Introduction to Big Data!
with Apache Spark"
UC#BERKELEY#
This Lecture"
The Big Data Problem"
Hardware for Big Data"
Distributing Work"
Handling Failures and Slow Machines"
Map Reduce and Complex Jobs"
Apache Spark"
Some Traditional Analysis Tools"
Unix
Introduction to Big Data
with Apache Spark
UC BERKELEY
This Lecture
Structured Data and Relational Databases
The Structured Query Language (SQL)
SQL and pySpark Joins
Review: Key Data Management Concepts
A data model is a collection of concepts f
Introduction to Big Data
with Apache Spark
UC BERKELEY
This Lecture
The Structure Spectrum
Files: Formats and Performance
Tabular Data: Examples, Challenges, pySpark DataFrames
Log Files
Review: The Big Picture
Extract
Transform
Load
Key Data
Introduction to Big Data!
with Apache Spark"
UC#BERKELEY#
Course Goals"
This Lecture"
Brief History of Data Analysis"
Big Data and Data Science Why All the Excitement?"
Where Big Data Comes From"
Course Goals"
1. Learn about Data Science "
Where Big Data
Multiple Regression
1. The following data relate the selling price of a house to the living space, the lot size, and
the number of bathrooms for recently sold homes in a common area.
Selling
Price
170
177
191
194
202
210
214
228
240
252
House size (square
Stat 110
Section 7 Midterm Review
TF: Mingshu Huang (mingshuhuang@fas.harvard.edu)
Section Hour: Tue 3-4pm, SC-216
Office Hour: Wed 9-10pm, SC-300H
Problems:
1. (Larger or Smaller) For each part, decide whether the blank should be filled in with =, <
or >
POLL SAYS MAJORITY OF AMERICANS PREFER MEDICAR FOR ALL HEALTH CARE
By: Michael Edison Hayden
A growing number of Americans now support the idea of federally-funded
healthcare, according to a new poll conducted by Gallup measuring response to
each of the t
Carly Conway 1
Homework 5
1. Ho: =5.5 oz
Ha: <5.5 oz n=64 df=63 s=.24 =5.23 oz
= /
t=-9
p(t<-9)= .002 x=.05>p val=.002 therefore we reject the null
At a 5% significance level, there is significant evidence to say <5.5 oz so therefore we
reject the null t
1
Stats HW #2
1.
a.
b.
c.
d.
e.
f.
g.
h.
2.
3.
a.
b.
c.
d.
e.
f.
4.
a.
b.
c.
d.
e.
5.
a.
b.
c.
d.
6.
a.
b.
c.
d.
e.
f.
7.
8.
a.
b.
c.
9.
a.
b.
?= .20
P(A) = .82
P(B) = .80
Complement of A= .18
P(A or B) = .82 + .80 - .62 = 1
P(A and B) = .62
No
Yes
P(at l