Wooldridge Source: G.E. Battese, R.M. Harter, and W.A. Fuller (1988), “An Error-Components Model for Prediction of County Crop Areas Using Survey and Satellite Data,” Journal of the American Statistical Association 83, 28-36. This small data set is reported in the article. Data loads lazily.

data('corn')

Format

A data.frame with 37 observations on 5 variables:

  • county: county number

  • cornhec: corn per hectare

  • soyhec: soybeans per hectare

  • cornpix: corn pixels per hectare

  • soypix: soy pixels per hectare

Notes

You could use these data to illustrate simple regression when the population intercept should be zero: no corn pixels should predict no corn planted. The same can be done with the soybean measures in the data set.

Used in Text: pages 791-792

Examples

 str(corn)
#> 'data.frame':	37 obs. of  5 variables:
#>  $ county : int  1 2 3 4 4 5 5 5 6 6 ...
#>  $ cornhec: num  165.8 96.3 76.1 185.4 116.4 ...
#>  $ soyhec : num  8.09 106.03 103.6 6.47 63.82 ...
#>  $ cornpix: int  374 209 253 432 367 361 288 369 206 316 ...
#>  $ soypix : int  55 218 250 96 178 137 206 165 218 221 ...
#>  - attr(*, "time.stamp")= chr "25 Jun 2011 23:03"