Perform a regression on two different variables within the attached data, and exaplin what the findings determine. What decision can be made?

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

Perform a regression on two different variables within the attached data, and exaplin what the findings determine. What decision can be made?

Duration
1
5
7
19
28
17
8
3
27
27
8
6
14
8
15
4
26
6
19
6
26
27
24
14
30
30
16
1
11
3
28
21
7
30
24
5
9
2
24
1
6
3
3
21
15
8
5
23
4
Cost of
Travel(Entire
Trip)
Mode of Travel Stay
20111 Flight
29681 Car
24950 Flight
18676 Roadtrip
18899 Flight
28326 Car
16642 Flight
16551 Flight
25299 Car
14897 Train
19052 Cruise
27610 Roadtrip
13224 Car
12918 Cruise
11370 Cruise
10381 Train
13950 Train
29679 Train
25750 Roadtrip
12099 Cruise
9011 Train
21862 Roadtrip
10551 Flight
18690 Roadtrip
16543 Bus
10957 Bus
23948 Cruise
28648 Train
19614 Roadtrip
26996 Car
22316 Roadtrip
17648 Train
19843 Train
7447 Flight
9550 Train
12048 Bus
17108 Bus
20714 Bus
19328 Flight
25556 Bus
29458 Train
8941 Train
27803 Bus
16453 Flight
8103 Train
14714 Roadtrip
15849 Cruise
20606 Car
12467 Roadtrip
First Name
Hotel
Hotel
Airbnb
Airbnb
Airbnb
Other
Airbnb
Other
Airbnb
Airbnb John
Hotel
Andre
Hotel
Joshua
Airbnb Michael
Other Patrick
Resorts Richard
Resorts Melissa
Airbnb
Peter
Airbnb Virginia
Other Lisa
Hotel Patrick
Resorts Thomas
Airbnb Jason
Resorts John
Other
Other
Hotel
Other
Other
Other
Other
Airbnb
Other
Other
Airbnb Andrea
Deborah
Resorts
Hotel
William
Airbnb
Jessica
Resorts Angela
Cynthia
Other
Resorts Audrey
Hotel
Jeremy
Other
Tony
Brooke
Resorts
Hotel
Airbnb
Hotel
Hotel
Other
Airbnb
Cristina
Fuentes
Patricia
Christina
Young
Kirby
Michael Hudson
Francisco Hensley
Jesus
Jarvis
Debra
Mitchell
Joseph
Moore
Jeffrey
Robert
Jennifer
Benjamin
Stephen
James
Brittany
Kevin
Alexandra
Pamela
Anna
Tyler
Jerry
William
Last Name
Jim
Nicole
Michael
Key
Beck
Elliott
Jones
Ellis
Brown
Molina
Juarez
Gonzales
Wilkinson
Smith
Richardson
Jones
Yates
Johnson
Miller
Dickson
Parker
Brown
Greene
Lynch
Horton
Hoover
Hill
Rose
Andrade
Oneill
Farmer
Olsen
Craig
Carr
Norton
Bryan
Hamilton
Lin
Craig
Walker
Lawson
Jones
Irwin
Jackson
Address
6/14/1914 5143 Pope Camp Apt. 028
9/25/1923-716 Dominguez Row Suite 775
1/2/1935 PSC 4600, Box 1237
4/21/1982 7013 Bryant Club Suite 695
6/29/1913 074 Scott Brook Suite 700
8/27/1986 275 Marie Square
2/17/1927 05543 Scott Mount Suite 815
9/17/1988 PSC 1174, Box 8855
2/13/1913 4725 Ferguson Hill Suite 157
3/4/2003 890 Marshall Vista
1/14/2000 091 Gary Falls
8/29/1979 586 Ryan Prairie
10/22/1954 444 Angelica Wall
3/11/1931 USCGC Wright
7/13/2002 USCGC Stark
Date of Birth
11/12/1980 PSC 9713, Box 1159
10/28/1923 486 Travis Haven Apt. 124
5/6/1941 459 Katrina Row Suite 348
9/19/1993 Unit 7905 Box 2194
11/14/2017 Unit 3034 Box 2608
1/12/1985 91878 Marvin Lock
6/4/1965 PSC 3486, Box 6554
11/4/1922 43152 Deborah Pine Suite 123
5/9/1927 267 Crystal Springs Suite 002
9/3/1980 78409 Chase Mews
5/21/1938 50044 Pamela Ridges
12/16/1919 61062 James Point
1/29/1988 PSC 6626, Box 3241
6/7/2004 131 Jackson Parkway Apt. 685
7/11/1988 69454 Terri Shoal Suite 567
8/20/1958 7452 David Hollow
5/9/1983 46946 Travis Highway
6/15/1944 1720 Donna Overpass Apt. 081
7/19/1923 598 Thompson Mission
1/19/2014 8785 Lauren Rest
5/2/1922 Unit 1690 Box 1761
5/6/1974 2273 Heather Manor Suite 210
7/18/1946 87216 Levy Rapids
7/1/2001 2434 Warner Row
4/4/1973 06181 Ana Trail
4/27/1977 03600 Robertson Dam Apt. 255
2/11/1991 2459 Steven Parks Apt. 312
9/12/1927 091 Riggs Unions Suite 386
4/10/2020 333 Jones Curve Apt. 765
6/13/1988 3059 Owen Harbor
10/9/1916 6975 Johnson Walks Suite 937
12/12/1916 56960 Harris Drive
2/13/1970 320 Lewis Run
10/5/1935 5673 Dakota Haven
Age
Sex
74 Non-Binary
19 Female
36 Female
38 Non-Binary
38 Non-Binary
30 Non-Binary
25 Male
38 Transgender
25 Female
53 Female
39 Transgender
31 Non-Binary
73 Male
47 Non-Binary
36 Male
40 Male
74 Male
72 Male
22 Transgender
46 Female
73 Transgender
51 Non-Binary
19 Transgender
58 Male
74 Male
74 Male
29 Male
35 Transgender
56 Male
54 Male
67 Transgender
42 Transgender
41 Female
28 Male
50 Female
36 Non-Binary
18 Male
31 Non-Binary
46 Female
18 Female
71 Transgender
55 Non-Binary
27 Male
44 Non-Binary
56 Female
52 Transgender
39 Female
19 Female
26 Transgender
Nationality
Lao People's Democratic Republic
Gabon
Syrian Arab Republic
Afghanistan
Uruguay
Iraq
San Marino
Macao
Kyrgyz Republic
New Zealand
Belarus
Andorra
Niger
Holy See (Vatican City State)
South Africa
Montenegro
Mozambique
New Zealand
France
Falkland Islands (Malvinas)
Lao People's Democratic Republic
Saint Pierre and Miquelon
Hungary
Isle of Man
Belarus
South Africa
Monaco
American Samoa
Angola
Martinique
Turkey
Reunion
Cape Verde
Cambodia
Bolivia
Lebanon
Netherlands Antilles
Cyprus
Botswana
Lithuania
Mauritania
Greece
Cote d'Ivoire
Wallis and Futuna
Jamaica
Bulgaria
Romania
Iran
Germany
Date of Travel
9/13/2022
9/4/2021
1/25/2021
1/28/2022
10/21/2021
1/25/2022
8/7/2022
1/4/2021
6/28/2022
1/31/2020
10/11/2020
11/14/2020
3/3/2022
12/3/2020
3/17/2022
8/21/2023
10/7/2022
6/16/2022
12/15/2021
2/22/2021
5/6/2020
8/6/2020
6/18/2021
8/1/2021
6/12/2020
1/13/2022
4/1/2023
10/6/2020
7/7/2023
10/14/2020
7/23/2022
7/9/2022
10/21/2021
4/11/2022
11/24/2022
3/3/2022
1/24/2020
4/20/2020
8/27/2020
5/8/2022
6/11/2020
7/15/2020
1/19/2020
2/7/2022
3/23/2022
8/19/2021
5/23/2023
11/3/2020
3/26/2020
Transcribed Image Text:Duration 1 5 7 19 28 17 8 3 27 27 8 6 14 8 15 4 26 6 19 6 26 27 24 14 30 30 16 1 11 3 28 21 7 30 24 5 9 2 24 1 6 3 3 21 15 8 5 23 4 Cost of Travel(Entire Trip) Mode of Travel Stay 20111 Flight 29681 Car 24950 Flight 18676 Roadtrip 18899 Flight 28326 Car 16642 Flight 16551 Flight 25299 Car 14897 Train 19052 Cruise 27610 Roadtrip 13224 Car 12918 Cruise 11370 Cruise 10381 Train 13950 Train 29679 Train 25750 Roadtrip 12099 Cruise 9011 Train 21862 Roadtrip 10551 Flight 18690 Roadtrip 16543 Bus 10957 Bus 23948 Cruise 28648 Train 19614 Roadtrip 26996 Car 22316 Roadtrip 17648 Train 19843 Train 7447 Flight 9550 Train 12048 Bus 17108 Bus 20714 Bus 19328 Flight 25556 Bus 29458 Train 8941 Train 27803 Bus 16453 Flight 8103 Train 14714 Roadtrip 15849 Cruise 20606 Car 12467 Roadtrip First Name Hotel Hotel Airbnb Airbnb Airbnb Other Airbnb Other Airbnb Airbnb John Hotel Andre Hotel Joshua Airbnb Michael Other Patrick Resorts Richard Resorts Melissa Airbnb Peter Airbnb Virginia Other Lisa Hotel Patrick Resorts Thomas Airbnb Jason Resorts John Other Other Hotel Other Other Other Other Airbnb Other Other Airbnb Andrea Deborah Resorts Hotel William Airbnb Jessica Resorts Angela Cynthia Other Resorts Audrey Hotel Jeremy Other Tony Brooke Resorts Hotel Airbnb Hotel Hotel Other Airbnb Cristina Fuentes Patricia Christina Young Kirby Michael Hudson Francisco Hensley Jesus Jarvis Debra Mitchell Joseph Moore Jeffrey Robert Jennifer Benjamin Stephen James Brittany Kevin Alexandra Pamela Anna Tyler Jerry William Last Name Jim Nicole Michael Key Beck Elliott Jones Ellis Brown Molina Juarez Gonzales Wilkinson Smith Richardson Jones Yates Johnson Miller Dickson Parker Brown Greene Lynch Horton Hoover Hill Rose Andrade Oneill Farmer Olsen Craig Carr Norton Bryan Hamilton Lin Craig Walker Lawson Jones Irwin Jackson Address 6/14/1914 5143 Pope Camp Apt. 028 9/25/1923-716 Dominguez Row Suite 775 1/2/1935 PSC 4600, Box 1237 4/21/1982 7013 Bryant Club Suite 695 6/29/1913 074 Scott Brook Suite 700 8/27/1986 275 Marie Square 2/17/1927 05543 Scott Mount Suite 815 9/17/1988 PSC 1174, Box 8855 2/13/1913 4725 Ferguson Hill Suite 157 3/4/2003 890 Marshall Vista 1/14/2000 091 Gary Falls 8/29/1979 586 Ryan Prairie 10/22/1954 444 Angelica Wall 3/11/1931 USCGC Wright 7/13/2002 USCGC Stark Date of Birth 11/12/1980 PSC 9713, Box 1159 10/28/1923 486 Travis Haven Apt. 124 5/6/1941 459 Katrina Row Suite 348 9/19/1993 Unit 7905 Box 2194 11/14/2017 Unit 3034 Box 2608 1/12/1985 91878 Marvin Lock 6/4/1965 PSC 3486, Box 6554 11/4/1922 43152 Deborah Pine Suite 123 5/9/1927 267 Crystal Springs Suite 002 9/3/1980 78409 Chase Mews 5/21/1938 50044 Pamela Ridges 12/16/1919 61062 James Point 1/29/1988 PSC 6626, Box 3241 6/7/2004 131 Jackson Parkway Apt. 685 7/11/1988 69454 Terri Shoal Suite 567 8/20/1958 7452 David Hollow 5/9/1983 46946 Travis Highway 6/15/1944 1720 Donna Overpass Apt. 081 7/19/1923 598 Thompson Mission 1/19/2014 8785 Lauren Rest 5/2/1922 Unit 1690 Box 1761 5/6/1974 2273 Heather Manor Suite 210 7/18/1946 87216 Levy Rapids 7/1/2001 2434 Warner Row 4/4/1973 06181 Ana Trail 4/27/1977 03600 Robertson Dam Apt. 255 2/11/1991 2459 Steven Parks Apt. 312 9/12/1927 091 Riggs Unions Suite 386 4/10/2020 333 Jones Curve Apt. 765 6/13/1988 3059 Owen Harbor 10/9/1916 6975 Johnson Walks Suite 937 12/12/1916 56960 Harris Drive 2/13/1970 320 Lewis Run 10/5/1935 5673 Dakota Haven Age Sex 74 Non-Binary 19 Female 36 Female 38 Non-Binary 38 Non-Binary 30 Non-Binary 25 Male 38 Transgender 25 Female 53 Female 39 Transgender 31 Non-Binary 73 Male 47 Non-Binary 36 Male 40 Male 74 Male 72 Male 22 Transgender 46 Female 73 Transgender 51 Non-Binary 19 Transgender 58 Male 74 Male 74 Male 29 Male 35 Transgender 56 Male 54 Male 67 Transgender 42 Transgender 41 Female 28 Male 50 Female 36 Non-Binary 18 Male 31 Non-Binary 46 Female 18 Female 71 Transgender 55 Non-Binary 27 Male 44 Non-Binary 56 Female 52 Transgender 39 Female 19 Female 26 Transgender Nationality Lao People's Democratic Republic Gabon Syrian Arab Republic Afghanistan Uruguay Iraq San Marino Macao Kyrgyz Republic New Zealand Belarus Andorra Niger Holy See (Vatican City State) South Africa Montenegro Mozambique New Zealand France Falkland Islands (Malvinas) Lao People's Democratic Republic Saint Pierre and Miquelon Hungary Isle of Man Belarus South Africa Monaco American Samoa Angola Martinique Turkey Reunion Cape Verde Cambodia Bolivia Lebanon Netherlands Antilles Cyprus Botswana Lithuania Mauritania Greece Cote d'Ivoire Wallis and Futuna Jamaica Bulgaria Romania Iran Germany Date of Travel 9/13/2022 9/4/2021 1/25/2021 1/28/2022 10/21/2021 1/25/2022 8/7/2022 1/4/2021 6/28/2022 1/31/2020 10/11/2020 11/14/2020 3/3/2022 12/3/2020 3/17/2022 8/21/2023 10/7/2022 6/16/2022 12/15/2021 2/22/2021 5/6/2020 8/6/2020 6/18/2021 8/1/2021 6/12/2020 1/13/2022 4/1/2023 10/6/2020 7/7/2023 10/14/2020 7/23/2022 7/9/2022 10/21/2021 4/11/2022 11/24/2022 3/3/2022 1/24/2020 4/20/2020 8/27/2020 5/8/2022 6/11/2020 7/15/2020 1/19/2020 2/7/2022 3/23/2022 8/19/2021 5/23/2023 11/3/2020 3/26/2020
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

Hi! I needed a solution for two different variable; the answer above shows the same two variables twice

Solution
Bartleby Expert
SEE SOLUTION
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