involvement_survey_str2s | R Documentation |
An example dataset describing a stratified, multistage sample of 1,000 parents
of students with disabilities, from a population of 20,000.
The parent involvement survey measures a single key outcome:
whether "parents perceive that schools facilitate parent involvement
as a means of improving services and results for children with disabilities."
The sample was selected by sampling 5 schools from each of 20 districts,
and then sampling parents of 10 children in each sampled school.
The variable BASE_WEIGHT
provides the base sampling weight.
The variable SCHOOL_DISTRICT
was used for stratification,
and the variables SCHOOL_ID
and UNIQUE_ID
uniquely identify
the first and second stage sampling units (schools and parents).
The variables N_SCHOOLS_IN_DISTRICT
and N_STUDENTS_IN_SCHOOL
can be used to provide finite population corrections.
involvement_survey_str2s
A data frame with 5,000 rows and 18 variables
A unique identifier for students
Survey response/eligibility status: 'Respondent', 'Nonrespondent', 'Ineligble', 'Unknown'
Parent agreement ('AGREE' or 'DISAGREE') for whether they perceive that schools facilitate parent involvement
A unique identifier for school districts
A unique identifier for schools, nested within districts
Student's grade level: 'PK', 'K', 1-12
Student's age, measured in years
Code for student's disability category (e.g. 'VI' for 'Visual Impairments')
Student's disability category (e.g. 'Visual Impairments')
'Female' or 'Male'
Seven-level code with descriptive label (e.g. 'AS7 (Asian)')
Whether parent has an e-mail address ('Has Email' vs 'No Email')
Population benchmark for category of PARENT_HAS_EMAIL
Population benchmark for category of STUDENT_RACE
Total number of schools in each district
Total number of students in each school
Sampling weight to use for weighted estimates
The number of contact attempts made for each case (ranges between 1 and 6)
# Load the data
involvement_survey_str2s
# Prepare the data for analysis with the 'survey' package
library(survey)
involvement_survey <- svydesign(
data = involvement_survey_str2s,
weights = ~ BASE_WEIGHT,
strata = ~ SCHOOL_DISTRICT,
ids = ~ SCHOOL_ID + UNIQUE_ID,
fpc = ~ N_SCHOOLS_IN_DISTRICT + N_STUDENTS_IN_SCHOOL
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.