This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: Outline Introduction to R Simple Random Sampling Basic Statistical Graphics Lab on Chapter 1 Chapter 1: Basic Statistical Concepts M. George Akritas M. George Akritas Lab on Chapter 1 Chapter 1: Basic Statistical Concepts Outline Introduction to R Simple Random Sampling Basic Statistical Graphics Introduction to R Simple Random Sampling Basic Statistical Graphics Histograms and Stem and Leaf Plots Scatterplots, Scatterplot Matrices and 3D Scatterplots M. George Akritas Lab on Chapter 1 Chapter 1: Basic Statistical Concepts Outline Introduction to R Simple Random Sampling Basic Statistical Graphics I R is a GNU project. The GNU (recursive acronym for ”GNU’s Not Unix”) project, sponsored by the Free Software Foundation, was launched in 1984 to develop a complete Unixlike operating system which is free software. I To find out about R go to http://www.Rproject.org/ . See also the NY Times article http://www.nytimes.com/2009/01/07/technology/ businesscomputing/07program.html?pagewanted=all I To download R go to http://cran.rproject.org/ . CRAN is a network of ftp and web servers around the world that store identical, uptodate, versions of code and documentation for R. Please use the CRAN mirror nearest to you to minimize network load (e.g. the CMU mirror http://lib.stat.cmu.edu/R/CRAN/ . M. George Akritas Lab on Chapter 1 Chapter 1: Basic Statistical Concepts Outline Introduction to R Simple Random Sampling Basic Statistical Graphics Example 1.4.1, p. 10 Example Describe a softwarebased procedure for obtaining a simple random sample of 12 mixers from a day’s production of 60 mixers. Solution. Number the mixers from 1 to 60. Use ”sample(seq(1, 60), size = 12)” or ”y=sample(seq(1, 60), size = 12); y” NOTES: • ”seq(1,60)” is the same as ”seq(1,60,1)” or 1:60. • Try also ”seq(1,10,2)”. M. George Akritas Lab on Chapter 1 Chapter 1: Basic Statistical Concepts Outline Introduction to R Simple Random Sampling Basic Statistical Graphics NEED RANDOM VARIABLES AND STATISTICAL POPULATIONS FROM LESSON 2. M. George Akritas Lab on Chapter 1 Chapter 1: Basic Statistical Concepts Outline Introduction to R Simple Random Sampling Basic Statistical Graphics Example 1.6.3, p. 22 Example The productivity of each of the N = 10 , 000 employees of a company is rated on a scale from 1  5. Let the statistical population...
View
Full
Document
This note was uploaded on 01/11/2012 for the course STAT 401 taught by Professor Akritas during the Fall '00 term at Penn State.
 Fall '00
 Akritas

Click to edit the document details