Publications by Hao-Lun Fu

Covariance Patterns Models: Homework exercises

25.10.2020

1 Homework 1: For the claudication example, first reproduce the results of the analysis then analyze it with a model constraining baseline effect to be the same for both treatment groups while ignoring gender. The new drug Novafylline is developed to reduce the symptoms of intermittent claudication, which is a medical term for pain caused by too ...

5986 sym R (24558 sym/91 pcs) 7 img

Covariance Patterns Models: In-class exercises

25.10.2020

1 In-class exercises 2: Replicate the analysis reported in the arrhythmogenic dose of epinephrine example. The arrhythmogenic dose of epinephrine (ADE) is determined by infusing epinephrine into an animal until arrhythmia criterion is reached. The arrhythmia criterion was the occurrence of four intermittent or continuous premature ventricular con...

7406 sym R (32833 sym/66 pcs) 9 img

Generalized Estimating Equations

23.11.2020

1 In-class exercises 1: Fit a regression model for parents and another for teachers, separately, and compare the results with that from the multiple sources approach for the Connecticut child surveys example. The data are obtained from two surveys of children’s mental health. The data set consists of 1,428 children who had both parent and teach...

6994 sym R (15627 sym/64 pcs) 7 img

Generalized Linear Models II: In-class exercises

09.11.2020

1 In-class exercises 1: Replicate the analysis reported in the bullying example. Two measures of bullying behavior have been constructed. The first uses self-report on a 9-item Illinois Bully Scale. The second is peer nomination in which children list any person they perceive as a bully. The total number of nominations a person receives is a meas...

5300 sym R (14192 sym/58 pcs) 5 img

Generalized Linear Models: Homework exercises

02.11.2020

1 Homework 1: Reproduce the results of analysis reported in Chapter 11 of Behavioral data analysis with R (Cheng & Sheu, 2015) with this R script and the married dataset . 1.1 Load data file pacman::p_load(knitr, simstudy, tidyverse, nlme, rms, ggplot2, lme4, binomTools) # input data dta <- read.table('data/married.txt', header = T, fileEncodin...

5546 sym R (36978 sym/109 pcs) 11 img

Generalized linear mixed models: In-class exercises

26.11.2020

1 In-class exercises 1: Fit the Rasch model to starter data via the generalized linear mixed model framework. The data are the responses of a sample of 150 individuals to 9 multiple-choice items from a General Certificate of Education O-level mathematics paper containing 60 items in all. The responses are coded 1 for correct answer and 0 for inco...

3749 sym R (8298 sym/33 pcs) 11 img

Nonlinear mixed models: Exercises

07.12.2020

1 Exercises 1: Reproduce the results of analysis reported in the reading time and character size example. MNREAD Acuity Charts (Optelec, US Inc.) were used to measure reading speed as a function of print size. MNREAD data were collected from 42 adult observers with normal vision. Reading speed was measured in log word per minute. Print size was m...

3552 sym R (18067 sym/52 pcs) 22 img