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


Time: Thursday 14:00-17:00

Location: 3202, Teaching Building, DaXing

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

Class online: Zoom(8841985359)

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

TA: Jiahao Zhang

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 20

00. Course Overview [Slides]

No

February 20

01. R Overview [Slides]

February 27

02. R Object I [Slides]

March 5

02. R Object II [Slides]

March 12

03. R Language [Slides]

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

March 19

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 26

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 3

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 10

08. R Statistics I [Slides]

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

April 17

09. R Statistics II [Slides]

  • Textbook. Charpter 9: Analysis of Variance.

April 24

10. Course Wrap-up II [Slides]

  • Winston Cbang. R Graphics Cookbook. Oreilly. 2013

April 30

11. Jupyter [Slides]

No

May 7

12. Course Wrap-up III [Slides]

No

May 14

13. R Packages I [Slides]

TBD

May 21

14. R Packages II [Slides]

TBD

May 28

15. R Projects I [Slides]

TBD

June 04

16. R Projects II [Slides]

TBD

Course Grading

The grading scheme is as follows:

Course Projects

Course References

Course History