b.lab-Ch1 - Outline Introduction to R Simple Random...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the 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 Unix-like operating system which is free software. I To find out about R go to http://www.R-project.org/ . See also the NY Times article http://www.nytimes.com/2009/01/07/technology/ business-computing/07program.html?pagewanted=all I To download R go to http://cran.r-project.org/ . CRAN is a network of ftp and web servers around the world that store identical, up-to-date, 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 software-based 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.

Page1 / 16

b.lab-Ch1 - Outline Introduction to R Simple Random...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online