using r for introductory statistics

12
Using R for Introductory Statistics CHAD BIRGER UNIVERSITY OF SIOUX FALLS

Upload: zubeda

Post on 23-Feb-2016

98 views

Category:

Documents


0 download

DESCRIPTION

Using R for Introductory Statistics. Chad Birger University of Sioux Falls. Statistics at USF. Courses Taught: MAT233: Introduction to Statistics MAT302: Probability and Statistics. Introduction to Statistics. Three Main Units: Data and Descriptive Statistics Probability - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Using R for Introductory Statistics

Using R for Introductory StatisticsCHAD BIRGERUNIVERSITY OF SIOUX FALLS

Page 2: Using R for Introductory Statistics

Statistics at USF Courses Taught:

MAT233: Introduction to Statistics

MAT302: Probability and Statistics

Page 3: Using R for Introductory Statistics

Introduction to Statistics Three Main Units:

1. Data and Descriptive Statistics

2. Probability

3. Basic Inferential Statistics

Page 4: Using R for Introductory Statistics

Data Methods of Data Entry:

1. Using a list to enter data:

2. Using the scan() function:

3. Reading in from a database table

Page 5: Using R for Introductory Statistics

Graphing Data Categorical Data:

◦ Table◦ Bar-plot◦ Pie Chart

Numerical Data:◦ Stem-plot◦ Histogram◦ Box-Plot

Page 6: Using R for Introductory Statistics

Measures of Center Mean

Median

Mode

Midrange

Page 7: Using R for Introductory Statistics

Measures of Variation and Position

Sample Variance

Sample Standard Deviation

Quartiles and Quantiles◦ Five-number summary◦ Percentiles◦ Inner Quartile Range

Z-scores

Page 8: Using R for Introductory Statistics

Paired Categorical DataChild

Parent Buckled Unbuckled

Buckled 56 8

Unbuckled 2 16

Page 9: Using R for Introductory Statistics

Paired Numerical Data Scatter-plot of paired data

Correlation Coefficient

Linear Regression Line

Page 10: Using R for Introductory Statistics

Probabilities R has functions built in for most “families”

◦ “d”: Returns the p.d.f. of the distribution◦ “p”: Returns the c.d.f. of the distribution◦ “q”: Returns the quantiles◦ “r”: Returns random samples from a distribution

Page 11: Using R for Introductory Statistics

And Much more Simulation

Confidence Intervals

Significance Tests

Goodness of Fit

Linear Regression

Analysis of Variance

Page 12: Using R for Introductory Statistics

Using R Advantages of using R for an Introductory Statistics Course:

◦ Free◦ Programmable◦ Many references available (for FREE)

Disadvantages:◦ Lack of Student Computing Background◦ Not Point-and-Click◦ Using for in-class exams