problemset1 - You should copy both the code you entered in...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Problem Set 1 STAT 3022, section 005 01/19/2011 The following should be completed by Tuesday, January 25. Assigned Reading Section 1.1: Displaying Distributions with Graphs (pp 1-22) Section 1.2: Describing Distributions with Numbers (pp 30-48) Section 1.3: Density Curves and Normal Distributions (pp 53-72) Section 2.1: Scatterplots (pp 83-94) Problems To Turn In Download and install R at http://cran.r-project.org/ , or use Rweb at https://rweb.stat.umn.edu/Rweb/ . Enter the following lines of code into R. You may enter each line separately, or you may enter multiple lines simultaneously. Then copy and paste the output into Microsoft Word or some other word processing document.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: You should copy both the code you entered in the command line, as well as the output following each command (including graphs). Do not include any error messages. Note: spaces are not necessary, but R is case-sensitive. #Using R as a calculator# 2 + 2 108 - 57 5 * 6 81/9 2^3 sqrt(256) exp(10) #Enter a dataset by hand# X <- c(4, 5, 3, 9, 4, 7, 3, 2) mean(X) sd(X) summary(X) #Download a dataset from a URL# dat <- read.table("http://www.stat.umn.edu/~llendway/datasets/ex01_005.txt", header=T) attach(dat) head(dat) hist(Score)...
View Full Document

Ask a homework question - tutors are online