| fakeAPI | R Documentation |
Hypothetical (Fake) Data on Academic Performance
Description
This is a hypothetical universe of schools in a given territorial unit,
patterned off the apipop data available in the survey package.
Usage
fakeAPI
Format
A data frame with 10000 observations on the following 8 variables.
uida numeric vector as a unique identifier for schools
schooltypea character vector for school type. E = elementary school. M = middle school. H = high school
countya character vector for the county, named after an Ohio State All-American. “County” incidence is weighted by how many All-American honors the Ohio State player had. It's my fake data. You make your own if you have a problem with it.
communitya character vector for the school's community, either rural, suburban, or urban.
apia numeric vector vector an academic performance index for the school
mealsa numeric vector for the percentage of school students eligible for subsidized meals
colgrada numeric vector for the percentage of school parents with college degrees
fullquala numeric vector for the percentage of the school with teachers that are fully qualified
sbasea numeric vector for some base differences between schools, patterned off the school type means for
api00in theapipopdata.cbasea numeric vector for some base differences between counties, randomly drawn from a uniform distribution
ea numeric vector for random errors
Details
These data were generated for a blog post on my website.
References
Miller, Steven V. 2020. "Some Parlor Tricks with Survey-Type Analyses in R." URL: https://svmiller.com/blog/2020/08/some-parlor-tricks-with-survey-type-analyses-in-r/