Biostatistics Center

Rui Wang

Associate Professor

Dr. Rui Wang is an Associate Professor in the Department of Population Medicine (DPM) at Harvard Medical School and the Harvard Pilgrim Health Care Institute.  She is also an Assistant Professor in the Department of Biostatistics at Harvard T.H. Chan School of Public Health. Dr. Wang received her PhD Degree from Harvard University. Her research interests include the design and analysis of cluster randomized trials, where a group of subjects, as opposed to individuals, are randomized to each of the treatment arms in the trial.


In the Biostatistician's line of work there are many opportunities to create and share code in R, SAS and other statistical modeling software. We have on this page collected the code from our Biostatisticians in the Center and listed for you to review.

Lingling Li

Dr. Li has provided examples from her R code work below. Please click on the links to access the R code examples and other necessary files.

Propensity score-based sensitivity analysis method for uncontrolled confounding R Code Examples