Wooldridge Data loads lazily.
data('benefits')
A data.frame with 1848 observations on 18 variables:
distid: district identifier
schid: school identifier
lunch: percent eligible, free lunch
enroll: school enrollment
staff: staff per 1000 students
exppp: expenditures per pupil
avgsal: average teacher salary, $
avgben: average teacher non-salary benefits, $
math4: percent passing 4th grade math test
story4: percent passing 4th grade reading test
bs: avgben/avgsal
lavgsal: log(avgsal)
lenroll: log(enroll)
lstaff: log(staff)
bsbar: within-district avg of bs
lunchbar: within-district avg of lunch
lenrollbar: within-district avg of lenroll
lstaffbar: within-district avg of lstaff
https://www.cengage.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=9781111531041
str(benefits)
#> 'data.frame': 1848 obs. of 18 variables:
#> $ distid : num 1010 2010 2020 2070 3010 3010 3010 3020 3020 3020 ...
#> $ schid : int 4937 4959 4999 597 790 1403 4056 922 2864 4851 ...
#> $ lunch : num 48.3 51.5 51.2 33.7 11.9 ...
#> $ enroll : int 539 59 82 409 259 337 589 450 380 281 ...
#> $ staff : num 71.1 127.1 122.6 77.5 87.6 ...
#> $ exppp : int 3586 4357 5667 2752 3253 3326 2260 2934 3063 2957 ...
#> $ avgsal : num 39383 25622 31318 27873 31264 ...
#> $ avgben : int 13656 10004 12645 9657 10017 8395 10518 11032 11278 12211 ...
#> $ math4 : num 68 40 57.1 63.2 56.4 ...
#> $ story4 : num 70.7 40 57.1 73.5 64.1 ...
#> $ bs : num 0.347 0.39 0.404 0.346 0.32 ...
#> $ lavgsal : num 10.6 10.2 10.4 10.2 10.4 ...
#> $ lenroll : num 6.29 4.08 4.41 6.01 5.56 ...
#> $ lstaff : num 4.26 4.84 4.81 4.35 4.47 ...
#> $ bsbar : num 0.347 0.39 0.404 0.346 0.319 ...
#> $ lunchbar : num 48.3 51.5 51.2 33.7 20.9 ...
#> $ lenrollbar: num 6.29 4.08 4.41 6.01 5.92 ...
#> $ lstaffbar : num 4.26 4.84 4.81 4.35 4.39 ...
#> - attr(*, "time.stamp")= chr "22 Jan 2013 14:09"