FINAL EXAM
Final Exam is scheduled at 6:30PM on Wednesday, 12/13
Check Canvas for the room assignment
Final Exam Review
The Final Exam is cumulative and consists of 45 multiple
choice questions
Ap
Types:
- Observational study
- Observe both response and explanatory variable without assigning treatment
- non-experimental
- Experimental study
- Assign subjects to diff experimental conditions and
Teresa Apel
Essay #1
Mainstream media will argue today that because we have had significant progress in civil
rights and a black president that the US is a post racial society in which social mobility
QTM220 Problem Set 2
Professor Adam Glynn
September 8, 2017
All submissions must be word-processed. Your write-up is due before the beginning of lab on Sept. 15,
and should be submitted electronically
QTM 220 Problem Set 7
Professor Adam Glynn
October 11, 2017
Your write-up is due before lab at on Friday, October 20 and should be submitted electronically on
Canvas. In addition, your .R should be sa
Clark 1
POLS 201: Classical Political Thought
Book I, Chapters 1-3
Cyrus the Great, as described in the book, is a very rare exception of that long held belief. On
page 22, the text reads, in relation
Examining
Numerical Data
Measures of Center
Where the data tends to centralize
How it is alike
Mean
Median
Mode
Mean
The sample mean or average, denoted as xx, can be calculated as
where x1, x2, ., xn
Considering
Categorical Data
Another look at Data
Categorical Data nominal (binary if 2)
ordinal
Numerical Data interval
ratio
Frequency
Tables
show the count
Relative
Frequency Tables
show the %
1. In a experiment we've given three people two different drugs (a and
b) and recorded their heart rate: Tidy this simple tibble, do you need
to spread or gather it? What are the variables?
library(ti
Explore the relational data frames of flights: airports, weather, planes.
1. Compute the average delay by destination, then join on the airports
data frame so you can show the spatial distribution of
1. Explore the distribution of Murder. What can you see? What might
explain that pattern? Experiment with different bin width.
library(readr)
fbi_60_12 <- read_csv("~/Downloads/fbi-60-12.csv")
#
#
#
#
Unimodal and symmetric, bell shaped curve
Many variables are nearly normal, but none are exactly normal
Denoted as N(, ) Normal with mean and standard
deviation
SAT scores are distributed nearly nor
Researchers randomly assigned 72 chronic users of cocaine into
three groups: desipramine (antidepressant), lithium (standard
treatment for cocaine) and placebo. Results of the study are
summarized be
A random variable is a variable X that has a single numerical outcome
determined by chance.
We use a capital letter, like X, to denote a random variable
There are two types of random variables:
Dis
Data Collection
Carelessly
collected data is
USELESS!
Anecdotal
Data
Evidence
collected in haphazard
fashion, even if it is true, may
only represent extraordinary
cases.
Anecdotal evidence and early s
Why do we need to study quantitative methods and statistics?
Concentration of pheromone (more in red color) after 10,000 time steps (6.67min.),
20,000 time steps (13.33min.) and 40,000 time steps (26.
Probability Experiment random process leading to an outcome
Examples: coin tosses, die rolls, iTunes
shuffle, whether the stock market goes
up or down tomorrow, etc.
Outcome
Sample
Space
Event
Sim
People
participating in the
experiment may be called patients,
cases, participants, volunteers, or
experimental units.
What
is experimental design?
1.Identify
question, population
2.Develop data col
Ningyi Zhang
Lab 6
1. Import abductees.csv and examine a summary of the data set closely. Identify any
unusual features of the data.
(a) Create a new variable that corrects the coding of sex , and che
Ningyi Zhang
Lab 9
1. Explore the lead blood levels of the children in 1972 (Ld72) and 1973 (Ld73).
(a) Are these measurements paired, or do the represent two independent groups. Why?
The measurements
Lab 11 practice
Ningyi Zhang
1. We will focus on the response variable GPA.
(a) Produce a plot displaying the distribution of GPA. Which plot did you produce,
and how would you describe the distributi
Ningyi Zhang
Lab 5
For this lab, you will need to import the yrbss2013.csv data set, as well as submit the
files contained within SamplingFunctions.R .
For questions 1-5 you will explore repeated samp
Ningyi Zhang
Lab 3
#1 Import the ADNI data set. How many observations are there?
Output : [1] 276 7
276 observations
#2 For each variable in the data set, describe what the variable represents in real