10 数据集介绍
10.1 mpg数据集
mpg(Mileage per gallon performances of various cars)数据集是关于“各种车型每加仑英里数表现”的数据。它包含1999年至2008年间每年都有新版本的型号 - 被用于衡量汽车的受欢迎程度。
数据格式:有234个观测(行)和11个变量(列)。
变量含义
| 缩写 | 全称 | 中文解释 |
|---|---|---|
| manufacturer | manufacturer name | 制造商 |
| model | model name | 型号 |
| displ | engine displacement, in litres | 发动机排量(升) |
| year | year of manufacture | 制造年份 |
| cyl | number of cylinders | 气缸数 |
| trans | type of transmission | 变速器类型 |
| drv | the type of drive train, where f = front-wheel drive, r = rear wheel drive, 4 = 4wd | 驱动类型,f是前驱,r是后驱,4是四驱 |
| cty | city miles per gallon | 每加仑城市英里数 |
| hwy | highway miles per gallon | 每加仑高速英里数 |
| fl | fuel type | 燃油类型 |
| class | ‘type’ of car | 车型大小 |