Stat 13 - Lab 2
The Binomial and Normal Distributions
Work through the lab instructions then work the problems in bold. You will turn
in only your work on the problems in bold.
Part 1
Review: if X ~ Bin(n, p), then:
Pr(X = K) = _.
E(X) = _, Var(X) = _ (sd
Terms and understanding:
Median - the sample median is the value that most nearly lies in the middle of the sample.
Mean - the average or the mean of a sample is the sum of the observations divided by the # of observations.
Robust the value of the statist
STATISTICS 13
Statistical Methods for the Life & Health Sciences
Winter, 14
Instructor: Dr. Gary Evans
Ofce: 8105F Math Sciences
Ofce Hours: T & Th, 11:30 - 1:00
Email: gwevans@ucla.edu (connected through MyUCLA)
Course Description: Presentation and inter
| used to separate code
Kevin Nguyen
204-189-134
Stats 13 - Jalal
LAB 2
1. Exercise 1: How many cases are there in this data set? How many variables? For
each variable, identify its data type (e.g. categorical, discrete).
20000 cases are in the dataset. T
University of California, Los Angeles
Department of Statistics
Statistics 13
Instructor: Nicolas Christou
Central limit theorem - Some problems
Problem 1
Part A:
It is claimed that the histogram below shows the distribution of the sample mean x, when repe
Lab 1: Introduction to data
Some dene Statistics as the eld that focuses on turning information into knowledge. The rst step in
that process is to summarize and describe the raw information - the data. In this lab, you will gain insight
into public health
University of California, Los Angeles
Department of Statistics
Statistics 13
Instructor: Nicolas Christou
Homework 6
EXERCISE 1
Suppose that 60% of Los Angeles residents support the idea of constructing a subway system that runs from Downtown Los Angeles
Introduction to R and RStudio
The goal of this lab is to introduce you to R and RStudio, which youll be using throughout the course
both to learn the statistical concepts discussed in the texbook and also to analyze real data and come to
informed conclusi
| used to separate code
Kevin Nguyen
204-189-134
Stats 13 - Jalal
LAB 2
1. Exercise 1: How many cases are there in this data set? How many variables? For
each variable, identify its data type (e.g. categorical, discrete) .
20000 cases are in the dataset.
Stat 13
1/15/14
Week 2
stratified sampling
cluster sampling
variable types
table questions
simulation (like 7-10 on homework)
A simple random sample is a subset of
Statistics 13
Winter 2014
Midterm
This exam consists of 25 multiple choice questions covering lectures through Tuesday,
Feb. 4th.
For each question, select the one best answer and mark your choice on the scantron
form. Use a number 2 pencil to mark and ll
The Normal Linear Model
Remember, the drawing of the least squares regression (LSR) line is just a calculus
problem. How does statistics become involved? Two ways.
1st: The scatterplot weve been working with is made from measurements on 97
patients. That
Power
!
Recall from the Guide to p-values:
Type I error occurs in a hypothesis test when we reject the null hypothesis when it is
true.
It is important to understand that Type I error does not mean that we made some
mistake in our sampling approach or our
Adv Physiol Educ 38: 7179, 2014;
doi:10.1152/advan.00013.2013.
Sourcebook Of Laboratory Activities In Physiology
Spiders in motion: demonstrating adaptation, structure-function relationships,
and trade-offs in invertebrates
Melissa S. Bowlin,1 Dorothy F.
Something Completely Different - The Normal
We start with some basics about statistical variables.
Two types: numerical (quantitative) or categorical (qualitative).
Two types of categorical: nominal and ordinal. (We dont deal much with their
difference in
STAT 13
Lab3
Shengqian Liu
length(table(runif(1000)
Q1: What does this tell you?
[1] 1000
This gives us the number of elements that are drawn from 1000 random generated numbers in
uniform distribution if the range of 0 to 1.
length(table(numbers)
Q2: What
Stat 13 W14 Lab 4
The Chi-Squared Test
Lets use R to study the chi-squared distribution. Recall from lecture that if we take k
independent standard normal variables, square them, then add these together, these
values will be chi-squared distributed with k
Stat 13 W14 Lab 3 - The CLT and Its Implications
In your lab report, answer the questions and problems that appear below in
boldface.
Part 1
Download and open the data called Numbers from Week 5 of CCLE. It is the vector of
numbers between 0 & 1 collected
Stat 13
Winter 14
Homework 6
Questions 1-5
Effect Size and Power: Let X ~ N(0, 1) and Y ~ N(1, 1). We draw 1 number from each
distribution. (What are the R commands to do this?) For x, we get .253 and for y we
get -.519. Suppose we know X and Y are normal
Session 6 Notes 2/18/14
1. Normal Probability (QQ) Plot
2. Shapiro-Wilk Test
3. Binom.test / sign test
4. Wilcoxon Signed-Rank Test
Mann-Whitney-Wilcoxon U Test (a.k.a.Wilcoxon Rank Sum Test)
5. Power
1. Normal QQ Plot
- QQ stands for quantile-quantile
Sc
Small, Non-normal Samples
Consider the following problem:
Medical researchers wish to test the survivability of cadaver-obtained skin grafts on
burn victims. They believe that grafts will last longer if the patient has HL-A
compatibility with the donor-ca
Common STAT 101 Commands for RStudio
Professor Kari Lock Morgan
For bootstrapping and randomization, load resample() and reallocate():
source("/shared/kari.lock.morgan@gmail.com/simulation.R")
1
One Categorical Variable
table(x)
barplot(table(x)
resample(
Stat 13 Winter 14 Lab 5
Least Squares Regression
Install the package faraway then type:
data(prostate)
attach(prostate)
Check:
dim(prostate)
If the data has been properly loaded, this should be 97 x 9.
Type:
head(prostate, 3)
This displays the rst 3 rows
University of California Los Angeles (UCLA)
DEPARTMENT OF STATISTICS
COURSE SYLLABUS (TENTATIVE)
Course:
Lecture Meeting:
Quarter:
Professor:
Office:
E-mail:
Phone:
Office Hours:
Textbook:
STAT 13: Introduction to Statistical Methods for Life and Health S