140.776 Statistical Computing



Final Exam:

             Tuesday, October 18, 1:30-2:50, W2008

             Open book

             Bring your computer

             Bring a flash drive if you don't have internet access

             Bring a pen




Hongkai Ji



Office: 615 N. Wolfe St., Rm. E3638

Office Phone: 410-955-3517

Email: hji@jhsph.edu


Teaching assistant

Thomas Prior

Office: 615 N. Wolfe St., Rm. E3038

Office hours: TBA


Class times

Tuesday 1:30 - 2:50pm

Thursday 1:30 - 2:50pm



Wolfe W2008





Lecture materials

Aug 25 (Thu): Introduction to statistical computing

Aug 30 (Tue): Getting started with R

             Data for the lecture: Speed_Ex.txt, sortdata.txt

Sep 1 (Thu): R: data types (HW 1)

             Data for the lecture: ex1.rda, student.rda

Sep 6 (Tue): R: data types

Sep 8 (Thu): R: graphics

Sep 13 (Tue): R: graphics

             data1.txt, data2.txt, data3.txt, data4.txt

Sep 15 (Thu): R: programming (HW2; HW 1 due)

             apple-banana-array.rda; apple-banana-list.rda

Sep 20 (Tue):  R: programming

Sep 22 (Thu): R: programming

Sep 27 (Tue): LaTeX

Sep 29 (Thu): R: programming


Oct 4 (Tue): R: debug (HW3; HW2 due)

             Data for the lecture: trydebug.R

Oct 6 (Thu): R: statistical functions

Oct 11 (Tue): R: statistical functions

             Data for the lecture: lm-manyx.txt

Oct 13 (Thu): Building R packages

             Windows users: don’t forget to install Rtools.

             Unix users: you need to have workable perl and latex.

             R code: square.R

Oct 18 (Tue): Final exam (BRING YOUR COMPUTER WITH R) (HW 3 due)



HW2, tree.rda

HW3, debugtest.R, varsel.txt


Data for the lectures: