Publications by Ching-Fang Wu

Week8 homework 3

01.11.2020

1 Introduction This dataset is based on 2012 American National Election Survey. The response variable of interest is whether the respondent had voted in 2008. There are 2 covariates: age and the marital status of the respondent. Source: nes{poliscidata} Column 1: Age (in year) Column 2: Marital status, 1 = Married, 0 = Not married Column 3: Numbe...

781 sym R (6635 sym/32 pcs) 3 img

Week8 In-class exercises 1

01.11.2020

1 Introduction Consider the outcome of a brightness discrimination experiment. On each trial, two patches of light were presented: one was a standatd with an intensity of 35 units, and another was a variable intensity comparison light. The subject was asked to indicate which one of the lights was brighter. Source: Gegenfurtner, K. (1992). Praxis:...

811 sym R (1874 sym/9 pcs) 1 img

Week9 In-class exercise1

02.11.2020

1 Introduction 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 measure of bullying behavior. Source: Espelage, D.L., Holt, M.K., & He...

1270 sym R (6028 sym/32 pcs) 4 img

Week9 In-class exercise2

08.11.2020

1 Introduction A sample of 978 young men aged 20 to 22 years was extracted from the National Longitudinal Survey of Youth (NLSY). The outcome of interest is whether a youth’s reported major activity in 1985 was (1) working, (2) in school, or (3) inactive. Six additional variables were also recorded. Source: Powers, D.A., & Xie, Y. (2000). Stati...

1053 sym R (7131 sym/20 pcs)

Week9 In-class exercise3

09.11.2020

Reproduce the results of analysis reported in the mental impairment and SES example by adapting the R script in the lecture note and from the rating experiment example. The mental health status of a sample of 1,660 young New York residents in midtown Manhattan was classified by their parents’ socioeconomic status (A=High, F=Low). Source: Srole,...

1161 sym R (3020 sym/25 pcs)

Week10 In-class exercise1

22.11.2020

1 Introduction 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 teacher responses, and an additional 1,073 children with only a parent response. In the psychiatric literature, these sources of respondents are often referred to as “informants”. A standardized ...

3239 sym R (4264 sym/30 pcs) 1 img

Week10 Homework 2

23.11.2020

introduction The data are from a survey of primary care patients in Cantabrian, Spain, to estimate the prevalence of psychiatric illness. The prevalence for each of the sexes is estimated from data provided by the general practitioner and from completing the general health questionnaire. Source: Everitt, B.S., & Dunn, G. (2001). Applied Multivari...

817 sym R (2389 sym/14 pcs) 1 img

Week10 In-class exercise2

23.11.2020

1 Introduction The data come from a randomized, double-blind clinical trial comparing active hypnotic drug with a placebo in patients who have insomnia problems. The response is the patient’s reported time (in minutes) to fall asleep after going to bed. Patients responded before and after a two-week treatment period. The patients receiving the ...

1415 sym R (3417 sym/15 pcs) 1 img

Week10 Homework 1

23.11.2020

Introduction The data are from the Muscatine Coronary Risk Factor (MCRF) study, a longitudinal survey of school-age children in Muscatine, Iowa. The MCRF study had the goal of examining the development and persistence of risk factors for coronary disease in children. In the MCRF study, weight and height measurements of five cohorts of children, i...

2168 sym R (5868 sym/15 pcs) 2 img

W11 in-class exercise1

27.11.2020

1 Introduction 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 incorrect. The items appear to test ability in two-dimensional Euclidean geometry. The data have on...

3076 sym R (2382 sym/22 pcs) 3 img