auto | R Documentation |
Automobile data from Stata
Description
This data, which comes standard in Stata, originally came from the April 1979 issue of Consumer Reports and from the United States Government EPA statistics on fuel consumption; they were compiled and published by Chambers et al. (1983).
Usage
auto
Format
A data frame with 74 rows and 12 variables
- make
Make and Model
- price
Price
- mpg
Mileage (mpg)
- rep78
Repair Record 1978
- headroom
Headroom (in.)
- trunk
Trunk space (cu. ft.)
- weight
Weight (lbs.)
- length
Length (in.)
- turn
Turn Circle (ft.)
- displacement
Displacement (cu. in.)
- gear_ratio
Gear Ratio
- foreign
Car type; 0 = Domestic, 1 = Foreign
Details
This data is used in the Probability and Regression Review chapter of Causal Inference: The Mixtape.
Source
Chambers, J. M., W. S. Cleveland, B. Kleiner, and P. A. Tukey. 1983. Graphical Methods for Data Analysis. Belmont, CA: Wadsworth.
References
Cunningham. 2021. Causal Inference: The Mixtape. Yale Press. https://mixtape.scunning.com/index.html.