ontains information for 120 Citibike trips. a. Produce a bar graph for the decades in which the bike riders were born. Discuss the results. b. Produce a histogram for trip duration. Discuss the results.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

Problem 3. Lyft owns a bike sharing system, Citibike, that covers most of the boroughs of New York City as
well as Jersey City, New Jersey (just across the Hudson River from Manhattan). Homework 1 (Images attached)
contains information for 120 Citibike trips.
a. Produce a bar graph for the decades in which the bike riders were born. Discuss the
results.
b. Produce a histogram for trip duration. Discuss the results. 

Obs
98818228545&£ **********
34
35
36
37
38
39
40
41
42
43
44
46
47
50
53
56
57
60
61
62
63
64
65
66
67
1
2
3
4
5
6
7
8
9
10
11
12
13.
14
15
SASARAN
16
17
18
19
20
21
22
23
24
25
26
27
28
Trip Duration Start Station Name
148 Marin Light Rail
29
30
31
32
33
1283 Exchange Place
372 Exchange Place
1513 McGinley Square
639 Exchange Place
258 Grove St PATH
663 Jersey & 6th St
567 Liberty Light Rail
551 Liberty Light Rail
573 Christ Hospital
535 Christ Hospital
224 Grove St PATH
1699 Van Vorst Park
350 Grove St PATH
346 Newport PATH
367 Warren St
148 Grove St PATH
204 Hamilton Park
454 Exchange Place
217 Sip Ave
107 Grove St PATH
453 Sip Ave
447 Sip Ave
730 Leonard Gordon Park
435 Liberty Light Rail
458 Sip Ave
258 Grove St PATH
537 Riverview Park
128 Jersey & 6th St
98 Newark Ave
1211 Morris Canal
905 Pershing Field
401 Jersey & 3rd
199 Jersey & 3rd
645 Newark Ave
435 Grove St PATH
136 Dixon Mills
373 Morris Canal
911 Baldwin at Montgomery
191 Jersey & 3rd
313 Van Vorst Park
424 Morris Canal
266 Brunswick & 6th
176 Morris Canal
149 Morris Canal
117 Newark Ave
383 Warren St
260 Monmouth and 6th
126 Grove St PATH
136 Dixon Mills
111 Jersey & 6th St
621 Jersey & 3rd
1934 Lincoln Park
2205 Liberty Light Rail
809 Garfield Ave Station.
450 Lincoln Park
97 Jersey & 3rd
319 Essex Light Rail
187 Warren St
450 Morris Canal
301 Marin Light Rail
326 Marin Light Rail
390 Hilltop
190 Monmouth and 6th
242 Jersey & 6th St
578 Riverview Park
207 Jersey & 3rd
End Station Name
City Hall
Heights Elevator
Newark Ave
Danforth Light Rail
Hamilton Park
Jersey & 6th St
Hilltop
Van Vorst Park
Van Vorst Park
Baldwin at Montgomery
Baldwin at Montgomery
Hamilton Park
Newport PATH
Brunswick St
Grove St PATH
Morris Canal
Van Vorst Park
Van Vorst Park
Newport PATH
Baldwin at Montgomery
Newark Ave
Lincoln Park
Lincoln Park
Sip Ave
Grove St PATH
Astor Place
Newark Ave
Pershing Field
Newark Ave
Jersey & 6th St
Morris Canal
Riverview Park
Marin Light Rail
Grove St PATH
Liberty Light Rail
Jersey & 6th St
Jersey & 3rd
Morris Canal
Pershing Field
Dixon Mills
Warren St
Manila & 1st
Manila & 1st
Exchange Place
Morris Canal
Grove St PATH
Van Vorst Park
Grove St PATH
Newark Ave
Jersey & 3rd
Jersey & 3rd
Dixon Mills
Lincoln Park
Van Vorst Park
Grove St PATH
West Side Light Rail
Jersey & 6th St
Newport PATH
Grove St PATH
Grove St PATH
Paulus Hook
Jersey & 3rd
Dey St
Manila & 1st
Brunswick St
Brunswick & 6th
Grove St PATH
Bike ID User Type Birth Year Gender
24575 Subscriber
1983
24723 Subscriber
1978
1989
1961
1993
1970
1978
1970
24620 Subscriber
24668 Subscriber
26167 Subscriber
24604 Subscriber
24641 Subscriber
24513 Subscriber
24463 Subscriber
24486 Subscriber
24520 Subscriber
24512 Subscriber
24513 Subscriber
24409 Subscriber
24513 Subscriber
24699 Subscriber
24513 Subscriber
24442 Subscriber
24555 Subscriber
24408 Subscriber
24681 Subscriber
26163 Subscriber
26431 Subscriber
24495 Subscriber
24390 Subscriber
26255 Subscriber
26308 Subscriber
26234 Subscriber
24536 Subscriber
24536 Subscriber
24699 Subscriber
24648 Subscriber
26154 Subscriber
24585 Subscriber
24445 Subscriber
24558 Subscriber
26260 Subscriber
24699 Subscriber
24421 Subscriber
26260 Subscriber
24704 Subscriber
26215 Subscriber
24406 Subscriber
26262 Subscriber
24699 Subscriber
26211 Subscriber
26171 Subscriber
26278 Subscriber
24705 Subscriber
24464 Subscriber
24595 Subscriber
24464 Subscriber
24469 Subscriber
24662 Subscriber
24451 Subscriber
24485 Subscriber
24595 Subscriber
24471 Subscriber
26227 Subscriber
24699 Subscriber
24589 Subscriber
26154 Subscriber
24712 Subscriber
26300 Subscriber
24604 Subscriber
26253 Subscriber
26154 Subscriber
1967
1984
1987
1984
1985
1964
1985
1989
1985
1986
1972
1987
1964
1983
1986
1962
1986
1992
1977
1983
1981
1981
1983
1981
1986
1958
1986
1975
1979
1975
1980
1957
1989
1983
1974
1982
1980
1987
1982
1949
1960
1949
1969
1990
1976
1991
1960
1999
1975
1957
1979
1987
1970
1981
1986
1968
1987
1
1
1
1
1
1
1
1
2
1
2
2
1
2
1
1
1
1
2
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
2
0
1
2
1
1
2
1
1
1
1
2
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
1
1
Transcribed Image Text:Obs 98818228545&£ ********** 34 35 36 37 38 39 40 41 42 43 44 46 47 50 53 56 57 60 61 62 63 64 65 66 67 1 2 3 4 5 6 7 8 9 10 11 12 13. 14 15 SASARAN 16 17 18 19 20 21 22 23 24 25 26 27 28 Trip Duration Start Station Name 148 Marin Light Rail 29 30 31 32 33 1283 Exchange Place 372 Exchange Place 1513 McGinley Square 639 Exchange Place 258 Grove St PATH 663 Jersey & 6th St 567 Liberty Light Rail 551 Liberty Light Rail 573 Christ Hospital 535 Christ Hospital 224 Grove St PATH 1699 Van Vorst Park 350 Grove St PATH 346 Newport PATH 367 Warren St 148 Grove St PATH 204 Hamilton Park 454 Exchange Place 217 Sip Ave 107 Grove St PATH 453 Sip Ave 447 Sip Ave 730 Leonard Gordon Park 435 Liberty Light Rail 458 Sip Ave 258 Grove St PATH 537 Riverview Park 128 Jersey & 6th St 98 Newark Ave 1211 Morris Canal 905 Pershing Field 401 Jersey & 3rd 199 Jersey & 3rd 645 Newark Ave 435 Grove St PATH 136 Dixon Mills 373 Morris Canal 911 Baldwin at Montgomery 191 Jersey & 3rd 313 Van Vorst Park 424 Morris Canal 266 Brunswick & 6th 176 Morris Canal 149 Morris Canal 117 Newark Ave 383 Warren St 260 Monmouth and 6th 126 Grove St PATH 136 Dixon Mills 111 Jersey & 6th St 621 Jersey & 3rd 1934 Lincoln Park 2205 Liberty Light Rail 809 Garfield Ave Station. 450 Lincoln Park 97 Jersey & 3rd 319 Essex Light Rail 187 Warren St 450 Morris Canal 301 Marin Light Rail 326 Marin Light Rail 390 Hilltop 190 Monmouth and 6th 242 Jersey & 6th St 578 Riverview Park 207 Jersey & 3rd End Station Name City Hall Heights Elevator Newark Ave Danforth Light Rail Hamilton Park Jersey & 6th St Hilltop Van Vorst Park Van Vorst Park Baldwin at Montgomery Baldwin at Montgomery Hamilton Park Newport PATH Brunswick St Grove St PATH Morris Canal Van Vorst Park Van Vorst Park Newport PATH Baldwin at Montgomery Newark Ave Lincoln Park Lincoln Park Sip Ave Grove St PATH Astor Place Newark Ave Pershing Field Newark Ave Jersey & 6th St Morris Canal Riverview Park Marin Light Rail Grove St PATH Liberty Light Rail Jersey & 6th St Jersey & 3rd Morris Canal Pershing Field Dixon Mills Warren St Manila & 1st Manila & 1st Exchange Place Morris Canal Grove St PATH Van Vorst Park Grove St PATH Newark Ave Jersey & 3rd Jersey & 3rd Dixon Mills Lincoln Park Van Vorst Park Grove St PATH West Side Light Rail Jersey & 6th St Newport PATH Grove St PATH Grove St PATH Paulus Hook Jersey & 3rd Dey St Manila & 1st Brunswick St Brunswick & 6th Grove St PATH Bike ID User Type Birth Year Gender 24575 Subscriber 1983 24723 Subscriber 1978 1989 1961 1993 1970 1978 1970 24620 Subscriber 24668 Subscriber 26167 Subscriber 24604 Subscriber 24641 Subscriber 24513 Subscriber 24463 Subscriber 24486 Subscriber 24520 Subscriber 24512 Subscriber 24513 Subscriber 24409 Subscriber 24513 Subscriber 24699 Subscriber 24513 Subscriber 24442 Subscriber 24555 Subscriber 24408 Subscriber 24681 Subscriber 26163 Subscriber 26431 Subscriber 24495 Subscriber 24390 Subscriber 26255 Subscriber 26308 Subscriber 26234 Subscriber 24536 Subscriber 24536 Subscriber 24699 Subscriber 24648 Subscriber 26154 Subscriber 24585 Subscriber 24445 Subscriber 24558 Subscriber 26260 Subscriber 24699 Subscriber 24421 Subscriber 26260 Subscriber 24704 Subscriber 26215 Subscriber 24406 Subscriber 26262 Subscriber 24699 Subscriber 26211 Subscriber 26171 Subscriber 26278 Subscriber 24705 Subscriber 24464 Subscriber 24595 Subscriber 24464 Subscriber 24469 Subscriber 24662 Subscriber 24451 Subscriber 24485 Subscriber 24595 Subscriber 24471 Subscriber 26227 Subscriber 24699 Subscriber 24589 Subscriber 26154 Subscriber 24712 Subscriber 26300 Subscriber 24604 Subscriber 26253 Subscriber 26154 Subscriber 1967 1984 1987 1984 1985 1964 1985 1989 1985 1986 1972 1987 1964 1983 1986 1962 1986 1992 1977 1983 1981 1981 1983 1981 1986 1958 1986 1975 1979 1975 1980 1957 1989 1983 1974 1982 1980 1987 1982 1949 1960 1949 1969 1990 1976 1991 1960 1999 1975 1957 1979 1987 1970 1981 1986 1968 1987 1 1 1 1 1 1 1 1 2 1 2 2 1 2 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 2 0 1 2 1 1 2 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1
88RANKRRRRSTE
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
185 Manila & 1st
3646 Van Vorst Park
718 Hamilton Park
935 Astor Place
211 Warren St
182 Brunswick & 6th
579 Liberty Light Rail
291 Grove St PATH
669 Pershing Field
153 Jersey & 3rd
238 Jersey & 3rd
308 Van Vorst Park
74 Van Vorst Park
505 Brunswick St
143 Jersey & 6th St
189 Jersey & 6th St
352 Liberty Light Rail
173 Newark Ave
730 Newport Pkwy
707 Newport Pkwy
261 Dixon Mills
625 Liberty Light Rail
662 McGinley Square
650 Liberty Light Rail
651 Liberty Light Rail
174 Exchange Place
751 Paulus Hook
248 City Hall
1105 Exchange Place
311 Van Vorst Park
1090 Morris Canal
111 Van Vorst Park
375 Jersey & 3rd
347 Manila & 1st
374 Oakland Ave
628 Hilltop
292 Columbus Drive
228 Grove St PATH
1793 Newark Ave
276 JC Medical Center
1561 Grove St PATH
2197 Pershing Field
195 Dixon Mills
234 Marin Light Rail
475 Newport PATH
118 Grove St PATH
2424 JC Medical Center
297 Manila & 1st
422 Newport PATH
255 Grove St PATH
2344 JC Medical Center
148 Van Vorst Park
1693 Riverview Park
Brunswick St
Liberty Light Rail
Hamilton Park
Grove St PATH
Jersey & 3rd
Newark Ave
Dixon Mills
Brunswick St
McGinley Square
Manila & 1st
Warren St
Columbus Drive
City Hall
Morris Canal
Newark Ave
Grove St PATH
JC Medical Center
Brunswick & 6th
Morris Canal
Morris Canal
Grove St PATH
Van Vorst Park
Brunswick St
Jersey & 6th St
Jersey & 6th St
Columbus Drive
Exchange Place
Van Vorst Park
Newport PATH
Jersey & 3rd
Oakland Ave
City Hall
City Hall
Brunswick & 6th
Sip Ave
Riverview Park
Newport PATH
Van Vorst Park
Newark Ave
City Hall
Astor Place
Warren St
Grove St PATH
Essex Light Rail
Exchange Place
Grove St PATH
JC Medical Center
Brunswick & 6th
Essex Light Rail
Morris Canal
JC Medical Center
Grove St PATH
Baldwin at Montgomery
24530 Subscriber
26171 Subscriber
24512 Subscriber
26255 Subscriber
26230 Subscriber
26253 Subscriber
24722 Subscriber
26194 Subscriber
24421 Subscriber
26230 Subscriber
24640 Subscriber
24484 Subscriber
24524 Subscriber
26194 Subscriber
26283 Subscriber
24595 Subscriber
24445 Subscriber
24462 Subscriber
26186 Subscriber
26217 Subscriber
24663 Subscriber
26171 Subscriber
24421 Subscriber
26165 Subscriber
26182 Subscriber
26216 Subscriber
24589 Subscriber
24575 Subscriber
24389 Subscriber
24442 Subscriber
26186 Subscriber
26312 Subscriber
24442 Subscriber
24491 Subscriber
26273 Subscriber
24675 Subscriber
26216 Subscriber
26255 Subscriber
26308 Subscriber
24445 Subscriber
26278 Subscriber
24377 Subscriber
26260 Subscriber
26232 Subscriber
24555 Subscriber
24585 Subscriber
24626 Subscriber
26230 Subscriber
24471 Subscriber
24595 Subscriber
24448 Subscriber
26265 Subscriber
26294 Subscriber
1989
1959
1990
1981
1980
1981
1976
1979
1989
1981
1989
1962
1976
1988
1960
1958
1980
1989
1991
1986
1959
1998
1962
1966
1989
1988
1962
1984
1962
1960
1989
1962
1989
1992
1968
1988
1989
1981
1958
1990
1968
1978
1958
1972
1980
1989
1977
1999
1990
1982
1967
1990
0
1
1
1
2
1
1
2
1
1
1
1
1
1
1
1
1
2
1
2
1
1
2
1
1
2
2
2
1
1
227
2
2
1
1
1
1
1
1
1
1
2
1
2
1
2
2
1
1
1
2
1
Transcribed Image Text:88RANKRRRRSTE 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 185 Manila & 1st 3646 Van Vorst Park 718 Hamilton Park 935 Astor Place 211 Warren St 182 Brunswick & 6th 579 Liberty Light Rail 291 Grove St PATH 669 Pershing Field 153 Jersey & 3rd 238 Jersey & 3rd 308 Van Vorst Park 74 Van Vorst Park 505 Brunswick St 143 Jersey & 6th St 189 Jersey & 6th St 352 Liberty Light Rail 173 Newark Ave 730 Newport Pkwy 707 Newport Pkwy 261 Dixon Mills 625 Liberty Light Rail 662 McGinley Square 650 Liberty Light Rail 651 Liberty Light Rail 174 Exchange Place 751 Paulus Hook 248 City Hall 1105 Exchange Place 311 Van Vorst Park 1090 Morris Canal 111 Van Vorst Park 375 Jersey & 3rd 347 Manila & 1st 374 Oakland Ave 628 Hilltop 292 Columbus Drive 228 Grove St PATH 1793 Newark Ave 276 JC Medical Center 1561 Grove St PATH 2197 Pershing Field 195 Dixon Mills 234 Marin Light Rail 475 Newport PATH 118 Grove St PATH 2424 JC Medical Center 297 Manila & 1st 422 Newport PATH 255 Grove St PATH 2344 JC Medical Center 148 Van Vorst Park 1693 Riverview Park Brunswick St Liberty Light Rail Hamilton Park Grove St PATH Jersey & 3rd Newark Ave Dixon Mills Brunswick St McGinley Square Manila & 1st Warren St Columbus Drive City Hall Morris Canal Newark Ave Grove St PATH JC Medical Center Brunswick & 6th Morris Canal Morris Canal Grove St PATH Van Vorst Park Brunswick St Jersey & 6th St Jersey & 6th St Columbus Drive Exchange Place Van Vorst Park Newport PATH Jersey & 3rd Oakland Ave City Hall City Hall Brunswick & 6th Sip Ave Riverview Park Newport PATH Van Vorst Park Newark Ave City Hall Astor Place Warren St Grove St PATH Essex Light Rail Exchange Place Grove St PATH JC Medical Center Brunswick & 6th Essex Light Rail Morris Canal JC Medical Center Grove St PATH Baldwin at Montgomery 24530 Subscriber 26171 Subscriber 24512 Subscriber 26255 Subscriber 26230 Subscriber 26253 Subscriber 24722 Subscriber 26194 Subscriber 24421 Subscriber 26230 Subscriber 24640 Subscriber 24484 Subscriber 24524 Subscriber 26194 Subscriber 26283 Subscriber 24595 Subscriber 24445 Subscriber 24462 Subscriber 26186 Subscriber 26217 Subscriber 24663 Subscriber 26171 Subscriber 24421 Subscriber 26165 Subscriber 26182 Subscriber 26216 Subscriber 24589 Subscriber 24575 Subscriber 24389 Subscriber 24442 Subscriber 26186 Subscriber 26312 Subscriber 24442 Subscriber 24491 Subscriber 26273 Subscriber 24675 Subscriber 26216 Subscriber 26255 Subscriber 26308 Subscriber 24445 Subscriber 26278 Subscriber 24377 Subscriber 26260 Subscriber 26232 Subscriber 24555 Subscriber 24585 Subscriber 24626 Subscriber 26230 Subscriber 24471 Subscriber 24595 Subscriber 24448 Subscriber 26265 Subscriber 26294 Subscriber 1989 1959 1990 1981 1980 1981 1976 1979 1989 1981 1989 1962 1976 1988 1960 1958 1980 1989 1991 1986 1959 1998 1962 1966 1989 1988 1962 1984 1962 1960 1989 1962 1989 1992 1968 1988 1989 1981 1958 1990 1968 1978 1958 1972 1980 1989 1977 1999 1990 1982 1967 1990 0 1 1 1 2 1 1 2 1 1 1 1 1 1 1 1 1 2 1 2 1 1 2 1 1 2 2 2 1 1 227 2 2 1 1 1 1 1 1 1 1 2 1 2 1 2 2 1 1 1 2 1
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman