autism {WWGbook}R Documentation

autism data in Chapter 6

Description

The data comes from researchers at the University of Michigan as part of a prospective longitudinal study of 214 children.

Usage

data(autism)

Format

A data frame with 612 observations on the following 4 variables.

age
: Age in years (2, 3, 5, 9, 13); the time variable
vsae
: Vineland Socialization Age Equivalent: parent-reported socialization, the dependent variable measured at each age
sicdegp
: Sequenced Inventory of Communication Development Expressive Group: categorized expressive language score at age 2 years (1 = Low, 2 = Medium, 3 = High)
childid
: Unique child identifier

References

Oti, R., Anderson, D., Risi, S., Pickles, A. & Lord, C., Social Trajectories Among Individuals with Autism Spectrum Disorders, Developmental Psychopathology (under review), 2006.

West, B., Welch, K. & Galecki, A, Linear Mixed Models: A Practical Guide Using Statistical Software, Chapman Hall / CRC Press, first edition, 2006.

Examples

attach(autism)

###Figure 6.1: Observed VSAE values plotted against age for children in each SICD group. 

sicdegp.f <- factor(sicdegp)
age.f <- factor(age)

# Add the new variables to a new data frame object.
autism.updated <- data.frame(autism, sicdegp.f, age.f)

library(lattice)  # Load the library for trellis graphics.
 
# Load the nlme library, which is required for the 
# plots below as well as for subsequent models.
library(nlme)

autism.g1 <- groupedData(vsae ~ age | childid, 
outer = ~ sicdegp.f, data = autism.updated)

plot(autism.g1, display = "childid", outer = TRUE, aspect = 2, key = FALSE, xlab = "Age (Years)", ylab = "VSAE", 
main = "Individual Data by SICD Group") 

[Package WWGbook version 1.0.0 Index]