1. Course page is on line (Oct. 3)
  2. Bring your labtop (if you have one. No need to buy a new one) for the next class. Install R and R studio before coming to the class. (OCt.6)
  3. DOWNLOAD two files (city_sec2.csv; gpa_sec2.csv) to your labtop before coming to the class tomorrow (Oct.9)
  4. Homework Tasks (Pie chart, frequency distribution table using numerical variables, histogram, scatter plot and summary data) Send by Sunday. (Oct.17)
  5. RHW1 announced. Due dat Nov. 6 (Monday) at 16:00. Submit a hard copy. (Oct.25)
  6. Quiz 1 Result (Oct.30)
  7. Quiz 2 Result (Nov. 24)
  8. Midterm Result (Dec. 6)
  9. Quiz 3 Result (Dec.10)
  10. You can come and check your exam paper Wednesday (13 Dec.) morning.
  11. Make-up Exam: Make up exam will be on Monday 18th 2017 at 11:30am. Send the instructor an e-mail if you are attending. (Dec.11)
  12. RHW2 posted. Download instruction and data set : csv; xlsx (Dec.12)


Lecture Notes

Week 1: Slide, Video1, Video2, Video3

Week 2: Slide1(group work), stent_data, Slide2

Week 3: Data for In-class Exercises: city_sec2.csv; gpa_sec2.csv    Slide, R-code

Week 4: Slide, R-code

Week 5: Slide, R-code

Week 6: Slide

Week 7: Slide

Week 9: Slide

Week 10: Slide

Week 11: Slide

Week 12: Slide


Quiz Questions

Quiz 1 [sec1, sec2]; Quiz 2 [sec1, sec2]; Quiz 3 [sec1, sec2];


R Learning Tool:  Sign up for the free R course at

and self-teach the basic operations of R. You will be more comfortable with R program.


Group Assignment

R HW 1: assignment ; data file cdc.csv; Contribution Sheet ; Honor Code

R HW 2: assignment; data file csv, xlsx ; linkContribution Sheet; Honor Code


Practice Questions

Chapter 1: Questions, Answers

Chapter 2: Questions, Answers

Chapter 3: Questions, Answers

Chapter 4: Questions - part 1, part 2, Answers-part1, part2

Chapter 5: Questions - part1, part2, Answers - part1, part2

R Homework

R related

*Download R program from

step1: set CRAN (anywhere is fine, just pick one)

step2: select R according to your PC

You can also download a package named "Rcmdr"

step1: set CRAN if you haven't done so

step2: select "Rcmdr" from the list of packages

step3: once downloaded, click "load packages" from Packages tab, then you should see the Rcmdr window pops up.


References for R

Quick R

Introduction to R Programming Course at Edx (It's FREE!)


Practice Questions