| fakeAPI | R Documentation |
This is a hypothetical universe of schools in a given territorial unit,
patterned off the apipop data available in the survey package.
fakeAPI
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 api00 in the apipop data.
cbasea numeric vector for some base differences between counties, randomly drawn from a uniform distribution
ea numeric vector for random errors
These data were generated for a blog post on my website.
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/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.