1B013: Data Analysis Tools and Practice (Spring 2019)


Time: Tuesday 8:30-11:30 am

Location: 3202, Teaching Building, DaXing

Class web site: https://huipingsun.github.io/da2019

Instructor: Huiping Sun (sunhp(at)ss.pku.edu.cn)

TA: Zhilai Mao

Course Description

This course will introduces the feature of data analysis with R and RStudio as well as common methods of data analysis based on combination of essential operation experiments and specific case experiments. It covers R and RStudio software, R programming language, R basic graphics methods, data management, data visualization with ggplot2, statical modeling and procedures, and others useful R packages. This course helps students improve the ability of conducting data analysis in related fields independently and finishing analysis report.

Course Textbook

Course Schedule

Date

Topics

Readings

February 22

00. Course Overview [Slides]

No

February 27

01. R Overview [Slides]

March 06

02. R Object [Slides]

  • Textbook. Charpter 3: Creating a Dataset.
  • Textbook. Charpter 4: Basic Data Management.
  • Textbook. Charpter 5: Advanced Data Management.
  • W.N.Venables et al. An Introduction to R. 2016. Charpter 2, 3, 4, 5, 6.

March 13

03. R Language [Slides]

  • Textbook. Charpter 2.3: Data Input.
  • Textbook. Charpter 5.4: Control Flow.
  • Textbook. Charpter 5.5: User-written Functions.

March 20

04. R Graphics [Slides]

  • Textbook. Charpter 3: Getting Started with Graphs.
  • Textbook. Charpter 6: Basic Graphs (6.1-6.3).
  • Hrishi V. Mittal. R Graphs Cookbook. Charpter 1,2,3,4,5,6,7. PACKET. 2011

March 27

05. Course Wrap-up I [Slides]

No

April 03

06. ggplot2 I [Slides]

  • Textbook. Charpter 19: Advenced Graphics with ggplot2.
  • Hadley Wickham. ggplot2: Elegant Graphics for Data Analysis. Charpter 1-4. Springer. 2009
  • Winston Cbang. R Graphics Cookbook. O'RELLY. 2013

April 10

07. ggplot2 II [Slides]

  • Hadley Wickham. ggplot2. Elegant Graphics for Data Analysis. Charpter 4-7. Springer. 2009
  • Hrishi V. Mittal. R Graphs Cookbook. PACKET. 2011

April 17

08. R Statistics I [Slides]

  • Textbook. Charpter 7: Basic Statistics.
  • Textbook. Charpter 8: Regression.
  • Textbook. Charpter 14: Principal Components and Factor Analysis.

April 24

09. R Statistics II [Slides]

  • Textbook. Charpter 9: Analysis of Variance.

May 08

10. Course Wrap-up II [Slides]

  • Winston Cbang. R Graphics Cookbook. Oreilly. 2013

May 15

11. Jupyter [Slides]

No

May 22

12. Course Wrap-up III [Slides]

No

June 14

13. R Packages I [Slides]

TBD

June 21

14. R Packages II [Slides]

TBD

June 28

15. R Projects I [Slides]

TBD

July 05

16. R Projects II [Slides]

TBD

Course Grading

The grading scheme is as follows:

Course Projects

Course References