BSDA
BSDA
BSDA
R topics documented:
Abbey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Abc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Abilene . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Ability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Abortion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Absent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Achieve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Adsales . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Aggress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Aid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1
2 R topics documented:
Aids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Airdisasters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Airline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Alcohol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Allergy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Anesthet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Anxiety . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Apolipop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Append . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Appendec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Aptitude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Archaeo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Arthriti . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Artifici . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Asprin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Asthmati . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Attorney . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Autogear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Backtoback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Bbsalaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Bigten . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Biology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Birth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Blackedu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Blood . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Bones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Books . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Bookstor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Brain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Bumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Bypass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Cabinets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Cancer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Carbon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Cat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Censored . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Challeng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Chemist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Chesapea . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Chevy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Chicken . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Chipavg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Chips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Cigar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Cigarett . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
CIsim . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
R topics documented: 3
Citrus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Clean . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Coaxial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Coffee . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Coins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Combinations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Commute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Concrete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Corn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Correlat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Counsel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Cpi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Crime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Darwin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Dealers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Defectiv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Degree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Depend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Detroit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Develop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Devmath . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Dice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Diesel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Diplomat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Disposal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Dogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Domestic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Dopamine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Dowjones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Drink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Drug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Dyslexia . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Earthqk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
EDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Educat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Eggs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Elderly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Energy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Engineer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Entrance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Epaminicompact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Epatwoseater . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Executiv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Fabric . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Faithful . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
4 R topics documented:
Family . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Ferraro1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Ferraro2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Fertility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Firstchi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Fish . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Fitness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Florida2000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Fluid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Food . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Framingh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Freshman . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Funeral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Galaxie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Gallup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Gasoline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
German . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Golf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Governor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Gpa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Grades . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Graduate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Greenriv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Grnriv2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Groupabc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Gym . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Habits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Haptoglo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Hardwood . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Heat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Heating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Hodgkin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Homes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Homework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Honda . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Hostile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Housing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Hurrican . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Iceberg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Income . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Independent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Indian . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Indiapol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Indy500 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Inflatio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Inletoil . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
R topics documented: 5
Inmate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Inspect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
Insulate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Iqgpa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Irises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Jdpower . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Jobsat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Kidsmoke . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Kilowatt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Kinder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Laminect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Lead . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Leader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Lethal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Life . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Lifespan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Ligntmonth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Lodge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Longtail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Lowabil . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Magnesiu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Malpract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Marked . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Math . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Mathcomp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Mathpro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Maze . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Median . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Mental . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Mercury . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
Metrent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
Miller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Miller1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Moisture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Monoxide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Movie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
Music . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Nascar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Nervous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Newsstand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Nfldraf2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Nfldraft . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Nicotine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
normarea . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
nsize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
ntester . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
6 R topics documented:
Orange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Orioles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Oxytocin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Parented . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Patrol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Pearson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Phone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Poison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Politic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Pollutio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Porosity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Poverty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Precinct . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
Prejudic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Presiden . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Press . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Prognost . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Psat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Psych . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Puerto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Quail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Quality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Rainks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Randd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Rat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Reaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
Readiq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
Referend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
Region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Rehab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Remedial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
Rentals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Repair . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
Retail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
Ronbrown1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
Ronbrown2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
Rural . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
Salary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Salinity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Sat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
Saving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Scales . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Schizop2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Schizoph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
R topics documented: 7
Seatbelt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Selfdefe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Senior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Sentence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Shkdrug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Shock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
Shoplift . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
Short . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
Shuttle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
SIGN.test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
Simpson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
Situp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
Skewed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
Skin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
Slc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Smokyph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
Snore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
Snow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Soccer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Social . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Sophomor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
South . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Spellers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Spelling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
Sports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
Spouse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
SRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
Stable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
Stamp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
Statclas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
Statelaw . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
Statisti . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
Step . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
Stress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Study . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
Submarin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
Subway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Sunspot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Superbowl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
Supercar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
Tablrock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
Teacher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
Tenness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
Tensile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
Test1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
Thermal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Tiaa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
8 Abbey
Ticket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
Toaster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
Tonsils . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
Tort . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
Toxic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Track . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Track15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
Treatments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
Trees . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
Trucks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
tsum.test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
Tv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
Twin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
Undergrad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
Vacation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
Vaccine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
Vehicle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
Verbal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
Victoria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Viscosit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Visual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Vocab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
Wastewat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
Weather94 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
Wheat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
Windmill . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
Wins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
Wool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
Yearsunspot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
z.test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
zsum.test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
Index 276
Abbey Daily price returns (in pence) of Abbey National shares between
7/31/91 and 10/8/91
Description
Data used in problem 6.39
Usage
Abbey
Abc 9
Format
A data frame/tibble with 50 observations on one variable
Source
Buckle, D. (1995), Bayesian Inference for Stable Distributions, Journal of the American Statistical
Association, 90, 605-613.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
qqnorm(Abbey$price)
qqline(Abbey$price)
t.test(Abbey$price, mu = 300)
hist(Abbey$price, main = "Exercise 6.39",
xlab = "daily price returns (in pence)",
col = "blue")
Description
Data used in Exercise 10.1
Usage
Abc
Format
A data frame/tibble with 54 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
10 Abilene
Examples
Description
Data used in Exercise 1.23 and 2.79
Usage
Abilene
Format
A data frame/tibble with 16 observations on three variables
crimetype a character variable with values Aggravated assault, Arson, Burglary, Forcible rape,
Larceny theft, Murder, Robbery, and Vehicle theft.
year a factor with levels 1992 and 1999
number number of reported crimes
Source
Uniform Crime Reports, US Dept. of Justice.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## Not run:
Ability 11
library(ggplot2)
ggplot2::ggplot(data = Abilene, aes(x = crimetype, y = number, fill = year)) +
geom_bar(stat = "identity", position = "dodge") +
theme_bw() +
theme(axis.text.x = element_text(angle = 30, hjust = 1))
## End(Not run)
Description
Usage
Ability
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data used in Exercise 8.51
Usage
Abortion
Format
A data frame/tibble with 51 observations on the following 10 variables:
state a character variable with values alabama, alaska, arizona, arkansas, california, colorado,
connecticut, delaware, dist of columbia, florida, georgia, hawaii, idaho, illinois,
indiana, iowa, kansas, kentucky, louisiana, maine, maryland, massachusetts, michigan,
minnesota, mississippi, missouri, montana, nebraska, nevada, new hampshire, new jersey,
new mexico, new york, north carolina, north dakota, ohio, oklahoma, oregon, pennsylvania,
rhode island, south carolina, south dakota, tennessee, texas, utah, vermont, virginia,
washington, west virginia, wisconsin, and wyoming
region a character variable with values midwest northeast south west
regcode a numeric vector
rate1988 a numeric vector
rate1992 a numeric vector
rate1996 a numeric vector
provide1988 a numeric vector
provide1992 a numeric vector
lowhigh a numeric vector
rate a factor with levels Low and High
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data used in Exercise 1.28
Usage
Absent
Format
A data frame/tibble with 20 observations on one variable
days days absent
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Achieve Math achievement test scores by gender for 25 high school students
Description
Data used in Example 7.14 and Exercise 10.7
Usage
Achieve
Format
A data frame/tibble with 25 observations on two variables
score mathematics achiement score
gender a factor with 2 levels boys and girls
14 Adsales
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Adsales Number of ads versus number of sales for a retailer of satellite dishes
Description
Data used in Exercise 9.15
Usage
Adsales
Format
A data frame/tibble with six observations on three variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data used in Exercises 1.66 and 1.81
Usage
Aggress
Format
A data frame/tibble with 28 observations on one variable
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
with(data = Aggress,
EDA(aggres))
# OR
IQR(Aggress$aggres)
diff(range(Aggress$aggres))
Aid Monthly payments per person for families in the AFDC federal pro-
gram
Description
Data used in Exercises 1.91 and 3.68
Usage
Aid
16 Aids
Format
A data frame/tibble with 51 observations on two variables
state a factor with levels Alabama, Alaska, Arizona, Arkansas, California, Colorado, Connecticut,
Delaware, District of Colunbia, Florida, Georgia, Hawaii, Idaho, Illinois, Indiana,
Iowa, Kansas, Kentucky, Louisiana, Maine, Maryland, Massachusetts, Michigan, Minnesota,
Mississippi, Missour, Montana, Nebraska, Nevada, New Hampshire, New Jersey, New Mexico,
New York, North Carolina, North Dakota, Ohio, Oklahoma, Oregon, Pennsylvania,
Rhode Island, South Carolina, South Dakota, Tennessee, Texas, Utah, Vermont, Virginia,
Washington, West Virginia, Wisconsin, and Wyoming
payment average monthly payment per person in a family
Source
US Department of Health and Human Services, 1993.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Aids Incubation times for 295 patients thought to be infected with HIV by a
blood transfusion
Description
Data used in Exercise 6.60
Usage
Aids
Format
A data frame/tibble with 295 observations on three variables
duration time (in months) from HIV infection to the clinical manifestation of full-blown AIDS
age age (in years) of patient
group a numeric vector
Airdisasters 17
Source
Kalbsleich, J. and Lawless, J., (1989), An analysis of the data on transfusion related AIDS, Journal
of the American Statistical Association, 84, 360-372.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
with(data = Aids,
EDA(duration)
)
with(data = Aids,
t.test(duration, mu = 30, alternative = "greater")
)
with(data = Aids,
SIGN.test(duration, md = 24, alternative = "greater")
)
Description
Data used in Exercise 1.12
Usage
Airdisasters
Format
A data frame /tibble with 141 observations on the following seven variables
Source
2000 World Almanac and Book of Facts.
18 Airline
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
par(las = 1)
stripchart(deaths ~ decade, data = Airdisasters,
subset = decade != "1930s" & decade != "1940s",
method = "stack", pch = 19, cex = 0.5, col = "red",
main = "Aircraft Disasters 1950 - 1990",
xlab = "Number of fatalities")
par(las = 0)
Description
Data for Example 2.9
Usage
Airline
Format
A data frame/tibble with 11 observations on three variables
airline a charater variable with values Alaska, Amer West, American, Continental, Delta,
Northwest, Pan Am, Southwest, TWA, United, and USAir
ontime a numeric vector
complaints complaints per 1000 passengers
Source
Transportation Department.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Alcohol 19
Examples
with(data = Airline,
barplot(complaints, names.arg = airline, col = "lightblue",
las = 2)
)
plot(complaints ~ ontime, data = Airline, pch = 19, col = "red",
xlab = "On time", ylab = "Complaints")
Description
Usage
Alcohol
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
qqnorm(Alcohol$age)
qqline(Alcohol$age)
SIGN.test(Alcohol$age, md = 20, conf.level = 0.99)
20 Anesthet
Description
Data used in Exercise 8.22
Usage
Allergy
Format
A data frame/tibble with 406 observations on two variables
Source
Marion Merrel Dow, Inc. Kansas City, Mo. 64114.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data used in Exercise 5.58
Usage
Anesthet
Anxiety 21
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
qqnorm(Anesthet$recover)
qqline(Anesthet$recover)
with(data = Anesthet,
t.test(recover, conf.level = 0.90)$conf
)
Anxiety Math test scores versus anxiety scores before the test
Description
Usage
Anxiety
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
22 Apolipop
Examples
Description
Data used in Examples 9.2 and 9.9
Usage
Apolipop
Format
A data frame/tibble with 15 observations on two variables
coffee number of cups of coffee per day
apolipB level of apoliprotein B
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.119
Usage
Append
Format
A data frame/tibble with 20 observations on one variable
fee fees for an appendectomy for a random sample of 20 hospitals in North Carolina
Source
North Carolina Medical Database Commission, August 1994.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 10.60
Usage
Appendec
24 Aptitude
Format
A data frame/tibble with 59 observations on two variables
cost median costs of appendectomies at hospitals across the state of North Carolina in 1992
region a vector classifying each hospital as rural, regional, or metropolitan
Source
Consumer’s Guide to Hospitalization Charges in North Carolina Hospitals (August 1994), North
Carolina Medical Database Commission, Department of Insurance.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercises 2.1, 2.26, 2.35 and 2.51
Usage
Aptitude
Format
A data frame/tibble with 8 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Archaeo 25
Examples
Description
Data for Exercises 5.120, 10.20 and Example 1.16
Usage
Archaeo
Format
A data frame/tibble with 60 observations on two variables
age number of years before 1983 - the year the data were obtained
phase Ceramic Phase numbers
Source
Cunliffe, B. (1984) and Naylor and Smith (1988).
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 10.58
Usage
Arthriti
Format
A data frame/tibblewith 51 observations on two variables
time time (measured in days) until an arthritis sufferer experienced relief
treatment a factor with levels A, B, and C
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.107
Usage
Artifici
Format
A data frame/tibble with 15 observations on one variable
duration duration (in hours) for transplant
Asprin 27
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Artifici$duration, 2)
summary(Artifici$duration)
values <- Artifici$duration[Artifici$duration < 6.5]
values
summary(values)
Description
Data for Exercise 10.51
Usage
Asprin
Format
A data frame/tibble with 15 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Asthmati Asthmatic relief index on nine subjects given a drug and a placebo
Description
Data for Exercise 7.52
Usage
Asthmati
Format
A data frame/tibble with nine observations on three variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
qqnorm(Asthmati$difference)
qqline(Asthmati$difference)
shapiro.test(Asthmati$difference)
with(data = Asthmati,
t.test(placebo, drug, paired = TRUE, mu = 0, alternative = "greater")
)
Description
Data for Example 2.2 and Exercises 2.43 and 2.57
Usage
Attorney
Autogear 29
Format
A data frame/tibble with 88 observations on three variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
par(mfrow=c(1, 2))
plot(convict ~ staff, data = Attorney, main = "With Washington, D.C.")
plot(convict[-86] ~staff[-86], data = Attorney,
main = "Without Washington, D.C.")
par(mfrow=c(1, 1))
Description
Data for Exercise 7.46
Usage
Autogear
30 Backtoback
Format
A data frame/tibble with 20 observations on two variables
defectives number of defective gears in the production of 100 gears per day
manufacturer a factor with levels A and B
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Backtoback Illustrates inferences based on pooled t-test versus Wilcoxon rank sum
test
Description
Data for Exercise 7.40
Usage
Backtoback
Format
A data frame/tibble with 24 observations on two variables
score a numeric vector
group a numeric vector
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.11
Usage
Bbsalaries
Format
A data frame/tibble with 142 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Bigten Graduation rates for student athletes and nonathletes in the Big Ten
Conf.
Description
Data for Exercises 1.124 and 2.94
Usage
Bigten
32 Biology
Format
A data frame/tibble with 44 observations on the following four variables
school a factor with levels Illinois, Indiana, Iowa, Michigan, Michigan State, Minnesota,
Northwestern, Ohio State, Penn State, Purdue, and Wisconsin
rate graduation rate
year factor with two levels 1984-1985 and 1993-1994
status factor with two levels athlete and student
Source
NCAA Graduation Rates Report, 2000.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.49
Usage
Biology
Format
A data frame/tibble with 30 observations on one variable
score test scores on the first test in a beginning biology class
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Birth 33
Examples
Birth Live birth rates in 1990 and 1998 for all states
Description
Usage
Birth
Format
state a character with levels Alabama, Alaska, Arizona, Arkansas, California, Colorado, Connecticut,
Delaware, District of Colunbia, Florida, Georgia, Hawaii, Idaho, Illinois, Indiana,
Iowa, Kansas, Kentucky, Louisiana, Maine, Maryland, Massachusetts, Michigan, Minnesota,
Mississippi, Missour, Montana, Nebraska, Nevada, New Hampshire, New Jersey, New Mexico,
New York, North Carolina, North Dakota, Ohio, Oklahoma, Oregon, Pennsylvania,
Rhode Island, South Carolina, South Dakota, Tennessee, Texas, Utah, Vermont, Virginia,
Washington, West Virginia, Wisconsin, and Wyoming
rate live birth rates per 1000 population
year a factor with levels 1990 and 1998
Source
National Vital Statistics Report, 48, March 28, 2000, National Center for Health Statistics.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
34 Blackedu
Examples
Description
Data for Exercise 8.55
Usage
Blackedu
Format
A data frame/tibble with 3800 observations on two variables
Source
Bureau of Census data.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 7.84
Usage
Blood
Format
A data frame/tibble with 15 observations on the following two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 10.14
Usage
Board
36 Bones
Format
A data frame/tibble with 7 observations on three variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Description
Data for Example 7.22
Usage
Bones
Format
A data frame/tibble with 70 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Books 37
Examples
Books Number of books read and final spelling scores for 17 third graders
Description
Usage
Books
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Usage
Bookstor
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercises 2.15, 2.44, 2.58 and Examples 2.3 and 2.20
Usage
Brain
Bumpers 39
Format
A data frame/tibble with 28 observations on three variables
species a factor with levels African elephant, Asian Elephant, Brachiosaurus, Cat, Chimpanzee,
Cow, Diplodocus, Donkey, Giraffe, Goat, Gorilla, Gray wolf, Guinea Pig, Hamster,
Horse, Human, Jaguar, Kangaroo, Mole, Mouse, Mt Beaver, Pig, Potar monkey, Rabbit,
Rat, Rhesus monkey, Sheep, and Triceratops
bodyweight body weight (in kg)
brainweight brain weight (in g)
Source
P. Rousseeuw and A. Leroy, Robust Regression and Outlier Detection (New York: Wiley, 1987).
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Bumpers Repair costs of vehicles crashed into a barrier at 5 miles per hour
Description
Data for Exercise 1.73
Usage
Bumpers
Format
A data frame/tibble with 23 observations on two variables
car a factor with levels Buick Century, Buick Skylark, Chevrolet Cavalier, Chevrolet Corsica,
Chevrolet Lumina, Dodge Dynasty, Dodge Monaco, Ford Taurus, Ford Tempo, Honda Accord,
Hyundai Sonata, Mazda 626, Mitsubishi Galant, Nissan Stanza, Oldsmobile Calais,
Oldsmobile Ciere, Plymouth Acclaim, Pontiac 6000, Pontiac Grand Am, Pontiac Sunbird,
Saturn SL2, Subaru Legacy, and Toyota Camry
40 Bus
repair total repair cost (in dollars) after crashing a car into a barrier four times while the car was
traveling at 5 miles per hour
Source
Insurance Institute of Highway Safety.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Bumpers$repair)
stripchart(Bumpers$repair, method = "stack", pch = 19, col = "blue")
library(lattice)
dotplot(car ~ repair, data = Bumpers)
Description
Data for Exercise 8.25
Usage
Bus
Format
A data frame/tibble with 29363 observations on two variables
attendance a factor with levels absent and present
shift a factor with levels am, noon, pm, swing, and split
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Usage
Bypass
Format
hospital a factor with levels Carolinas Med Ct, Duke Med Ct, Durham Regional, Forsyth Memorial,
Frye Regional, High Point Regional, Memorial Mission, Mercy, Moore Regional,
Moses Cone Memorial, NC Baptist, New Hanover Regional, Pitt Co. Memorial,
Presbyterian, Rex, Univ of North Carolina, and Wake County
charge median charge for coronary bypass
Source
Consumer’s Guide to Hospitalization Charges in North Carolina Hospitals (August 1994), North
Carolina Medical Database Commission, Department of Insurance.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Bypass$charge)
t.test(Bypass$charge, conf.level=.90)$conf
t.test(Bypass$charge, mu = 35000)
42 Cabinets
Description
Usage
Cabinets
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Usage
Cancer
Format
survival survival time (in days) of terminal patients treated with vitamin C
type a factor indicating type of cancer with levels breast, bronchus, colon, ovary, and stomach
Source
Cameron, E and Pauling, L. 1978. “Supplemental Ascorbate in the Supportive Treatment of Can-
cer.” Proceedings of the National Academy of Science, 75, 4538-4542.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 10.28 and 10.29
Usage
Carbon
Format
A data frame/tibble with 24 observations on two variables
CO carbon monoxide measured (in parts per million)
site a factor with levels SiteA, SiteB, and SiteC
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Cat Reading scores on the California achievement test for a group of 3rd
graders
Description
Data for Exercise 1.116
Usage
Cat
Format
A data frame/tibble with 17 observations on one variable
score reading score on the California Achievement Test
Censored 45
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Cat$score)
fivenum(Cat$score)
boxplot(Cat$score, main = "Problem 1.116", col = "green")
Censored Entry age and survival time of patients with small cell lung cancer
under two different treatments
Description
Data for Exercises 7.34 and 7.48
Usage
Censored
Format
A data frame/tibble with 121 observations on three variables
survival survival time (in days) of patients with small cell lung cancer
treatment a factor with levels armA and armB indicating the treatment a patient received
age the age of the patient
Source
Ying, Z., Jung, S., Wei, L. 1995. “Survival Analysis with Median Regression Models.” Journal of
the American Statistical Association, 90, 178-184.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Challeng Temperatures and O-ring failures for the launches of the space shuttle
Challenger
Description
Data for Examples 1.11, 1.12, 1.13, 2.11 and 5.1
Usage
Challeng
Format
A data frame/tibble with 25 observations on four variables
Source
Dalal, S. R., Fowlkes, E. B., Hoadley, B. 1989. “Risk Analysis of the Space Shuttle: Pre-Challenger
Prediction of Failure.” Journal of the American Statistical Association, 84, No. 408, 945-957.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Challeng$temp)
summary(Challeng$temp)
IQR(Challeng$temp)
quantile(Challeng$temp)
fivenum(Challeng$temp)
stem(sort(Challeng$temp)[-1])
summary(sort(Challeng$temp)[-1])
IQR(sort(Challeng$temp)[-1])
quantile(sort(Challeng$temp)[-1])
fivenum(sort(Challeng$temp)[-1])
par(mfrow=c(1, 2))
qqnorm(Challeng$temp)
qqline(Challeng$temp)
qqnorm(sort(Challeng$temp)[-1])
Chemist 47
qqline(sort(Challeng$temp)[-1])
par(mfrow=c(1, 1))
Description
Data for Example 5.3
Usage
Chemist
Format
A data frame/tibble with 50 observations on one variable
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Chemist$salary)
Description
Data for Exercise 6.41
Usage
Chesapea
48 Chevy
Format
A data frame/tibble with 16 observations on one variable
salinity surface salinity measurements (in parts per 1000) for station 11, offshore from Annanapo-
lis, Maryland, on July 3-4, 1927.
Source
Davis, J. (1986) Statistics and Data Analysis in Geology, Second Edition. John Wiley and Sons,
New York.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
qqnorm(Chesapea$salinity)
qqline(Chesapea$salinity)
shapiro.test(Chesapea$salinity)
t.test(Chesapea$salinity, mu = 7)
Chevy Insurance injury ratings of Chevrolet vehicles for 1990 and 1993 mod-
els
Description
Data for Exercise 8.35
Usage
Chevy
Format
A data frame/tibble with 67 observations on two variables
Source
Insurance Institute for Highway Safety and the Highway Loss Data Institute, 1995.
Chicken 49
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Usage
Chicken
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Usage
Chipavg
Format
Source
Yashchin, E. 1995. “Likelihood Ratio Methods for Monitoring Parameters of a Nested Random
Effect Model.” Journal of the American Statistical Association, 90, 729-738.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Chipavg$thickness)
t.test(Chipavg$thickness, mu = 1000)
boxplot(Chipavg$wafer1, Chipavg$wafer2, name = c("Wafer 1", "Wafer 2"))
shapiro.test(Chipavg$wafer1)
shapiro.test(Chipavg$wafer2)
t.test(Chipavg$wafer1, Chipavg$wafer2, var.equal = TRUE)
Chips 51
Description
Data for Exercise 10.9
Usage
Chips
Format
A data frame/tibble with 30 observations on eight variables
Source
Yashchin, E. 1995. “Likelihood Ratio Methods for Monitoring Parameters of a Nested Random
Effect Model.” Journal of the American Statistical Association, 90, 729-738.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
with(data = Chips,
boxplot(wafer11, wafer12, wafer13, wafer14, wafer21,
wafer22, wafer23, wafer24, col = "pink")
)
52 Cigarett
Description
Data for Example 10.4
Usage
Cigar
Format
A data frame/tibble with 100 observations on two variables
tar amount of tar (measured in milligrams)
brand a factor indicating cigarette brand with levels brandA, brandB, brandC, and brandD
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 2.27
Usage
Cigarett
Format
A data frame/tibble with 16 observations on two variables
cigarettes mothers’ estimated average number of cigarettes smoked per day
weight children’s birth weights (in pounds)
CIsim 53
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
This program simulates random samples from which it constructs confidence intervals for one of
the parameters mean (Mu), variance (Sigma), or proportion of successes (Pi).
Usage
CIsim(samples = 100, n = 30, mu = 0, sigma = 1, conf.level = 0.95,
type = "Mean")
Arguments
samples the number of samples desired.
n the size of each sample.
mu if constructing confidence intervals for the population mean or the population
variance, mu is the population mean (i.e., type is one of either "Mean", or
"Var"). If constructing confidence intervals for the poulation proportion of suc-
cesses, the value entered for mu represents the population proportion of suc-
cesses (Pi), and as such, must be a number between 0 and 1.
sigma the population standard deviation. sigma is not required if confidence intervals
are of type "Pi".
conf.level confidence level for the graphed confidence intervals, restricted to lie between
zero and one.
type character string, one of "Mean", "Var" or "Pi", or just the initial letter of each,
indicating the type of confidence interval simulation to perform.
54 Citrus
Details
Default is to construct confidence intervals for the population mean. Simulated confidence inter-
vals for the population variance or population proportion of successes are possible by selecting the
appropriate value in the type argument.
Value
Graph depicts simulated confidence intervals. The number of confidence intervals that do not con-
tain the parameter of interest are counted and reported in the commands window.
Author(s)
Alan T. Arnholt
Examples
Description
Data for Exercise 9.7
Clean 55
Usage
Citrus
Format
A data frame/tibble with nine observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 10.16
Usage
Clean
Format
A data frame/tibble with 45 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
56 Coaxial
Examples
Description
Usage
Coaxial
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 7.55
Usage
Coffee
Format
A data frame/tibble with nine observations on three variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
qqnorm(Coffee$differences)
qqline(Coffee$differences)
shapiro.test(Coffee$differences)
t.test(Coffee$with, Coffee$without, paired = TRUE, alternative = "greater")
wilcox.test(Coffee$with, Coffee$without, paired = TRUE,
alterantive = "greater")
Description
Data for Exercise 5.68
Usage
Coins
58 Combinations
Format
A data frame/tibble with 12 observations on one variable
return yearly returns on each of 12 possible investments
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
qqnorm(Coins$return)
qqline(Coins$return)
Combinations Combinations
Description
Computes all possible combinations of n objects taken k at a time.
Usage
Combinations(n, k)
Arguments
n a number.
k a number less than or equal to n.
Value
Returns a matrix containing the possible combinations of n objects taken k at a time.
See Also
SRS
Examples
Combinations(5,2)
# The columns in the matrix list the values of the 10 possible
# combinations of 5 things taken 2 at a time.
Commute 59
Description
Data for Exercises 1.13, and 7.85
Usage
Commute
Format
A data frame/tibble with 39 observations on three variables
city a factor with levels Atlanta, Baltimore, Boston, Buffalo, Charlotte, Chicago, Cincinnati,
Cleveland, Columbus, Dallas, Denver, Detroit, Hartford, Houston, Indianapolis, Kansas City,
Los Angeles, Miami, Milwaukee, Minneapolis, New Orleans, New York, Norfolk, Orlando,
Philadelphia, Phoenix, Pittsburgh, Portland, Providence, Rochester, Sacramento,
Salt Lake City, San Antonio, San Diego, San Francisco, Seattle, St. Louis, Tampa,
and Washington
year year
time commute times
Source
Federal Highway Administration.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Concept Tennessee self concept scale scores for a group of teenage boys
Description
Data for Exercise 1.68 and 1.82
Usage
Concept
Format
A data frame/tibble with 28 observations on one variable
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
summary(Concept$self)
sd(Concept$self)
diff(range(Concept$self))
IQR(Concept$self)
summary(Concept$self/10)
IQR(Concept$self/10)
sd(Concept$self/10)
diff(range(Concept$self/10))
Description
Data for Example 7.17
Usage
Concrete
Corn 61
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Usage
Corn
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
62 Correlat
Examples
boxplot(Corn$differences)
qqnorm(Corn$differences)
qqline(Corn$differences)
shapiro.test(Corn$differences)
t.test(Corn$new, Corn$standard, paired = TRUE, alternative = "greater")
Description
Usage
Correlat
Format
x a numeric vector
y a numeric vector
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 6.96
Usage
Counsel
Format
A data frame/tibble with 18 observations on one variable
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Counsel$score)
t.test(Counsel$score, mu = 70)
Description
Data for Exercise 1.34
Usage
Cpi
Format
A data frame/tibble with 20 observations on two variables
year year
cpi consumer price index
64 Crime
Source
Bureau of Labor Statistics.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
plot(cpi ~ year, data = Cpi, type = "l", lty = 2, lwd = 2, col = "red")
barplot(Cpi$cpi, col = "pink", las = 2, main = "Problem 1.34")
Crime Violent crime rates for the states in 1983 and 1993
Description
Data for Exercises 1.90, 2.32, 3.64, and 5.113
Usage
Crime
Format
A data frame/tibble with 102 observations on three variables
state a factor with levels Alabama, Alaska, Arizona, Arkansas, California, Colorado, Connecticut,
DC, Delaware, Florida, Georgia, Hawaii, Idaho, Illinois, Indiana, Iowa, Kansas, Kentucky,
Louisiana, Maine, Maryland, Massachusetts, Michigan, Minnesota, Mississippi, Missour,
Montana, Nebraska, Nevada, New Hampshire, New Jersey, New Mexico, New York, North Carolina,
North Dakota, Ohio, Oklahoma, Oregon, Pennsylvania, Rhode Island, South Carolina,
South Dakota, Tennessee, Texas, Utah, Vermont, Virginia, Washington, West Virginia,
Wisconsin, and Wyoming
year a factor with levels 1983 and 1993
rate crime rate per 100,000 inhabitants
Source
U.S. Department of Justice, Bureau of Justice Statistics, Sourcebook of Criminal Justice Statistics,
1993.
Darwin 65
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 7.62
Usage
Darwin
Format
A data frame/tibble with 15 observations on three variables
pot number of pot
cross height of plant (in inches) after a fixed period of time when cross-fertilized
self height of plant (in inches) after a fixed period of time when self-fertilized
Source
Darwin, C. (1876) The Effect of Cross- and Self-Fertilization in the Vegetable Kingdom, 2nd edition,
London.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Example 2.22
Usage
Dealers
Format
A data frame/tibble with 122 observations on two variables
type a factor with levels Honda, Toyota, Mazda, Ford, Dodge, and Saturn
service a factor with levels Replaces unnecessarily and Follows manufacturer guidelines
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.27
Usage
Defectiv
Degree 67
Format
A data frame/tibble with 20 observations on one variable
number number of defective items produced by the employees in a small business firm
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 2.75
Usage
Degree
Format
A data frame/tibble with 1064 observations on two variables
field a factor with levels Health, Education, Foreign Language, Psychology, Fine Arts,
Life Sciences, Business, Social Science, Physical Sciences, Engineering, and
All Fields
awarded a factor with levels 1970 and 1990
Source
U.S. Department of Health and Human Services, National Center for Education Statistics.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
68 Delay
Examples
Description
Usage
Delay
Format
delay the delay time (in minutes) for 80 randomly selected flights
carrier a factor with levels A, B, C, and D
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.26
Usage
Depend
Format
A data frame/tibble with 50 observations on one variable
number number of dependent children in a family
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 5.21
Usage
Detroit
Format
A data frame/tibble with 40 observations on one variable
educ the educational level (in years) of a sample of 40 auto workers in a plant in Detroit
70 Develop
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Detroit$educ)
Description
Data used for Exercise 8.50
Usage
Develop
Format
A data frame/tibble with 5656 observations on two variables
race a factor with levels African American, American Indian, Asian, Latino, and White
college a factor with levels Two-year and Four-year
Source
Research in Development Education (1994), V. 11, 2.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Devmath Test scores for students who failed developmental mathematics in the
fall semester 1995
Description
Data for Exercise 6.47
Usage
Devmath
Format
A data frame/tibble with 40 observations on one variable
Source
Data provided by Dr. Anita Kitchens.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Devmath$score)
t.test(Devmath$score, mu = 80, alternative = "less")
Description
Data for Exercise 3.109
Usage
Dice
72 Diesel
Format
A data frame/tibble with 11 observations on two variables
x possible outcomes for the sum of two dice
px probability for outcome x
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 2.8
Usage
Diesel
Format
A data frame/tibble with 650 observations on three variables
date date when price was recorded
pricepergallon price per gallon (in dollars)
location a factor with levels California, CentralAtlantic, Coast, EastCoast, Gulf, LowerAtlantic,
NatAvg, NorthEast, Rocky, and WesternMountain
Source
Energy Information Administration, National Enerfy Information Center: 1000 Independence Ave.,
SW, Washington, D.C., 20585.
Diplomat 73
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
par(las = 2)
boxplot(pricepergallon ~ location, data = Diesel)
boxplot(pricepergallon ~ location,
data = droplevels(Diesel[Diesel$location == "EastCoast" |
Diesel$location == "Gulf" | Diesel$location == "NatAvg" |
Diesel$location == "Rocky" | Diesel$location == "California", ]),
col = "pink", main = "Exercise 2.8")
par(las = 1)
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Diesel, aes(x = date, y = pricepergallon,
color = location)) +
geom_point() +
geom_smooth(se = FALSE) +
theme_bw() +
labs(y = "Price per Gallon (in dollars)")
## End(Not run)
Description
Data for Exercises 1.14 and 1.37
Usage
Diplomat
Format
A data frame/tibble with 10 observations on three variables
country a factor with levels Brazil, Bulgaria, Egypt, Indonesia, Israel, Nigeria, Russia,
S. Korea, Ukraine, and Venezuela
number total number of tickets
rate number of tickets per vehicle per month
Source
Time, November 8, 1993. Figures are from January to June 1993.
74 Disposal
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Description
Data for Exercise 1.127
Usage
Disposal
Format
A data frame/tibble with 29 observations on one variable
Source
Bureau of the Census, Reducing Toxins, Statistical Brief SB/95-3, February 1995.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Disposal$pounds)
fivenum(Disposal$pounds)
EDA(Disposal$pounds)
Description
Data for Exercise 2.88
Usage
Dogs
Format
A data frame/tibble with 20 observations on three variables
breed a factor with levels Beagle, Boxer, Chihuahua, Chow, Dachshund, Dalmatian, Doberman,
Huskie, Labrador, Pomeranian, Poodle, Retriever, Rotweiler, Schnauzer, Shepherd,
Shetland, ShihTzu, Spaniel, Springer, and Yorkshire
ranking numeric ranking
year a factor with levels 1992, 1993, 1997, and 1998
Source
The World Almanac and Book of Facts, 2000.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
76 Domestic
Examples
## End(Not run)
Description
Data for Exercise 1.20
Usage
Domestic
Format
A data frame/tibble with five observations on two variables
age a factor with levels 12-19, 20-24, 25-34, 35-49, and 50-64
rate rate of domestic violence per 1000 women
Source
U.S. Department of Justice.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
theme_bw()
## End(Not run)
Description
Usage
Dopamine
Format
Source
D.E. Sternberg, D.P. Van Kammen, and W.E. Bunney, "Schizophrenia: Dopamine b-Hydroxylase
Activity and Treatment Respsonse," Science, 216 (1982), 1423 - 1425.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Dowjones Closing yearend Dow Jones Industrial averages from 1896 through
2000
Description
Usage
Dowjones
Format
year date
close Dow Jones closing price
change percent change from previous year
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Drink 79
Description
Data for Exercise 8.53
Usage
Drink
Format
A data frame/tibble with 472 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Example 7.15
Usage
Drug
80 Dyslexia
Format
A data frame/tibble with 28 observations on two variables
trials number of trials to master a task
group a factor with levels control and experimental
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 2.90
Usage
Dyslexia
Format
A data frame/tibble with eight observations on seven variables
words number of words read per minute
age age of participant
gender a factor with levels female and male
handed a factor with levels left and right
weight weight of participant (in pounds)
height height of participant (in inches)
children number of children in family
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Earthqk 81
Examples
Description
Usage
Earthqk
Format
Source
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Earthqk$severity)
t.test(Earthqk$severity, mu = 100, alternative = "greater")
82 EDA
Description
Function that produces a histogram, density plot, boxplot, and Q-Q plot.
Usage
EDA(x, trim = 0.05)
Arguments
x numeric vector. NAs and Infs are allowed but will be removed.
trim fraction (between 0 and 0.5, inclusive) of values to be trimmed from each end
of the ordered data. If trim = 0.5, the result is the median.
Details
Will not return command window information on data sets containing more than 5000 observations.
It will however still produce graphical output for data sets containing more than 5000 observations.
Value
Function returns various measures of center and location. The values returned for the Quartiles are
based on the definitions provided in BSDA. The boxplot is based on the Quartiles returned in the
commands window.
Note
Requires package e1071.
Author(s)
Alan T. Arnholt
Examples
EDA(rnorm(100))
# Produces four graphs for the 100 randomly
# generated standard normal variates.
Educat 83
Educat Crime rates versus the percent of the population without a high school
degree
Description
Usage
Educat
Format
state a factor with levels Alabama, Alaska, Arizona, Arkansas, California, Colorado, Connecticut,
DC, Delaware, Florida, Georgia, Hawaii, Idaho, Illinois, Indiana, Iowa, Kansas, Kentucky,
Louisiana, Maine, Maryland, Massachusetts, Michigan, Minnesota, Mississippi, Missour,
Montana, Nebraska, Nevada, New Hampshire, New Jersey, New Mexico, New York, North Carolina,
North Dakota, Ohio, Oklahoma, Oregon, Pennsylvania, Rhode Island, South Carolina,
South Dakota, Tennessee, Texas, Utah, Vermont, Virginia, Washington, West Virginia,
Wisconsin, and Wyoming
nodegree percent of the population without a high school degree
crime violent crimes per 100,000 population
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 9.22
Usage
Eggs
Format
A data frame/tibble with 12 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.92 and 2.61
Usage
Elderly
Energy 85
Format
A data frame/tibble with 51 observations on three variables
state a factor with levels Alabama, Alaska, Arizona, Arkansas, California, Colorado, Connecticut,
Delaware, District of Colunbia, Florida, Georgia, Hawaii, Idaho, Illinois, Indiana,
Iowa, Kansas, Kentucky, Louisiana, Maine, Maryland, Massachusetts, Michigan, Minnesota,
Mississippi, Missour, Montana, Nebraska, Nevada, New Hampshire, New Jersey, New Mexico,
New York, North Carolina, North Dakota, Ohio, Oklahoma, Oregon, Pennsylvania,
Rhode Island, South Carolina, South Dakota, Tennessee, Texas, Utah, Vermont, Virginia,
Washington, West Virginia, Wisconsin, and Wyoming
percent1985 percent of the population over the age of 65 in 1985
percent1998 percent of the population over the age of 65 in 1998
Source
U.S. Census Bureau Internet site, February 2000.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
with(data = Elderly,
stripchart(x = list(percent1998, percent1985), method = "stack", pch = 19,
col = c("red","blue"), group.names = c("1998", "1985"))
)
with(data = Elderly, cor(percent1998, percent1985))
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Elderly, aes(x = percent1985, y = percent1998)) +
geom_point() +
theme_bw()
## End(Not run)
Description
Data for Exercises 2.5, 2.24, and 2.55
Usage
Energy
86 Engineer
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Usage
Engineer
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Entrance 87
Examples
Description
Usage
Entrance
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Entrance$score)
stem(Entrance$score, scale = 2)
88 Epaminicompact
Description
Data for Exercise 1.65
Usage
Epaminicompact
Format
A data frame/tibble with 22 observations on ten variables
Source
EPA data.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
summary(Epaminicompact$cty)
plot(hwy ~ cty, data = Epaminicompact)
Epatwoseater 89
Description
Data for Exercise 5.8
Usage
Epatwoseater
Format
A data frame/tibble with 36 observations on ten variables
class a character variable with value TWO SEATERS
manufacturer a character variable with values ACURA, AUDI, BMW, CHEVROLET, DODGE, FERRARI,
HONDA, LAMBORGHINI, MAZDA, MERCEDES-BENZ, PLYMOUTH, PORSCHE, and TOYOTA
carline a character variable with values BOXSTER, BOXSTER S, CORVETTE, DB132/144 DIABLO,
FERRARI 360 MODENA/SPIDER, FERRARI 550 MARANELLO/BARCHETTA, INSIGHT, MR2 ,MX-5 MIATA,
NSX, PROWLER, S2000, SL500, SL600, SLK230 KOMPRESSOR, SLK320, TT ROADSTER, TT ROADSTER QUATTRO,
VIPER CONVERTIBLE, VIPER COUPE, Z3 COUPE, Z3 ROADSTER, and Z8
displ engine displacement (in liters)
cyl number of cylinders
trans a factor with levels Auto(L4), Auto(L5), Auto(S4), Auto(S5), Auto(S6), Manual(M5),
and Manual(M6)
drv a factor with levels 4(four wheel drive) F(front wheel drive) R(rear wheel drive)
cty city mpg
hwy highway mpg
cmb combined city and highway mpg
@source Environmental Protection Agency.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
summary(Epatwoseater$cty)
plot(hwy ~ cty, data = Epatwoseater)
boxplot(cty ~ drv, data = Epatwoseater, col = "lightgreen")
90 Exercise
Description
Data for Exercise 1.104
Usage
Executiv
Format
A data frame/tibble with 25 observations on one variable
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.44
Usage
Exercise
Format
A data frame/tibble with 30 observations on one variable
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Exercise$loss)
Description
Data for Example 7.21
Usage
Fabric
Format
A data frame/tibble with 20 observations on three variables
garment a numeric vector
softner a character variable with values with and without
softness a numeric vector
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## Not run:
library(tidyr)
T7 <- tidyr::spread(Fabric, softner, softness) %>%
mutate(di = with - without, adi = abs(di), rk = rank(adi),
srk = sign(di)*rk)
T7
t.test(T7$srk, alternative = "greater")
## End(Not run)
92 Faithful
Faithful Waiting times between successive eruptions of the Old Faithful geyser
Description
Data for Exercise 5.12 and 5.111
Usage
Faithful
Format
A data frame/tibble with 299 observations on two variables
Source
A. Azzalini and A. Bowman, "A Look at Some Data on the Old Faithful Geyser," Journal of the
Royal Statistical Society, Series C, 39 (1990), 357-366.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Faithful, aes(x = time, y = ..density..)) +
geom_histogram(binwidth = 5, fill = "pink", col = "black") +
geom_density() +
theme_bw() +
labs(x = "wait time")
## End(Not run)
Family 93
Family Size of family versus cost per person per week for groceries
Description
Usage
Family
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Family, aes(x = number, y = cost)) +
geom_point() +
geom_smooth(method = "lm") +
theme_bw()
## End(Not run)
94 Ferraro2
Description
Data for Exercise 8.23
Usage
Ferraro1
Format
A data frame/tibble with 1000 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 8.23
Usage
Ferraro2
Fertility 95
Format
A data frame/tibble with 1000 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.125
Usage
Fertility
Format
A data frame/tibble with 51 observations on two variables
state a character variable with values Alabama, Alaska, Arizona, Arkansas, California, Colorado,
Connecticut, Delaware, District of Colunbia, Florida, Georgia, Hawaii, Idaho,
Illinois, Indiana, Iowa, Kansas, Kentucky, Louisiana, Maine, Maryland,Massachusetts,
Michigan, Minnesota, Mississippi, Missour, Montana, Nebraska, Nevada, New Hampshire,
New Jersey, New Mexico, New York, North Carolina, North Dakota, Ohio, Oklahoma,
Oregon, Pennsylvania, Rhode Island, South Carolina, South Dakota, Tennessee,
Texas, Utah, Vermont, Virginia, Washington, West Virginia, Wisconsin, and Wyoming
rate fertility rate (expected number of births during childbearing years)
Source
Population Reference Bureau.
96 Firstchi
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Fertility$rate)
fivenum(Fertility$rate)
EDA(Fertility$rate)
Description
Usage
Firstchi
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Firstchi$age)
Fish 97
Fish Length and number of fish caught with small and large mesh codend
Description
Usage
Fish
Format
Source
R. Millar, “Estimating the Size - Selectivity of Fishing Gear by Conditioning on the Total Catch,”
Journal of the American Statistical Association, 87 (1992), 962 - 968.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
98 Fitness
Description
Usage
Fitness
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Florida2000 99
Description
Data for Statistical Insight Chapter 2
Usage
Florida2000
Format
A data frame/tibble with 67 observations on 12 variables
county a character variable with values ALACHUA, BAKER, BAY, BRADFORD, BREVARD, BROWARD, CALHOUN,
CHARLOTTE, CITRUS, CLAY, COLLIER, COLUMBIA, DADE, DE SOTO, DIXIE, DUVAL, ESCAMBIA,
FLAGLER, FRANKLIN, GADSDEN, GILCHRIST, GLADES, GULF, HAMILTON, HARDEE, HENDRY, HERNANDO,
HIGHLANDS, HILLSBOROUGH, HOLMES, INDIAN RIVER, JACKSON, JEFFERSON, LAFAYETTE, LAKE,
LEE, LEON, LEVY, LIBERTY, MADISON, MANATEE, MARION, MARTIN, MONROE, NASSAU, OKALOOSA,
OKEECHOBEE, ORANGE, OSCEOLA, PALM BEACH, PASCO, PINELLAS, POLK, PUTNAM, SANTA ROSA,
SARASOTA, SEMINOLE, ST. JOHNS, ST. LUCIE, SUMTER, SUWANNEE, TAYLOR, UNION, VOLUSIA,
WAKULLA, WALTON, and WASHINGTON
gore number of votes
bush number of votes
buchanan number of votes
nader number of votes
browne number of votes
hagelin number of votes
harris number of votes
mcreynolds number of votes
moorehead number of votes
phillips number of votes
total number of votes
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 5.76
Usage
Fluid
Format
A data frame/tibble with 76 observations on two variables
Source
E. Soofi, N. Ebrahimi, and M. Habibullah, 1995.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Food 101
Description
Data for Exercise 5.106
Usage
Food
Format
A data frame/tibble with 40 observations on one variable
expenditure a numeric vector recording annual food expenditure (in dollars) in the state of Ohio.
Source
Bureau of Labor Statistics.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Food$expenditure)
Description
Data for Exercises 1.56, 1.75, 3.69, and 5.60
Usage
Framingh
Format
A data frame/tibble with 62 observations on one variable
cholest a numeric vector with cholesterol values
102 Freshman
Source
R. D’Agostino, et al., (1990) "A Suggestion for Using Powerful and Informative Tests for Normal-
ity," The American Statistician, 44 316-321.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Framingh$cholest)
boxplot(Framingh$cholest, horizontal = TRUE)
hist(Framingh$cholest, freq = FALSE)
lines(density(Framingh$cholest))
mean(Framingh$cholest > 200 & Framingh$cholest < 240)
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Framingh, aes(x = factor(1), y = cholest)) +
geom_boxplot() + # boxplot
labs(x = "") + # no x label
theme_bw() + # black and white theme
geom_jitter(width = 0.2) + # jitter points
coord_flip() # Create horizontal plot
ggplot2::ggplot(data = Framingh, aes(x = cholest, y = ..density..)) +
geom_histogram(fill = "pink", binwidth = 15, color = "black") +
geom_density() +
theme_bw()
## End(Not run)
Description
Data for Exercise 6.53
Usage
Freshman
Format
A data frame/tibble with 30 observations on one variable
age a numeric vector of ages
Funeral 103
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
SIGN.test(Freshman$age, md = 19)
Description
Usage
Funeral
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Example 5.2
Usage
Galaxie
Format
A data frame/tibble with 82 observations on one variable
Source
K. Roeder, "Density Estimation with Confidence Sets Explained by Superclusters and Voids in the
Galaxies," Journal of the American Statistical Association, 85 (1990), 617-624.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Galaxie$velocity)
Description
Data for Exercise 2.76
Usage
Gallup
Gasoline 105
Format
A data frame/tibble with 1,200 observations on two variables
demographics a factor with levels National, Gender: Male Gender: Female, Education: College,
Eduction: High School, Education: Grade School, Age: 18-24, Age: 25-29, Age: 30-49,
Age: 50-older, Religion: Protestant, and Religion: Catholic
opinion a factor with levels Criminal, Not Criminal, and No Opinion
Source
George H. Gallup The Gallup Opinion Index Report No. 179 (Princeton, NJ: The Gallup Poll, July
1980), p. 15.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## Not run:
library(dplyr)
library(ggplot2)
dplyr::filter(Gallup, demographics == "Gender: Male" | demographics == "Gender: Female") %>%
ggplot2::ggplot(aes(x = demographics, fill = opinion)) +
geom_bar() +
theme_bw() +
labs(y = "Fraction")
## End(Not run)
Description
Data for Exercise 1.45
Usage
Gasoline
106 German
Format
A data frame/tibble with 25 observations on one variable
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Gasoline$price)
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Gasoline, aes(x = factor(1), y = price)) +
geom_violin() +
geom_jitter() +
theme_bw()
## End(Not run)
Description
Data for Exercise 7.60
Usage
German
Format
A data frame/tibble with ten observations on three variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## Not run:
T8 <- tidyr::spread(German, when, errors) %>%
mutate(di = After - Before, adi = abs(di), rk = rank(adi), srk = sign(di)*rk)
T8
qqnorm(T8$di)
qqline(T8$di)
t.test(T8$srk)
## End(Not run)
Description
Usage
Golf
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
108 Governor
Examples
stem(Golf$yards)
qqnorm(Golf$yards)
qqline(Golf$yards)
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Golf, aes(sample = yards)) +
geom_qq() +
theme_bw()
## End(Not run)
Description
Data for Exercise 5.112
Usage
Governor
Format
A data frame/tibble with 50 observations on three variables
state a character variable with values Alabama, Alaska, Arizona, Arkansas, California, Colorado,
Connecticut, Delaware, Florida, Georgia, Hawaii, Idaho, Illinois, Indiana, Iowa,
Kansas, Kentucky, Louisiana, Maine, Maryland, Massachusetts, Michigan, Minnesota,
Mississippi, Missouri, Montana, Nebraska, Nevada, New Hampshire, New Jersey, New Mexico,
New York, North Carolina, North Dakota, Ohio, Oklahoma, Oregon, Pennsylvania,
Rhode Island, South Carolina, South Dakota, Tennessee, Texas, Utah, Vermont, Virginia,
Washington, West Virginia, Wisconsin, and Wyoming
year a factor indicating year
salary a numeric vector with the governor’s salary (in dollars)
Source
The 2000 World Almanac and Book of Facts.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Gpa 109
Examples
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Governor, aes(x = salary)) +
geom_density(fill = "pink") +
facet_grid(year ~ .) +
theme_bw()
## End(Not run)
Description
Data for Example 2.13
Usage
Gpa
Format
A data frame/tibble with 10 observations on two variables
hsgpa high school gpa
collgpa college gpa
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## Not run:
110 Grades
library(ggplot2)
ggplot2::ggplot(data = Gpa, aes(x = hsgpa, y = collgpa)) +
geom_point() +
geom_smooth(method = "lm") +
theme_bw()
## End(Not run)
Description
Data for Exercise 1.120
Usage
Grades
Format
A data frame with 29 observations on one variable
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Grades, aes(x = grades, y = ..density..)) +
geom_histogram(fill = "pink", binwidth = 5, color = "black") +
geom_density(lwd = 2, color = "red") +
theme_bw()
## End(Not run)
Graduate 111
Description
Data for Exercise 1.118
Usage
Graduate
Format
A data frame/tibble with 12 observations on three variables
school a character variable with values Alabama, Arkansas, Auburn, Florida, Georgia, Kentucky,
Louisiana St, Mississippi, Mississippi St, South Carolina, Tennessee, and Vanderbilt
code a character variable with values Al, Ar, Au Fl, Ge, Ke, LSt, Mi, MSt, SC, Te, and Va
percent graduation rate
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Greenriv Varve thickness from a sequence through an Eocene lake deposit in the
Rocky Mountains
Description
Data for Exercise 6.57
Usage
Greenriv
112 Grnriv2
Format
A data frame/tibble with 37 observations on one variable
thick varve thickness in millimeters
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Greenriv$thick)
SIGN.test(Greenriv$thick, md = 7.3, alternative = "greater")
Grnriv2 Thickness of a varved section of the Green river oil shale deposit near
a major lake in the Rocky Mountains
Description
Data for Exercises 6.45 and 6.98
Usage
Grnriv2
Format
A data frame/tibble with 101 observations on one variable
thick varve thickness (in millimeters)
Source
J. Davis, Statistics and Data Analysis in Geology, 2nd Ed., Jon Wiley and Sons, New York.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Grnriv2$thick)
t.test(Grnriv2$thick, mu = 8, alternative = "less")
Groupabc 113
Description
Data for Exercise 10.42
Usage
Groupabc
Format
A data frame/tibble with 45 observations on two variables
group a factor with levels A, B, and C
response a numeric vector
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 10.4
Usage
Groups
Format
A data frame/tibble with 78 observations on two variables
group a factor with levels A, B, and C
response a numeric vector
114 Gym
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercises 2.21 and 9.14
Usage
Gym
Format
A data frame/tibble with eight observations on three variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Usage
Habits
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
shapiro.test(Habits$differ)
qqnorm(Habits$differ)
qqline(Habits$differ)
wilcox.test(Habits$B, Habits$A, paired = TRUE, alternative = "less")
t.test(Habits$signrks, alternative = "less")
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Habits, aes(x = differ)) +
geom_dotplot(fill = "blue") +
theme_bw()
## End(Not run)
116 Hardware
Description
Data for Example 6.9
Usage
Haptoglo
Format
A data frame/tibble with eight observations on one variable
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
shapiro.test(Haptoglo$concent)
t.test(Haptoglo$concent, mu = 2, alternative = "less")
Hardware Daily receipts for a small hardware store for 31 working days
Description
Daily receipts for a small hardware store for 31 working days
Usage
Hardware
Format
A data frame with 31 observations on one variable
Source
J.C. Miller and J.N. Miller, (1988), Statistics for Analytical Chemistry, 2nd Ed. (New York: Halsted
Press).
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Hardware$receipt)
Description
Usage
Hardwood
Format
tensile tensile strength of kraft paper (in pounds per square inch)
hardwood percent of hardwood in the batch of pulp that was used to produce the paper
Source
G. Joglekar, et al., "Lack-of-Fit Testing When Replicates Are Not Available," The American Statis-
tician, 43(3), (1989), 135-143.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
118 Heat
Examples
Description
Data for Exercise 1.29
Usage
Heat
Format
A data frame/tibble with 301 observations on two variables
fuel a factor with levels Utility gas, LP bottled gas, Electricity, Fuel oil, Wood, and
Other
location a factor with levels American Indians on reservation, All U.S. households, and
American Indians not on reservations
Source
Bureau of the Census, Housing of the American Indians on Reservations, Statistical Brief 95-11,
April 1995.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## Not run:
library(ggplot2)
Heating 119
## End(Not run)
Description
Usage
Heating
Format
type a factor with levels A, B, and C denoting the type of oil heater
efficiency heater efficiency rating
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Usage
Hodgkin
Format
Source
I. Dunsmore, F. Daly, Statistical Methods, Unit 9, Categorical Data, Milton Keynes, The Open
University, 18.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Hodgkin, aes(x = type, fill = response)) +
geom_bar(position = "dodge") +
theme_bw()
## End(Not run)
Homes 121
Description
Data for Statistical Insight Chapter 5
Usage
Homes
Format
A data frame/tibble with 65 observations on the four variables
city a character variable with values Akron OH, Albuquerque NM, Anaheim CA, Atlanta GA,
Baltimore MD, Baton Rouge LA, Birmingham AL, Boston MA, Bradenton FL, Buffalo NY,
Charleston SC, Chicago IL, Cincinnati OH, Cleveland OH, Columbia SC, Columbus OH,
Corpus Christi TX, Dallas TX, Daytona Beach FL, Denver CO, Des Moines IA,
Detroit MI, El Paso TX, Grand Rapids MI, Hartford CT, Honolulu HI, Houston TX,
Indianapolis IN, Jacksonville FL, Kansas City MO, Knoxville TN, Las Vegas NV,
Los Angeles CA, Louisville KY, Madison WI, Memphis TN, Miami FL, Milwaukee WI,
Minneapolis MN, Mobile AL, Nashville TN, New Haven CT, New Orleans LA, New
York NY, Oklahoma City OK, Omaha NE, Orlando FL, Philadelphia PA, Phoenix AZ,
Pittsburgh PA, Portland OR, Providence RI, Sacramento CA, Salt Lake City UT,
San Antonio TX, San Diego CA, San Francisco CA, Seattle WA, Spokane WA, St Louis MO,
Syracuse NY, Tampa FL, Toledo OH, Tulsa OK, and Washington DC
region a character variable with values Midwest, Northeast, South, and West
year a factor with levels 1994 and 2000
price median house price (in dollars)
Source
National Association of Realtors.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Homework Number of hours per week spent on homework for private and public
high school students
Description
Data for Exercise 7.78
Usage
Homework
Format
A data frame with 30 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Statistical Insight Chapter 6
Usage
Honda
Format
A data frame/tibble with 35 observations on one variable
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Hostile Hostility levels of high school students from rural, suburban, and ur-
ban areas
Description
Data for Example 10.6
Usage
Hostile
Format
A data frame/tibble with 135 observations on two variables
location a factor with the location of the high school student (Rural, Suburban, or Urban)
hostility the score from the Hostility Level Test
124 Housing
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Housing Median home prices for 1984 and 1993 in 37 markets across the U.S.
Description
Data for Exercise 5.82
Usage
Housing
Format
A data frame/tibble with 74 observations on three variables
city a character variable with values Albany, Anaheim, Atlanta, Baltimore, Birmingham, Boston,
Chicago, Cincinnati, Cleveland, Columbus, Dallas, Denver, Detroit, Ft Lauderdale,
Houston, Indianapolis, Kansas City, Los Angeles, Louisville, Memphis, Miami, Milwaukee,
Minneapolis, Nashville, New York, Oklahoma City, Philadelphia, Providence, Rochester,
Salt Lake City, San Antonio, San Diego, San Francisco, San Jose, St Louis, Tampa,
and Washington
year a factor with levels 1984 and 1993
price median house price (in dollars)
Source
National Association of Realtors.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Hurrican 125
Examples
## End(Not run)
Hurrican Number of storms, hurricanes and El Nino effects from 1950 through
1995
Description
Usage
Hurrican
Format
Source
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
126 Iceberg
Examples
Description
Data for Exercise 2.46 and 2.60
Usage
Iceberg
Format
A data frame with 12 observations on three variables
month a character variable with abbreviated months of the year
Newfoundland number of icebergs sighted south of Newfoundland
Grand Banks number of icebergs sighted south of Grand Banks
Source
N. Shaw, Manual of Meteorology, Vol. 2 (London: Cambridge University Press 1942), 7; and F.
Mosteller and J. Tukey, Data Analysis and Regression (Reading, MA: Addison - Wesley, 1977).
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Income Percent change in personal income from 1st to 2nd quarter in 2000
Description
Data for Exercise 1.33
Usage
Income
Format
A data frame/tibble with 51 observations on two variables
state a character variable with values Alabama, Alaska, Arizona, Arkansas, California, Colorado,
Connecticut, Delaware, District of Colunbia, Florida, Georgia, Hawaii, Idaho,
Illinois, Indiana, Iowa, Kansas, Kentucky, Louisiana, Maine, Maryland, Massachusetts,
Michigan, Minnesota, Mississippi, Missour, Montana, Nebraska, Nevada, New Hampshire,
New Jersey, New Mexico, New York, North Carolina, North Dakota, Ohio, Oklahoma,
Oregon, Pennsylvania, Rhode Island, South Carolina, South Dakota, Tennessee,
Texas, Utah, Vermont, Virginia, Washington, West Virginia, Wisconsin, and Wyoming
percent_change percent change in income from first quarter to the second quarter of 2000
Source
US Department of Commerce.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Description
Usage
Independent
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
qqnorm(Independent$score[Independent$group=="A"])
qqline(Independent$score[Independent$group=="A"])
qqnorm(Independent$score[Independent$group=="B"])
qqline(Independent$score[Independent$group=="B"])
boxplot(score ~ group, data = Independent, col = "blue")
wilcox.test(score ~ group, data = Independent)
Indian 129
Indian Educational attainment versus per capita income and poverty rate for
American indians living on reservations
Description
Usage
Indian
Format
reservation a character variable with values Blackfeet, Fort Apache, Gila River, Hopi, Navajo,
Papago, Pine Ridge, Rosebud, San Carlos, and Zuni Pueblo
percent high school percent who have graduated from high school
per capita income per capita income (in dollars)
poverty rate percent poverty
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Indiapol Average miles per hour for the winners of the Indianapolis 500 race
Description
Data for Exercise 1.128
Usage
Indiapol
Format
A data frame/tibble with 39 observations on two variables
Source
The World Almanac and Book of Facts, 2000, p. 1004.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Indy500 Qualifying miles per hour and number of previous starts for drivers in
79th Indianapolis 500 race
Description
Data for Exercises 7.11 and 7.36
Usage
Indy500
Inflatio 131
Format
driver a character variable with values andretti, bachelart, boesel, brayton, c.guerrero,
cheever, fabi, fernandez, ferran, fittipaldi, fox, goodyear, gordon, gugelmin, herta,
james, johansson, jones, lazier, luyendyk, matsuda, matsushita, pruett, r.guerrero,
rahal, ribeiro, salazar, sharp, sullivan, tracy, vasser, villeneuve, and zampedri
qualif qualifying speed (in mph)
starts number of Indianapolis 500 starts
group a numeric vector where 1 indicates the driver has 4 or fewer Indianapolis 500 starts and a 2
for drivers with 5 or more Indianapolis 500 starts
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Description
Usage
Inflatio
132 Inletoil
Format
A data frame/tibble with 24 observations on four variables
Source
Bureau of Labor Statistics.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercises 5.91 and 6.48
Usage
Inletoil
Format
A data frame/tibble with 12 observations on one variable
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Inmate 133
Examples
hist(Inletoil$temp, breaks = 3)
qqnorm(Inletoil$temp)
qqline(Inletoil$temp)
t.test(Inletoil$temp)
t.test(Inletoil$temp, mu = 98, alternative = "less")
Description
Data for Statistical Insight Chapter 8
Usage
Inmate
Format
A data frame/tibble with 28,047 observations on two variables
Source
C. Wolf Harlow (1994), Comparing Federal and State Prison Inmates, NCJ-145864, U.S. Depart-
ment of Justice, Bureau of Justice Statistics.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 8.59
Usage
Inspect
Format
A data frame/tibble with 174 observations on two variables
station a factor with levels auto inspection, auto repair, car care center, gas station,
new car dealer, and tire store
passed a factor with levels less than 70%, between 70% and 84%, and more than 85%
Source
The Charlotte Observer, December 13, 1992.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Inspect, aes(x = passed, fill = station)) +
geom_bar(position = "dodge") +
theme_bw()
## End(Not run)
Insulate 135
Description
Usage
Insulate
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Insulate, aes(x = temp, y = loss)) +
geom_point() +
geom_smooth(method = "lm", se = FALSE) +
theme_bw()
## End(Not run)
136 Irises
Description
Data for Exercises 9.51 and 9.52
Usage
Iqgpa
Format
A data frame/tibble with 12 observations on two variables
iq IQ scores
gpa Grade point average
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Examples 1.15 and 5.19
Usage
Irises
Jdpower 137
Format
Source
Fisher, R. A. (1936) The use of multiple measurements in taxonomic problems. Annals of Eugenics,
7, Part II, 179-188.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Jdpower Number of problems reported per 100 cars in 1994 versus 1995s
Description
Usage
Jdpower
138 Jobsat
Format
A data frame/tibble with 29 observations on three variables
car a factor with levels Acura, BMW, Buick, Cadillac, Chevrolet, Dodge Eagle, Ford, Geo,
Honda, Hyundai, Infiniti, Jaguar, Lexus, Lincoln, Mazda, Mercedes-Benz, Mercury,
Mitsubishi, Nissan, Oldsmobile, Plymouth, Pontiac, Saab, Saturn, and Subaru, Toyota
Volkswagen, Volvo
1994 number of problems per 100 cars in 1994
1995 number of problems per 100 cars in 1995
Source
USA Today, May 25, 1995.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 9.60
Usage
Jobsat
Format
A data frame/tibble with nine observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 4.85
Usage
Kidsmoke
Format
A data frame/tibble with 1000 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Example 5.9
Usage
Kilowatt
Format
A data frame/tibble with 51 observations on two variables
state a factor with levels Alabama Alaska, Arizona, Arkansas California, Colorado, Connecticut,
Delaware, District of Columbia, Florida,Georgia, Hawaii, Idaho, Illinois, Indiana,
Iowa Kansas Kentucky, Louisiana, Maine, Maryland, Massachusetts, Michigan, Minnesota,
Mississippi, Missour, Montana Nebraska, Nevada, New Hampshire, New Jersey, New Mexico,
New York, North Carolina, North Dakota, Ohio, Oklahoma, Oregon, Pennsylvania,
Rhode Island, South Carolina, South Dakota, Tennessee, Texas, Utah, Vermont, Virginia
Washington, West Virginia, Wisconsin, and Wyoming
rate a numeric vector indicating rates for kilowatt per hour
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Kilowatt$rate)
Kinder Reading scores for first grade children who attended kindergarten ver-
sus those who did not
Description
Data for Exercise 7.68
Usage
Kinder
Laminect 141
Format
A data frame/tibble with eight observations on three variables
pair a numeric indicator of pair
kinder reading score of kids who went to kindergarten
nokinder reading score of kids who did not go to kindergarten
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
boxplot(Kinder$kinder, Kinder$nokinder)
diff <- Kinder$kinder - Kinder$nokinder
qqnorm(diff)
qqline(diff)
shapiro.test(diff)
t.test(Kinder$kinder, Kinder$nokinder, paired = TRUE)
# Or
t.test(diff)
rm(diff)
Description
Data for Exercise 10.18
Usage
Laminect
Format
A data frame/tibble with 138 observations on two variables
area a character vector indicating the area of the hospital with Rural, Regional, and Metropol
cost a numeric vector indicating cost of a laminectomy
Source
Consumer’s Guide to Hospitalization Charges in North Carolina Hospitals (August 1994), North
Carolina Medical Database Commission, Department of Insurance.
142 Lead
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Lead Lead levels in children’s blood whose parents worked in a battery fac-
tory
Description
Data for Example 1.17
Usage
Lead
Format
A data frame/tibble with 66 observations on the two variables
Source
Morton, D. et al. (1982), "Lead Absorption in Children of Employees in a Lead-Related Industry,"
American Journal of Epidemiology, 155, 549-555.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 7.31
Usage
Leader
Format
A data frame/tibble with 34 observations on two variables
age a character vector indicating age with values under35 and over35
score score on a leadership exam
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Example 6.12
Usage
Lethal
Format
A data frame/tibble with 30 observations on one variable
survival a numeric vector indicating time surivived after injection (in seconds)
144 Life
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.31
Usage
Life
Format
A data frame/tibble with eight observations on three variables
year a numeric vector indicating year
men life expectancy for men (in years)
women life expectancy for women (in years)
Source
National Center for Health Statistics.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 2.4, 2.37, and 2.49
Usage
Lifespan
Format
A data frame/tibble with six observations two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 2.6
Usage
Ligntmonth
146 Lodge
Format
A data frame/tibble with 12 observations on four variables
month a factor with levels 1/01/2000, 10/01/2000, 11/01/2000, 12/01/2000, 2/01/2000, 3/01/2000,
4/01/2000, 5/01/2000, 6/01/2000, 7/01/2000, 8/01/2000, and 9/01/2000
deaths number of deaths due to lightning strikes
injuries number of injuries due to lightning strikes
damage damage due to lightning strikes (in dollars)
Source
Lighting Fatalities, Injuries and Damage Reports in the United States, 1959-1994, NOAA Technical
Memorandum NWS SR-193, Dept. of Commerce.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 10.33
Usage
Lodge
Format
A data frame/tibble with 45 observations on six variables
traffic a numeric vector indicating the amount of vehicles that passed a site in 1 hour
site a numeric vector with values 1, 2, and 3
ranks ranks for variable traffic
Longtail 147
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 10.45
Usage
Longtail
Format
A data frame/tibble with 60 observations on three variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Example 7.18
Usage
Lowabil
Format
A data frame/tibble with 12 observations on three variables
pair a numeric indicator of pair
experiment score of the child with the experimental method
control score of the child with the standard method
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 9.9
Usage
Magnesiu
Malpract 149
Format
A data frame/tibble with 20 observations on two variables
Source
Davis, J. (1986), Statistics and Data Analysis in Geology, 2d. Ed., John Wiley and Sons, New York,
p. 146.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 5.73
Usage
Malpract
Format
A data frame/tibble with 17 observations on one variable
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
150 Marked
Examples
Description
Data for Exercise 5.81
Usage
Manager
Format
A data frame/tibble with 26 observations on one variable
salary random sample of advertised annual salaries of top executives (in dollars)
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Manager$salary)
SIGN.test(Manager$salary)
Description
Data for Exercise 6.100
Usage
Marked
Math 151
Format
Source
Law Enforcement Management and Administrative Statistics, 1993, Bureau of Justice Statistics,
NCJ-148825, September 1995, p. 147-148.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Marked$percent)
SIGN.test(Marked$percent, md = 60, alternative = "greater")
t.test(Marked$percent, mu = 60, alternative = "greater")
Description
Usage
Math
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
152 Mathcomp
Examples
stem(Math$score)
hist(Math$score, main = "Math Scores", xlab = "score", freq = FALSE)
lines(density(Math$score), col = "red")
CharlieZ <- (62 - mean(Math$score))/sd(Math$score)
CharlieZ
scale(Math$score)[which(Math$score == 62)]
Description
Usage
Mathcomp
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Mathcomp$score)
EDA(Mathcomp$score)
Mathpro 153
Description
Usage
Mathpro
Format
state a factor with levels Conn, D.C., Del, Ga, Hawaii, Ind, Maine, Mass, Md, N.C., N.H., N.J.,
N.Y., Ore, Pa, R.I., S.C., Va, and Vt
sat_math SAT math scores for high school seniors
profic math proficiency scores for eigth graders
group a numeric vector
Source
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Maze Error scores for four groups of experimental animals running a maze
Description
Data for Exercise 10.13
Usage
Maze
Format
A data frame/tibble with 32 observations on two variables
score error scores for animals running through a maze under different conditions
condition a factor with levels CondA, CondB, CondC, and CondD
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Median Illustrates test of equality of medians with the Kruskal Wallis test
Description
Data for Exercise 10.52
Usage
Median
Format
A data frame/tibble with 45 observations on two variables
sample a vector with values Sample1, Sample 2, and Sample 3
value a numeric vector
Mental 155
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Usage
Mental
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
SIGN.test(Mental$age, md = 100)
156 Metrent
Description
Data for Example 1.9
Usage
Mercury
Format
A data frame/tibble with 25 observations on one variable
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Mercury$mercury)
Metrent Monthly rental costs in metro areas with 1 million or more persons
Description
Data for Exercise 5.117
Usage
Metrent
Format
A data frame/tibble with 46 observations on one variable
Source
U.S. Bureau of the Census, Housing in the Metropolitan Areas, Statistical Brief SB/94/19, Septem-
ber 1994.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Miller Miller personality test scores for a group of college students applying
for graduate school
Description
Data for Example 5.7
Usage
Miller
Format
A data frame/tibble with 25 observations on one variable
miller scores on the Miller Personality test
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Miller$miller)
fivenum(Miller$miller)
boxplot(Miller$miller)
qqnorm(Miller$miller,col = "blue")
qqline(Miller$miller, col = "red")
158 Moisture
Description
Data for Exercise 1.41
Usage
Miller1
Format
A data frame/tibble with 20 observations on one variable
miller scores on the Miller personality test
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Miller1$miller)
stem(Miller1$miller, scale = 2)
Moisture Moisture content and depth of core sample for marine muds in eastern
Louisiana
Description
Data for Exercise 9.32
Usage
Moisture
Format
A data frame/tibble with 16 observations on four variables
depth a numeric vector
moisture g of water per 100 g of dried sediment
lnmoist a numeric vector
depthsq a numeric vector
Monoxide 159
Source
Davis, J. C. (1986), Statistics and Data Analysis in Geology, 2d. ed., John Wiley and Sons, New
York, pp. 177, 185.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Usage
Monoxide
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
160 Movie
Examples
## End(Not run)
Movie Moral attitude scale on 15 subjects before and after viewing a movie
Description
Data for Exercise 7.53
Usage
Movie
Format
A data frame/tibble with 12 observations on three variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
qqnorm(Movie$differ)
qqline(Movie$differ)
shapiro.test(Movie$differ)
t.test(Movie$after, Movie$before, paired = TRUE, conf.level = 0.99)
wilcox.test(Movie$after, Movie$before, paired = TRUE)
Music 161
Description
Usage
Music
Format
method1 a numeric vector measuring the improvement scores on a music recognition test
method2 a numeric vector measuring the improvement scores on a music recognition test
differ method1 - method2
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
qqnorm(Music$differ)
qqline(Music$differ)
shapiro.test(Music$differ)
t.test(Music$method1, Music$method2, paired = TRUE)
# Or
t.test(Music$differ)
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Music, aes(x = differ)) +
geom_dotplot() +
theme_bw()
## End(Not run)
162 Name
Name Estimated value of a brand name product and the conpany’s revenue
Description
Data for Exercises 2.28, 9.19, and Example 2.8
Usage
Name
Format
A data frame/tibble with 42 observations on three variables
brand a factor with levels Band-Aid, Barbie, Birds Eye, Budweiser, Camel, Campbell, Carlsberg,
Coca-Cola, Colgate, Del Monte, Fisher-Price, Gordon's, Green Giant, Guinness, Haagen-Dazs,
Heineken, Heinz, Hennessy, Hermes, Hershey, Ivory, Jell-o, Johnnie Walker, Kellogg,
Kleenex, Kraft, Louis Vuitton, Marlboro, Nescafe, Nestle, Nivea, Oil of Olay,
Pampers, Pepsi-Cola, Planters, Quaker, Sara Lee, Schweppes, Smirnoff, Tampax, Winston,
and Wrigley's
value value in billions of dollars
revenue revenue in billions of dollars
Source
Financial World.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 10.53
Usage
Nascar
Format
A data frame/tibble with 36 observations on six variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Example 10.3
Usage
Nervous
164 Newsstand
Format
A data frame/tibble with 25 observations on two variables
react a numeric vector representing reaction time
drug a numeric vector indicating each of the 4 drugs
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.43
Usage
Newsstand
Format
A data frame/tibble with 20 observations on one variable
profit profit of each newsstand (in dollars)
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Newsstand$profit)
stem(Newsstand$profit, scale = 3)
Nfldraf2 165
Nfldraf2 Rating, time in 40-yard dash, and weight of top defensive linemen in
the 1994 NFL draft
Description
Data for Exercise 9.63
Usage
Nfldraf2
Format
A data frame/tibble with 47 observations on three variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Nfldraft Rating, time in 40-yard dash, and weight of top offensive linemen in
the 1994 NFL draft
Description
Data for Exercises 9.10 and 9.16
Usage
Nfldraft
166 Nicotine
Format
A data frame/tibble with 29 observations on three variables
Source
USA Today, April 20, 1994.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Nicotine Nicotine content versus sales for eight major brands of cigarettes
Description
Data for Exercise 9.21
Usage
Nicotine
Format
A data frame/tibble with eight observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
normarea 167
Examples
Description
Function that computes and draws the area between two user specified values in a user specified
normal distribution with a given mean and standard deviation
Usage
Arguments
Author(s)
Alan T. Arnholt
Examples
Description
Function to determine required sample size to be within a given margin of error.
Usage
nsize(b, sigma = NULL, p = 0.5, conf.level = 0.95, type = "mu")
Arguments
b the desired bound.
sigma population standard deviation. Not required if using type "pi".
p estimate for the population proportion of successes. Not required if using type
"mu".
conf.level confidence level for the problem, restricted to lie between zero and one.
type character string, one of "mu" or "pi", or just the initial letter of each, indicating
the appropriate parameter. Default value is "mu".
Details
Answer is based on a normal approximation when using type "pi".
Value
Returns required sample size.
Author(s)
Alan T. Arnholt
Examples
Description
Q-Q plots of randomly generated normal data of the same size as the tested data are generated and
ploted on the perimeter of the graph while a Q-Q plot of the actual data is depicted in the center of
the graph.
Usage
ntester(actual.data)
Arguments
actual.data a numeric vector. Missing and infinite values are allowed, but are ignored in the
calculation. The length of actual.data must be less than 5000 after dropping
nonfinite values.
Details
Q-Q plots of randomly generated normal data of the same size as the tested data are generated and
ploted on the perimeter of the graph sheet while a Q-Q plot of the actual data is depicted in the
center of the graph. The p-values are calculated form the Shapiro-Wilk W-statistic. Function will
only work on numeric vectors containing less than or equal to 5000 observations.
Author(s)
Alan T. Arnholt
References
Shapiro, S.S. and Wilk, M.B. (1965). An analysis of variance test for normality (complete samples).
Biometrika 52 : 591-611.
Examples
ntester(rexp(50,1))
# Q-Q plot of random exponential data in center plot
# surrounded by 8 Q-Q plots of randomly generated
# standard normal data of size 50.
170 Orioles
Description
Data for Exercise 9.61
Usage
Orange
Format
A data frame/tibble with six observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Example 1.3
Usage
Orioles
Oxytocin 171
Format
A data frame/tibble with 27 observations on three variables
first name a factor with levels Albert, Arthur, B.J., Brady, Cal, Charles, dl-Delino, dl-Scott,
Doug, Harold, Heathcliff, Jeff, Jesse, Juan, Lenny, Mike, Rich, Ricky, Scott, Sidney,
Will, and Willis
last name a factor with levels Amaral, Anderson, Baines, Belle, Bones, Bordick, Clark, Conine,
Deshields, Erickson, Fetters, Garcia, Guzman, Johns, Johnson, Kamieniecki, Mussina,
Orosco, Otanez, Ponson, Reboulet, Rhodes, Ripken Jr., Slocumb, Surhoff,Timlin, and
Webster
1999salary a numeric vector containing each player’s salary (in dollars)
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Oxytocin Arterial blood pressure of 11 subjects before and after receiving oxy-
tocin
Description
Data for Exercise 7.86
Usage
Oxytocin
Format
A data frame/tibble with 11 observations on three variables
subject a numeric vector indicating each subject
before mean arterial blood pressure of subject before receiving oxytocin
after mean arterial blood pressure of subject after receiving oxytocin
172 Parented
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.32
Usage
Parented
Format
A data frame/tibble with 200 observations on two variables
education a factor with levels 4yr college degree, Doctoral degree, Grad degree, H.S grad or less,
Some college, and Some grad school
parent a factor with levels mother and father
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Description
Usage
Patrol
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 2.20
Usage
Pearson
Format
A data frame/tibble with 11 observations on three variables
Source
Pearson, K. and Lee, A. (1902-3), On the Laws of Inheritance in Man, Biometrika, 2, 357.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 6.95
Usage
Phone
Poison 175
Format
A data frame/tibble with 20 observations on one variable
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
qqnorm(Phone$time)
qqline(Phone$time)
shapiro.test(Phone$time)
SIGN.test(Phone$time, md = 5, alternative = "greater")
Description
Data for Exercise 1.113
Usage
Poison
Format
A data frame/tibble with 226,361 observations on one variable
type a factor with levels Alcohol, Cleaning agent, Cosmetics, Drugs, Insecticides, and
Plants
Source
Centers for Disease Control, Atlanta, Georgia.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
176 Politic
Examples
## End(Not run)
Description
Data for Example 8.3
Usage
Politic
Format
A data frame/tibble with 250 observations on two variables
party a factor with levels republican, democrat, and other
gender a factor with levels female and male
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Pollutio Air pollution index for 15 randomly selected days for a major western
city
Description
Data for Exercise 5.59
Usage
Pollutio
Format
A data frame/tibble with 15 observations on one variable
inde air pollution index
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Pollutio$inde)
t.test(Pollutio$inde, conf.level = 0.98)$conf
Description
Data for Exercise 5.86
Usage
Porosity
Format
A data frame/tibble with 20 observations on one variable
porosity porosity measurement (percent)
178 Poverty
Source
Davis, J. C. (1986), Statistics and Data Analysis in Geology, 2nd edition, pages 63-65.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Porosity$porosity)
fivenum(Porosity$porosity)
boxplot(Porosity$porosity, col = "lightgreen")
Description
Data for Exercise 9.11 and 9.17
Usage
Poverty
Format
A data frame/tibble with 20 observations on four variables
city a factor with levels Atlanta, Buffalo, Cincinnati, Cleveland, Dayton, O, Detroit, Flint, Mich,
Fresno, C, Gary, Ind, Hartford, C, Laredo, Macon, Ga, Miami, Milwaukee, New Orleans,
Newark, NJ, Rochester,NY, Shreveport, St. Louis, and Waco, Tx
poverty percent of children living in poverty
crime crime rate (per 1000 people)
population population of city
Source
Children’s Defense Fund and the Bureau of Justice Statistics.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Precinct 179
Examples
Description
Usage
Precinct
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Usage
Prejudic
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Prejudic$prejud)
EDA(Prejudic$prejud)
Description
Usage
Presiden
Press 181
Format
A data frame/tibble with 43 observations on five variables
first_initial a factor with levels A., B., C., D., F., G., G. W., H., J., L., M., R., T., U., W., and Z.
last_name a factor with levels Adams, Arthur, Buchanan, Bush, Carter, Cleveland, Clinton,
Coolidge, Eisenhower, Fillmore, Ford, Garfield, Grant, Harding, Harrison, Hayes,
Hoover, Jackson, Jefferson, Johnson, Kennedy, Lincoln, Madison, McKinley, Monroe,
Nixon, Pierce, Polk, Reagan, Roosevelt, Taft, Taylor, Truman, Tyler, VanBuren, Washington,
and Wilson
birth_state a factor with levels ARK, CAL, CONN, GA, IA, ILL, KY, MASS, MO, NC, NEB, NH, NJ, NY, OH,
PA, SC, TEX, VA, and VT
inaugural_age President’s age at inauguration
death_age President’s age at death
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Press Degree of confidence in the press versus education level for 20 ran-
domly selected persons
Description
Data for Exercise 9.55
Usage
Press
Format
A data frame/tibble with 20 observations on two variables
education_yrs years of education
confidence degree of confidence in the press (the higher the score, the more confidence)
182 Prognost
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Prognost Klopfer’s prognostic rating scale for subjects receiving behavior mod-
ification therapy
Description
Data for Exercise 6.61
Usage
Prognost
Format
A data frame/tibble with 15 observations on one variable
kprs_score Kloper’s Prognostic Rating Scale score
Source
Newmark, C., et al. (1973), Predictive Validity of the Rorschach Prognostic Rating Scale with
Behavior Modification Techniques, Journal of Clinical Psychology, 29, 246-248.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Prognost$kprs_score)
t.test(Prognost$kprs_score, mu = 9)
Program 183
Description
Data for Exercise 10.17
Usage
Program
Format
A data frame/tibble with 44 observations on two variables
method a character variable with values method1, method2, method3, and method4
score standardized test score
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 2.50
Usage
Psat
184 Psych
Format
A data frame/tibble with seven observations on the two variables
psat PSAT score
sat SAT score
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.42
Usage
Psych
Format
A data frame/tibble with 23 observations on one variable
score number of correct repsonses in a psychology experiment
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Psych$score)
EDA(Psych$score)
Puerto 185
Description
Data for Exercise 5.22 and 5.65
Usage
Puerto
Format
A data frame/tibble with 50 observations on one variable
income weekly family income (in dollars)
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Puerto$income)
boxplot(Puerto$income, col = "purple")
t.test(Puerto$income,conf.level = .90)$conf
Description
Data for Exercise 1.53, 1.77, 1.88, 5.66, and 7.50
Usage
Quail
Format
A data frame/tibble with 40 observations on two variables
group a character variable with values placebo and treatment
level low-density lipoprotein (LDL) cholestrol level
186 Quality
Source
J. McKean, and T. Vidmar (1994), "A Comparison of Two Rank-Based Methods for the Analysis
of Linear Models," The American Statistician, 48, 220-229.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 7.81
Usage
Quality
Format
A data frame/tibble with 15 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Rainks Rainfall in an area of west central Kansas and four surrounding coun-
ties
Description
Usage
Rainks
Format
Source
R. Picard, K. Berk (1990), Data Splitting, The American Statistician, 44, (2), 140-147.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
cor(Rainks)
model <- lm(rain ~ x2, data = Rainks)
summary(model)
188 Rat
Description
Data for Exercise 9.36 and Example 9.8
Usage
Randd
Format
A data frame/tibble with 12 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.52, 1.76, 5.62, and 6.44
Usage
Rat
Ratings 189
Format
A data frame/tibble with 20 observations on one variable
survival_time survival time in weeks for rats exposed to a high level of radiation
Source
J. Lawless, Statistical Models and Methods for Lifetime Data (New York: Wiley, 1982).
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
hist(Rat$survival_time)
qqnorm(Rat$survival_time)
qqline(Rat$survival_time)
summary(Rat$survival_time)
t.test(Rat$survival_time)
t.test(Rat$survival_time, mu = 100, alternative = "greater")
Description
Data for Example 2.6
Usage
Ratings
Format
A data frame/tibble with 250 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
190 Reaction
Examples
## End(Not run)
Description
Usage
Reaction
Format
time threshold reaction time (in seconds) for persons subjected to emotional stress
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Reaction$time)
SIGN.test(Reaction$time, md = 15, alternative = "less")
Reading 191
Description
Data for Exercise 1.72 and 2.10
Usage
Reading
Format
A data frame/tibble with 30 observations on four variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercises 2.10 and 2.53
Usage
Readiq
192 Referend
Format
A data frame/tibble with 14 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 8.20
Usage
Referend
Format
A data frame with 237 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Region 193
Examples
Description
Usage
Region
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 2.3, 2.39, and 2.54
Usage
Register
Format
A data frame/tibble with nine observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 7.61
Usage
Rehab
Remedial 195
Format
A data frame/tibble with 20 observations on four variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
boxplot(Rehab$differ)
qqnorm(Rehab$differ)
qqline(Rehab$differ)
t.test(Rehab$differ)
# Or
t.test(Rehab$psych1, Rehab$psych2, paired = TRUE)
Remedial Math placement test score for 35 freshmen females and 42 freshmen
males
Description
Data for Exercise 7.43
Usage
Remedial
Format
A data frame/tibble with 84 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
196 Rentals
Examples
Description
Usage
Rentals
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Rentals$rent)
sum(Rentals$rent < mean(Rentals$rent) - 3*sd(Rentals$rent) |
Rentals$rent > mean(Rentals$rent) + 3*sd(Rentals$rent))
Repair 197
Description
Data for Exercise 5.77
Usage
Repair
Format
A data frame/tibble with 22 observations on one variable
time time to repair a wrecked in car (in hours)
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Repair$time)
SIGN.test(Repair$time, conf.level = 0.98)
Description
Data for Exercise 9.59
Usage
Retail
Format
A data frame/tibble with 10 observations on two variables
months length of employment (in months)
sales employee gross sales (in dollars)
198 Ronbrown1
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Ronbrown1 Oceanography data obtained at site 1 by scientist aboard the ship Ron
Brown
Description
Usage
Ronbrown1
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Ronbrown2 Oceanography data obtained at site 2 by scientist aboard the ship Ron
Brown
Description
Data for Exercise 2.56 and Example 2.4
Usage
Ronbrown2
Format
A data frame/tibble with 150 observations on three variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Rural Social adjustment scores for a rural group and a city group of children
Description
Data for Example 7.16
Usage
Rural
200 Salary
Format
A data frame/tibble with 33 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Description
Data for Exercise 3.66
Usage
Salary
Format
A data frame/tibble with 25 observations on one variable
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Salinity 201
Examples
Description
Usage
Salinity
Format
Source
J. Davis, Statistics and Data Analysis in Geology, 2nd ed. (New York: John Wiley, 1986).
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Salinity$salinity)
qqnorm(Salinity$salinity, pch = 19, col = "purple")
qqline(Salinity$salinity, col = "blue")
t.test(Salinity$salinity, conf.level = 0.99)
t.test(Salinity$salinity, conf.level = 0.99)$conf
202 Sat
Sat SAT scores, percent taking exam and state funding per student by state
for 1994, 1995 and 1999
Description
Data for Statistical Insight Chapter 9
Usage
Sat
Format
A data frame/tibble with 102 observations on seven variables
state U.S. state
verbal verbal SAT score
math math SAT score
total combined verbal and math SAT score
percent percent of high school seniors taking the SAT
expend state expenditure per student (in dollars)
year year
Source
The 2000 World Almanac and Book of Facts, Funk and Wagnalls Corporation, New Jersey.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Saving Problem asset ration for savings and loan companies in California,
New York, and Texas
Description
Data for Exercise 10.34 and 10.49
Usage
Saving
Format
A data frame/tibble with 65 observations on two variables
par problem-asset-ratio for Savings & Loans that were listed as being financially troubled in 1992
state U.S. state
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Scales Readings obtained from a 100 pound weight placed on four brands of
bathroom scales
Description
Data for Exercise 1.89
Usage
Scales
204 Schizop2
Format
A data frame/tibble with 20 observations on two variables
brand variable indicating brand of bathroom scale (A, B, C, or D)
reading recorded value (in pounds) of a 100 pound weight
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Description
Data for Exercise 6.99
Usage
Schizop2
Format
A data frame/tibble with 17 observations on one variable
score schizophrenics score on a second standardized exam
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Schizoph 205
Examples
Description
Usage
Schizoph
Format
score schizophrenics score on a standardized exam one hour after recieving a specified dose of a
tranqilizer.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Usage
Seatbelt
Format
Source
Jobson, J. (1982), Applied Multivariate Data Analysis, Springer-Verlag, New York, p. 18.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Example 7.19
Usage
Selfdefe
Format
A data frame/tibble with nine observations on three variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Senior Reaction times of 30 senior citizens applying for drivers license re-
newals
Description
Data for Exercise 1.83 and 3.67
Usage
Senior
208 Sentence
Format
A data frame/tibble with 31 observations on one variable
reaction reaction time for senior citizens applying for a driver’s license renewal
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Senior$reaction)
fivenum(Senior$reaction)
boxplot(Senior$reaction, main = "Problem 1.83, part d",
horizontal = TRUE, col = "purple")
Description
Data for Exercise 1.123
Usage
Sentence
Format
A data frame/tibble with 41 observations on one variable
Source
U.S. Department of Justice, Bureau of Justice Statistics, Prison Sentences and Time Served for
Violence, NCJ-153858, April 1995.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Shkdrug 209
Examples
stem(Sentence$months)
ll <- mean(Sentence$months)-2*sd(Sentence$months)
ul <- mean(Sentence$months)+2*sd(Sentence$months)
limits <- c(ll, ul)
limits
rm(ul, ll, limits)
Shkdrug Effects of a drug and electroshock therapy on the ability to solve simple
tasks
Description
Usage
Shkdrug
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 10.50
Usage
Shock
Format
A data frame/tibble with 27 observations on two variables
group grouping variable with values of Group1 (no shock), Group2 (medium shock), and Group3
(severe shock)
attempts number of attempts to complete a task
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 9.58
Usage
Shoplift
Short 211
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Usage
Short
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
212 Shuttle
Examples
Description
Usage
Shuttle
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
This function will test a hypothesis based on the sign test and reports linearly interpolated confi-
dence intervals for one sample problems.
Usage
SIGN.test(x, y = NULL, md = 0, alternative = "two.sided",
conf.level = 0.95, ...)
Arguments
x numeric vector; NAs and Infs are allowed but will be removed.
y optional numeric vector; NAs and Infs are allowed but will be removed.
md a single number representing the value of the population median specified by
the null hypothesis
alternative is a character string, one of "greater", "less", or "two.sided", or the initial
letter of each, indicating the specification of the alternative hypothesis. For one-
sample tests, alternative refers to the true median of the parent population in
relation to the hypothesized value of the median.
conf.level confidence level for the returned confidence interval, restricted to lie between
zero and one
... further arguments to be passed to or from methods
Details
Computes a “Dependent-samples Sign-Test” if both x and y are provided. If only x is provided,
computes the “Sign-Test”.
Value
A list of class htest_S, containing the following components:
statistic the S-statistic (the number of positive differences between the data and the hy-
pothesized median), with names attribute “S”.
p.value the p-value for the test
conf.int is a confidence interval (vector of length 2) for the true median based on linear
interpolation. The confidence level is recorded in the attribute conf.level.
When the alternative is not "two.sided", the confidence interval will be half-
infinite, to reflect the interpretation of a confidence interval as the set of all
values k for which one would not reject the null hypothesis that the true mean
or difference in means is k. Here infinity will be represented by Inf.
214 SIGN.test
estimate is avector of length 1, giving the sample median; this estimates the correspond-
ing population parameter. Component estimate has a names attribute describ-
ing its elements.
null.value is the value of the median specified by the null hypothesis. This equals the
input argument md. Component null.value has a names attribute describing its
elements.
alternative records the value of the input argument alternative: "greater", "less", or
"two.sided"
data.name a character string (vector of length 1) containing the actual name of the input
vector x
Confidence.Intervals
a 3 by 3 matrix containing the lower achieved confidence interval, the interpo-
lated confidence interval, and the upper achived confidence interval
Null Hypothesis
For the one-sample sign-test, the null hypothesis is that the median of the population from which
x is drawn is md. For the two-sample dependent case, the null hypothesis is that the median for
the differences of the populations from which x and y are drawn is md. The alternative hypothesis
indicates the direction of divergence of the population median for x from md (i.e., "greater",
"less", "two.sided".)
Note
The reported confidence interval is based on linear interpolation. The lower and upper confidence
levels are exact.
Author(s)
Alan T. Arnholt
References
Gibbons, J.D. and Chakraborti, S. (1992). Nonparametric Statistical Inference. Marcel Dekker
Inc., New York.
Kitchens, L.J.(2003). Basic Statistics and Data Analysis. Duxbury.
Conover, W. J. (1980). Practical Nonparametric Statistics, 2nd ed. Wiley, New York.
Lehmann, E. L. (1975). Nonparametrics: Statistical Methods Based on Ranks. Holden and Day,
San Francisco.
See Also
Examples
x <- c(7.8, 6.6, 6.5, 7.4, 7.3, 7., 6.4, 7.1, 6.7, 7.6, 6.8)
SIGN.test(x, md = 6.5)
# Computes two-sided sign-test for the null hypothesis
# that the population median for 'x' is 6.5. The alternative
# hypothesis is that the median is not 6.5. An interpolated 95%
# confidence interval for the population median will be computed.
reaction <- c(14.3, 13.7, 15.4, 14.7, 12.4, 13.1, 9.2, 14.2,
14.4, 15.8, 11.3, 15.0)
SIGN.test(reaction, md = 15, alternative = "less")
# Data from Example 6.11 page 330 of Kitchens BSDA.
# Computes one-sided sign-test for the null hypothesis
# that the population median is 15. The alternative
# hypothesis is that the median is less than 15.
# An interpolated upper 95% upper bound for the population
# median will be computed.
Description
Data for Example 1.18
Usage
Simpson
Format
A data frame/tibble with 100 observations on three variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
216 Situp
Examples
## End(Not run)
Description
Data for Exercise 1.47
Usage
Situp
Format
A data frame/tibble with 20 observations on one variable
number maximum number of situps completed in an exercise class after 1 month in the program
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Situp$number)
hist(Situp$number, breaks = seq(0, 70, 10), right = FALSE)
hist(Situp$number, breaks = seq(0, 70, 10), right = FALSE,
freq = FALSE, col = "pink", main = "Problem 1.47",
xlab = "Maximum number of situps")
lines(density(Situp$number), col = "red")
Skewed 217
Description
Usage
Skewed
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Skin Survival times of closely and poorly matched skin grafts on burn pa-
tients
Description
Usage
Skin
218 Slc
Format
A data frame/tibble with 11 observations on four variables
patient patient identification number
close graft survival time in days for a closely matched skin graft on the same burn patient
poor graft survival time in days for a poorly matched skin graft on the same burn patient
differ difference between close and poor (in days)
Source
R. F. Woolon and P. A. Lachenbruch, "Rank Tests for Censored Matched Pairs," Biometrika, 67(1980),
597-606.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Skin$differ)
boxplot(Skin$differ, col = "pink")
summary(Skin$differ)
Description
Data for Exercise 5.116
Usage
Slc
Format
A data frame/tibble with 190 observations on one variable
slc Red blood cell sodium-lithium countertransport
Source
Roeder, K., (1994), "A Graphical Technique for Determining the Number of Components in a
Mixture of Normals," Journal of the American Statistical Association, 89, 497-495.
Smokyph 219
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Slc$slc)
hist(Slc$slc, freq = FALSE, xlab = "sodium lithium countertransport",
main = "", col = "lightblue")
lines(density(Slc$slc), col = "purple")
Smokyph Water pH levels of 75 water samples taken in the Great Smoky Moun-
tains
Description
Usage
Smokyph
Format
Source
Schmoyer, R. L. (1994), Permutation Tests for Correlation in Regression Errors, Journal of the
American Statistical Association, 89, 1507-1516.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
220 Snore
Examples
summary(Smokyph$waterph)
tapply(Smokyph$waterph, Smokyph$code, mean)
stripchart(waterph ~ code, data = Smokyph, method = "stack",
pch = 19, col = c("red", "blue"))
t.test(Smokyph$waterph, mu = 7)
SIGN.test(Smokyph$waterph, md = 7)
t.test(waterph ~ code, data = Smokyph, alternative = "less")
t.test(waterph ~ code, data = Smokyph, conf.level = 0.90)
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Smokyph, aes(x = waterph, fill = code)) +
geom_dotplot() +
facet_grid(code ~ .) +
guides(fill = FALSE)
## End(Not run)
Description
Data for Exercise 8.21
Usage
Snore
Format
A data frame/tibble with 2,484 observations on two variables
snore factor with levels nonsnorer, ocassional snorer, nearly every night, and snores every night
heartdisease factor indicating whether the indiviudal has heart disease (no or yes)
Source
Norton, P. and Dunn, E. (1985), Snoring as a Risk Factor for Disease, British Medical Journal, 291,
630-632.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Snow 221
Examples
Description
Usage
Snow
Format
concent concentration of microparticles from melted snow (in parts per billion)
site location of snow sample (Antarctica or Greenland)
Source
Davis, J., Statistics and Data Analysis in Geology, John Wiley, New York.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.46
Usage
Soccer
Format
A data frame/tibble with 25 observations on one variable
weight soccer players weight (in pounds)
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Soccer$weight, scale = 2)
hist(Soccer$weight, breaks = seq(110, 210, 10), col = "orange",
main = "Problem 1.46 \n Weights of Soccer Players",
xlab = "weight (lbs)", right = FALSE)
Social Median income level for 25 social workers from North Carolina
Description
Data for Exercise 6.63
Usage
Social
Format
A data frame/tibble with 25 observations on one variable
income annual income (in dollars) of North Carolina social workers with less than five years expe-
rience.
Sophomor 223
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Sophomor Grade point averages, SAT scores and final grade in college algebra
for 20 sophomores
Description
Data for Exercise 2.42
Usage
Sophomor
Format
A data frame/tibble with 20 observations on four variables
student identification number
gpa grade point average
sat SAT math score
exam final exam grade in college algebra
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
cor(Sophomor)
plot(exam ~ gpa, data = Sophomor)
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Sophomor, aes(x = gpa, y = exam)) +
geom_point()
ggplot2::ggplot(data = Sophomor, aes(x = sat, y = exam)) +
geom_point()
## End(Not run)
224 Speed
Description
Data for Exercise 1.84
Usage
South
Format
A data frame/tibble with 31 observations on one variable
rate murder rate per 100,000 people
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Speed Speed reading scores before and after a course on speed reading
Description
Data for Exercise 7.58
Usage
Speed
Format
A data frame/tibble with 15 observations on four variables
before reading comprehension score before taking a speed-reading course
after reading comprehension score after taking a speed-reading course
differ after - before (comprehension reading scores)
signranks signed ranked differences
Spellers 225
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Spellers Standardized spelling test scores for two fourth grade classes
Description
Usage
Spellers
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Spelling Spelling scores for 9 eighth graders before and after a 2-week course
of instruction
Description
Data for Exercise 7.56
Usage
Spelling
Format
A data frame/tibble with nine observations on three variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
qqnorm(Spelling$differ)
qqline(Spelling$differ)
shapiro.test(Spelling$differ)
t.test(Spelling$before, Spelling$after, paired = TRUE)
t.test(Spelling$differ)
Description
Data for Exercise 8.32
Usage
Sports
Spouse 227
Format
A data frame/tibble with 200 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 8.33
Usage
Spouse
Format
A data frame/tibble with 540 observations on two variables
result a factor with levels not prosecuted, pleaded guilty, convicted, and acquited
spouse a factor with levels husband and wife
Source
Bureau of Justice Statistics (September 1995), Spouse Murder Defendants in Large Urban Counties,
Executive Summary, NCJ-156831.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
228 SRS
Examples
Description
Computes all possible samples from a given population using simple random sampling.
Usage
SRS(POPvalues, n)
Arguments
POPvalues vector containing the poulation values.
n the sample size.
Value
Returns a matrix containing the possible simple random samples of size n taken from a population
POPvalues.
Author(s)
Alan T. Arnholt
See Also
Combinations
Examples
SRS(c(5,8,3),2)
# The rows in the matrix list the values for the 3 possible
# simple random samples of size 2 from the population of 5,8, and 3.
Stable 229
Description
Data for Exercise 6.93
Usage
Stable
Format
A data frame/tibble with nine observations on one variable
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Statistical Insight Chapter 1 and Exercise 5.110
Usage
Stamp
Format
A data frame/tibble with 485 observations on one variable
Source
Izenman, A., Sommer, C. (1988), Philatelic Mixtures and Multimodal Densities, Journal of the
American Statistical Association, 83, 941-953.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 7.30
Usage
Statclas
Format
A data frame/tibble with 72 observations on two variables
class class meeting time (9am or 2pm)
score grade for an introductory statistics class
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
str(Statclas)
boxplot(score ~ class, data = Statclas, col = "red")
t.test(score ~ class, data = Statclas)
Statelaw 231
Statelaw Operating expenditures per resident for each of the state law enforce-
ment agencies
Description
Data for Exercise 6.62
Usage
Statelaw
Format
A data frame/tibble with 50 observations on two variables
Source
Bureau of Justice Statistics, Law Enforcement Management and Administrative Statistics, 1993,
NCJ-148825, September 1995, page 84.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Statelaw$cost)
SIGN.test(Statelaw$cost, md = 8, alternative = "less")
Description
Data for Exercises 1.70 and 1.87
Usage
Statisti
232 Step
Format
A data frame/tibble with 62 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Description
Data for Exercise 6.79
Usage
Step
Format
A data frame/tibble with 12 observations on one variable
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Stress 233
Examples
EDA(Step$score)
t.test(Step$score, mu = 80, alternative = "less")
wilcox.test(Step$score, mu = 80, alternative = "less")
Stress Short-term memory test scores on 12 subjects before and after a stress-
ful situation
Description
Data for Example 7.20
Usage
Stress
Format
A data frame/tibble with 12 observations on two variables
prestress short term memory score before being exposed to a stressful situation
poststress short term memory score after being exposed to a stressful situation
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
234 Submarin
Description
Data for Exercise 5.25
Usage
Study
Format
A data frame/tibble with 50 observations on one variable
hours number of hours a week freshmen reported studying for their courses
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Study$hours)
hist(Study$hours, col = "violet")
summary(Study$hours)
Description
Data for Exercises 2.16, 2.45, and 2.59
Usage
Submarin
Format
A data frame/tibble with 16 observations on three variables
month month
reported number of submarines reported sunk by U.S. Navy
actual number of submarines actually sunk by U.S. Navy
Subway 235
Source
F. Mosteller, S. Fienberg, and R. Rourke, Beginning Statistics with Data Analysis (Reading, MA:
Addison-Wesley, 1983).
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 5.19
Usage
Subway
Format
A data frame/tibble with 30 observations on one variable
time time (in minutes) it takes a subway to travel from the airport to downtown
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Usage
Sunspot
Format
year year
sunspots average number of sunspots for the year
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Superbowl 237
Description
Data for Exercise 1.54
Usage
Superbowl
Format
A data frame/tibble with 35 observations on five variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Superbowl$victory_margin)
Description
Data for Statistical Insight Chapter 10
Usage
Supercar
238 Tablrock
Format
A data frame/tibble with 30 observations on two variables
speed top speed (in miles per hour) of car without redlining
car name of sports car
Source
Car and Drvier (July 1995).
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 5.63
Usage
Tablrock
Format
A data frame/tibble with 719 observations on the following 17 variables.
day date
hour time of day
ozone ozone concentration
tmp temperature (in Celcius)
vdc a numeric vector
wd a numeric vector
ws a numeric vector
Tablrock 239
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
summary(Tablrock$ozone)
boxplot(Tablrock$ozone)
qqnorm(Tablrock$ozone)
qqline(Tablrock$ozone)
par(mar = c(5.1 - 1, 4.1 + 2, 4.1 - 2, 2.1))
boxplot(ozone ~ day, data = Tablrock,
horizontal = TRUE, las = 1, cex.axis = 0.7)
par(mar = c(5.1, 4.1, 4.1, 2.1))
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Tablrock, aes(sample = ozone)) +
geom_qq() +
theme_bw()
ggplot2::ggplot(data = Tablrock, aes(x = as.factor(day), y = ozone)) +
geom_boxplot(fill = "pink") +
coord_flip() +
labs(x = "") +
theme_bw()
## End(Not run)
240 Teacher
Teacher Average teacher’s salaries across the states in the 70s 80s and 90s
Description
Data for Exercise 5.114
Usage
Teacher
Format
A data frame/tibble with 51 observations on three variables
Source
National Education Association.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Tenness Tennessee self concept scores for 20 gifted high school students
Description
Usage
Tenness
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
242 Test1
Description
Data for Example 7.11
Usage
Tensile
Format
A data frame/tibble with 72 observations on two variables
tensile plastic bag tensile strength (pounds per square inch)
run factor with run number (1 or 2)
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 5.80
Usage
Test1
Format
A data frame/tibble with 25 observations on one variable
score score on first statistics exam
Thermal 243
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Test1$score)
boxplot(Test1$score, col = "purple")
Description
Data for Example 9.5
Usage
Thermal
Format
A data frame/tibble with 12 observations on the two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for your enjoyment
Usage
Tiaa
Format
A data frame/tibble with 365 observations on four variables
crefstk closing price (in dollars)
crefgwt closing price (in dollars)
tiaa closing price (in dollars)
date day of the year
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
data(Tiaa)
Description
Data for Exercise 5.18
Usage
Ticket
Format
A data frame/tibble with 20 observations on one variable
time time (in seconds) to check out a reservation
Toaster 245
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Ticket$time)
Toaster Consumer Reports (Oct 94) rating of toaster ovens versus the cost
Description
Data for Exercise 9.36
Usage
Toaster
Format
A data frame/tibble with 17 observations on three variables
toaster name of toaster
score Consumer Reports score
cost price of toaster (in dollars)
Source
Consumer Reports (October 1994).
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Usage
Tonsils
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Tort 247
Tort The number of torts, average number of months to process a tort, and
county population from the court files of the nation’s largest counties
Description
Usage
Tort
Format
Source
U.S. Department of Justice, Tort Cases in Large Counties, Bureau of Justice Statistics Special
Report, April 1995.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
EDA(Tort$months)
248 Toxic
Description
Usage
Toxic
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercises 2.97, 5.115, and 9.62
Usage
Track
Format
A data frame with 55 observations on eight variables
Source
Dawkins, B. (1989), "Multivariate Analysis of National Track Records," The American Statistician,
43(2), 110-115.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.36
Usage
Track15
Format
A data frame/tibble with 26 observations on two variables
Source
The World Almanac and Book of Facts, 2000.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 10.44
Usage
Treatments
Trees 251
Format
A data frame/tibble with 24 observations on two variables
score score from an experiment
group factor with levels 1, 2, and 3
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.50
Usage
Trees
Format
A data frame/tibble with 20 observations on one variable
number number of trees in a grid
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Trees$number)
hist(Trees$number, main = "Exercise 1.50", xlab = "number",
col = "brown")
252 tsum.test
Trucks Miles per gallon for standard 4-wheel drive trucks manufactured by
Chevrolet, Dodge and Ford
Description
Data for Example 10.2
Usage
Trucks
Format
A data frame/tibble with 15 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Performs a one-sample, two-sample, or a Welch modified two-sample t-test based on user supplied
summary information. Output is identical to that produced with t.test.
Usage
tsum.test(mean.x, s.x = NULL, n.x = NULL, mean.y = NULL, s.y = NULL,
n.y = NULL, alternative = "two.sided", mu = 0, var.equal = FALSE,
conf.level = 0.95)
tsum.test 253
Arguments
mean.x a single number representing the sample mean of x
s.x a single number representing the sample standard deviation for x
n.x a single number representing the sample size for x
mean.y a single number representing the sample mean of y
s.y a single number representing the sample standard deviation for y
n.y a single number representing the sample size for y
alternative is a character string, one of "greater", "less" or "two.sided", or just the
initial letter of each, indicating the specification of the alternative hypothesis.
For one-sample tests, alternative refers to the true mean of the parent pop-
ulation in relation to the hypothesized value mu. For the standard two-sample
tests, alternative refers to the difference between the true population mean
for x and that for y, in relation to mu. For the one-sample and paired t-tests,
alternative refers to the true mean of the parent population in relation to the
hypothesized value mu. For the standard and Welch modified two-sample t-tests,
alternative refers to the difference between the true population mean for x
and that for y, in relation to mu. For the one-sample t-tests, alternative refers to
the true mean of the parent population in relation to the hypothesized value mu.
For the standard and Welch modified two-sample t-tests, alternative refers to the
difference between the true population mean for x and that for y, in relation to
mu.
mu is a single number representing the value of the mean or difference in means
specified by the null hypothesis.
var.equal logical flag: if TRUE, the variances of the parent populations of x and y are as-
sumed equal. Argument var.equal should be supplied only for the two-sample
tests.
conf.level is the confidence level for the returned confidence interval; it must lie between
zero and one.
Details
If y is NULL, a one-sample t-test is carried out with x. If y is not NULL, either a standard or Welch
modified two-sample t-test is performed, depending on whether var.equal is TRUE or FALSE.
Value
A list of class htest, containing the following components:
reflect the interpretation of a confidence interval as the set of all values k for
which one would not reject the null hypothesis that the true mean or difference
in means is k . Here infinity will be represented by Inf.
estimate vector of length 1 or 2, giving the sample mean(s) or mean of differences; these
estimate the corresponding population parameters. Component estimate has a
names attribute describing its elements.
null.value the value of the mean or difference in means specified by the null hypothesis.
This equals the input argument mu. Component null.value has a names at-
tribute describing its elements.
alternative records the value of the input argument alternative: "greater" , "less" or
"two.sided".
data.name a character string (vector of length 1) containing the names x and y for the two
summarized samples.
Null Hypothesis
For the one-sample t-test, the null hypothesis is that the mean of the population from which x is
drawn is mu. For the standard and Welch modified two-sample t-tests, the null hypothesis is that the
population mean for x less that for y is mu.
The alternative hypothesis in each case indicates the direction of divergence of the population mean
for x (or difference of means for x and y) from mu (i.e., "greater", "less", or "two.sided").
Author(s)
Alan T. Arnholt
References
Kitchens, L.J. (2003). Basic Statistics and Data Analysis. Duxbury.
Hogg, R. V. and Craig, A. T. (1970). Introduction to Mathematical Statistics, 3rd ed. Toronto,
Canada: Macmillan.
Mood, A. M., Graybill, F. A. and Boes, D. C. (1974). Introduction to the Theory of Statistics, 3rd
ed. New York: McGraw-Hill.
Snedecor, G. W. and Cochran, W. G. (1980). Statistical Methods, 7th ed. Ames, Iowa: Iowa State
University Press.
See Also
z.test, zsum.test
Examples
x <- rnorm(12)
tsum.test(mean(x), sd(x), n.x=12)
# Two-sided one-sample t-test. The null hypothesis is that
# the population mean for 'x' is zero. The alternative
# hypothesis states that it is either greater or less
# than zero. A confidence interval for the population mean
# will be computed. Note: above returns same answer as:
t.test(x)
x <- c(7.8, 6.6, 6.5, 7.4, 7.3, 7.0, 6.4, 7.1, 6.7, 7.6, 6.8)
y <- c(4.5, 5.4, 6.1, 6.1, 5.4, 5.0, 4.1, 5.5)
tsum.test(mean(x), s.x=sd(x), n.x=11 ,mean(y), s.y=sd(y), n.y=8, mu=2)
# Two-sided standard two-sample t-test. The null hypothesis
# is that the population mean for 'x' less that for 'y' is 2.
# The alternative hypothesis is that this difference is not 2.
# A confidence interval for the true difference will be computed.
# Note: above returns same answer as:
t.test(x, y)
Tv Percent of students that watch more than 6 hours of TV per day versus
national math test scores
Description
Data for Examples 2.1 and 2.7
Usage
Tv
Format
A data frame/tibble with 53 observations on three variables
percent percent of students who watch more than six hours of TV a day
test state average on national math test
Source
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Twin Intelligence test scores for identical twins in which one twin is given a
drug
Description
Usage
Twin
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Undergrad 257
Examples
qqnorm(Twin$differ)
qqline(Twin$differ)
shapiro.test(Twin$differ)
t.test(Twin$twinA, Twin$twinB, paired = TRUE)
Description
Data for Exercise 1.15
Usage
Undergrad
Format
A data frame/tibble with 100 observations on six variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Vacation Number of days of paid holidays and vacation leave for sample of 35
textile workers
Description
Usage
Vacation
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 1.111
Usage
Vaccine
Format
A data frame/tibble with 11 observations on two variables
state U.S. state
number number of reported serious reactions per million doses of a vaccine
Source
Center for Disease Control, Atlanta, Georgia.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Vaccine$number, scale = 2)
fn <- fivenum(Vaccine$number)
fn
iqr <- IQR(Vaccine$number)
iqr
Description
Data for Exercise 8.34
Usage
Vehicle
260 Verbal
Format
A data frame/tibble with 151 observations on two variables
Source
Insurance Institute for Highway Safety and the Highway Loss Data Institute, 1995.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Verbal Verbal test scores and number of library books checked out for 15
eighth graders
Description
Data for Exercise 9.30
Usage
Verbal
Format
A data frame/tibble with 15 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Victoria 261
Examples
Victoria Number of sunspots versus mean annual level of Lake Victoria Nyanza
from 1902 to 1921
Description
Data for Exercise 2.98
Usage
Victoria
Format
A data frame/tibble with 20 observations on three variables
year year
level mean annual level of Lake Victoria Nyanza
sunspot number of sunspots
Source
N. Shaw, Manual of Meteorology, Vol. 1 (London: Cambridge University Press, 1942), p. 284;
and F. Mosteller and J. W. Tukey, Data Analysis and Regression (Reading, MA: Addison-Wesley,
1977).
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 7.44
Usage
Viscosit
Format
A data frame/tibble with 11 observations on two variables
first viscosity measurement for a certain substance on day one
second viscosity measurement for a certain substance on day two
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 5.6
Usage
Visual
Format
A data frame/tibble with 18 observations on one variable
visual visual acuity measurement
Vocab 263
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
stem(Visual$visual)
boxplot(Visual$visual, col = "purple")
Vocab Reading scores before and after vocabulary training for 14 employees
who did not complete high school
Description
Usage
Vocab
Format
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Wastewat Volume of injected waste water from Rocky Mountain Arsenal and
number of earthquakes near Denver
Description
Usage
Wastewat
Format
Source
Davis, J. C. (1986), Statistics and Data Analysis in Geology, 2 ed., John Wiley and Sons, New York,
p. 228, and Bardwell, G. E. (1970), Some Statistical Features of the Relationship between Rocky
Mountain Arsenal Waste Disposal and Frequency of Earthquakes, Geological Society of America,
Engineering Geology Case Histories, 8, 33-337.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Usage
Weather94
Format
type factor with levels Extreme Temp, Flash Flood, Fog, High Wind, Hurricane, Lighting,
Other, River Flood, Thunderstorm, Tornado, and Winter Weather
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
266 Wheat
Wheat Price of a bushel of wheat versus the national weekly earnings of pro-
duction workers
Description
Usage
Wheat
Format
year year
earnings national weekly earnings (in dollars) for production workers
price price for a bushel of wheat (in dollars)
Source
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 9.34
Usage
Windmill
Format
A data frame/tibble with 25 observations on two variables
Source
Joglekar, et al. (1989), Lack of Fit Testing when Replicates Are Not Available, The American
Statistician, 43,(3), 135-143.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 6.54
Usage
Window
268 Wins
Format
A data frame/tibble with nine observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Wins Baseball team wins versus seven independent variables for National
league teams in 1990
Description
Data for Exercise 9.23
Usage
Wins
Format
A data frame with 12 observations on nine variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
## End(Not run)
Description
Data for Exercise 7.42
Usage
Wool
Format
A data frame/tibble with 20 observations on two variables
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
Description
Data for Exercise 2.7
Usage
Yearsunspot
Format
A data frame/tibble with 252 observations on two variables
Source
NASA/Marshall Space Flight Center, Huntsville, AL 35812.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a divi-
sion of Thomson Learning.
Examples
z.test Z-test
Description
This function is based on the standard normal distribution and creates confidence intervals and tests
hypotheses for both one and two sample problems.
Usage
z.test(x, y = NULL, alternative = "two.sided", mu = 0, sigma.x = NULL,
sigma.y = NULL, conf.level = 0.95)
z.test 271
Arguments
x numeric vector; NAs and Infs are allowed but will be removed.
y numeric vector; NAs and Infs are allowed but will be removed.
alternative character string, one of "greater", "less" or "two.sided", or the initial let-
ter of each, indicating the specification of the alternative hypothesis. For one-
sample tests, alternative refers to the true mean of the parent population
in relation to the hypothesized value mu. For the standard two-sample tests,
alternative refers to the difference between the true population mean for x
and that for y, in relation to mu.
mu a single number representing the value of the mean or difference in means spec-
ified by the null hypothesis
sigma.x a single number representing the population standard deviation for x
sigma.y a single number representing the population standard deviation for y
conf.level confidence level for the returned confidence interval, restricted to lie between
zero and one
Details
If y is NULL, a one-sample z-test is carried out with x. If y is not NULL, a standard two-sample z-test
is performed.
Value
A list of class htest, containing the following components:
Null Hypothesis
For the one-sample z-test, the null hypothesis is that the mean of the population from which x is
drawn is mu. For the standard two-sample z-tests, the null hypothesis is that the population mean
for x less that for y is mu.
The alternative hypothesis in each case indicates the direction of divergence of the population mean
for x (or difference of means for x and y) from mu (i.e., "greater", "less", "two.sided").
Author(s)
Alan T. Arnholt
References
Kitchens, L.J. (2003). Basic Statistics and Data Analysis. Duxbury.
Hogg, R. V. and Craig, A. T. (1970). Introduction to Mathematical Statistics, 3rd ed. Toronto,
Canada: Macmillan.
Mood, A. M., Graybill, F. A. and Boes, D. C. (1974). Introduction to the Theory of Statistics, 3rd
ed. New York: McGraw-Hill.
Snedecor, G. W. and Cochran, W. G. (1980). Statistical Methods, 7th ed. Ames, Iowa: Iowa State
University Press.
See Also
zsum.test, tsum.test
Examples
x <- rnorm(12)
z.test(x,sigma.x=1)
# Two-sided one-sample z-test where the assumed value for
# sigma.x is one. The null hypothesis is that the population
# mean for 'x' is zero. The alternative hypothesis states
# that it is either greater or less than zero. A confidence
# interval for the population mean will be computed.
x <- c(7.8, 6.6, 6.5, 7.4, 7.3, 7., 6.4, 7.1, 6.7, 7.6, 6.8)
y <- c(4.5, 5.4, 6.1, 6.1, 5.4, 5., 4.1, 5.5)
z.test(x, sigma.x=0.5, y, sigma.y=0.5, mu=2)
# Two-sided standard two-sample z-test where both sigma.x
# and sigma.y are both assumed to equal 0.5. The null hypothesis
# is that the population mean for 'x' less that for 'y' is 2.
# The alternative hypothesis is that this difference is not 2.
# A confidence interval for the true difference will be computed.
Description
This function is based on the standard normal distribution and creates confidence intervals and tests
hypotheses for both one and two sample problems based on summarized information the user passes
to the function. Output is identical to that produced with z.test.
Usage
zsum.test(mean.x, sigma.x = NULL, n.x = NULL, mean.y = NULL,
sigma.y = NULL, n.y = NULL, alternative = "two.sided", mu = 0,
conf.level = 0.95)
Arguments
mean.x a single number representing the sample mean of x
sigma.x a single number representing the population standard deviation for x
n.x a single number representing the sample size for x
mean.y a single number representing the sample mean of y
sigma.y a single number representing the population standard deviation for y
n.y a single number representing the sample size for y
alternative is a character string, one of "greater", "less" or "two.sided", or the ini-
tial letter of each, indicating the specification of the alternative hypothesis. For
one-sample tests, alternative refers to the true mean of the parent popula-
tion in relation to the hypothesized value mu. For the standard two-sample tests,
alternative refers to the difference between the true population mean for x
and that for y, in relation to mu.
mu a single number representing the value of the mean or difference in means spec-
ified by the null hypothesis
conf.level confidence level for the returned confidence interval, restricted to lie between
zero and one
Details
If y is NULL , a one-sample z-test is carried out with x . If y is not NULL, a standard two-sample z-test
is performed.
274 zsum.test
Value
A list of class htest, containing the following components:
statistic the z-statistic, with names attribute z.
p.value the p-value for the test
conf.int is a confidence interval (vector of length 2) for the true mean or difference in
means. The confidence level is recorded in the attribute conf.level. When
alternative is not "two.sided", the confidence interval will be half-infinite, to
reflect the interpretation of a confidence interval as the set of all values k for
which one would not reject the null hypothesis that the true mean or difference
in means is k. Here, infinity will be represented by Inf.
estimate vector of length 1 or 2, giving the sample mean(s) or mean of differences; these
estimate the corresponding population parameters. Component estimate has a
names attribute describing its elements.
null.value the value of the mean or difference in means specified by the null hypothesis.
This equals the input argument mu. Component null.value has a names at-
tribute describing its elements.
alternative records the value of the input argument alternative: "greater" , "less" or
"two.sided".
data.name a character string (vector of length 1) containing the names x and y for the two
summarized samples
Null Hypothesis
For the one-sample z-test, the null hypothesis is that the mean of the population from which x is
drawn is mu. For the standard two-sample z-tests, the null hypothesis is that the population mean
for x less that for y is mu.
The alternative hypothesis in each case indicates the direction of divergence of the population mean
for x (or difference of means of x and y) from mu (i.e., "greater" , "less", "two.sided" ).
Author(s)
Alan T. Arnholt
References
Kitchens, L. J. (2003). Basic Statistics and Data Analysis. Duxbury.
Hogg, R. V. and Craig, A. T. (1970). Introduction to Mathematical Statistics, 3rd ed. Toronto,
Canada: Macmillan.
Mood, A. M., Graybill, F. A. and Boes, D. C. (1974). Introduction to the Theory of Statistics, 3rd
ed. New York: McGraw-Hill.
Snedecor, G. W. and Cochran, W. G. (1980). Statistical Methods, 7th ed. Ames, Iowa: Iowa State
University Press.
See Also
z.test, tsum.test
zsum.test 275
Examples
276
INDEX 277
Birth, 33 Develop, 70
Blackedu, 34 Devmath, 71
Blood, 35 Dice, 71
Board, 35 Diesel, 72
Bones, 36 Diplomat, 73
Books, 37 Disposal, 74
Bookstor, 38 Dogs, 75
Brain, 38 Domestic, 76
Bumpers, 39 Dopamine, 77
Bus, 40 Dowjones, 78
Bypass, 41 Drink, 79
Drug, 79
Cabinets, 42 Dyslexia, 80
Cancer, 43
Carbon, 44 Earthqk, 81
Cat, 44 EDA, 82
Censored, 45 Educat, 83
Challeng, 46 Eggs, 84
Chemist, 47 Elderly, 84
Chesapea, 47 Energy, 85
Chevy, 48 Engineer, 86
Chicken, 49 Entrance, 87
Chipavg, 50 Epaminicompact, 88
Chips, 51 Epatwoseater, 89
Cigar, 52 Executiv, 90
Cigarett, 52 Exercise, 90
CIsim, 53
Citrus, 54 Fabric, 91
Clean, 55 Faithful, 92
Coaxial, 56 Family, 93
Coffee, 57 Ferraro1, 94
Coins, 57 Ferraro2, 94
Combinations, 58, 228 Fertility, 95
Commute, 59 Firstchi, 96
Concept, 60 Fish, 97
Concrete, 60 Fitness, 98
Corn, 61 Florida2000, 99
Correlat, 62 Fluid, 100
Counsel, 63 Food, 101
Cpi, 63 Framingh, 101
Crime, 64 Freshman, 102
Funeral, 103
Darwin, 65
Dealers, 66 Galaxie, 104
Defectiv, 66 Gallup, 104
Degree, 67 Gasoline, 105
Delay, 68 German, 106
Depend, 69 Golf, 107
Detroit, 69 Governor, 108
INDEX 281
Undergrad, 257
Vacation, 258
Vaccine, 259
Vehicle, 259
Verbal, 260
Victoria, 261
Viscosit, 262
Visual, 262
Vocab, 263
Wastewat, 264
Weather94, 265
Wheat, 266
Windmill, 267
Window, 267
Wins, 268
Wool, 269
Yearsunspot, 270