Create scatterplot using Excel with the following variables: gender: 0 = male, 1 = female. height: in inches. weight: in pounds. First we will create a scatterplot to examine how weight is related to height, ignoring gender. To do that in Excel: Sort the data by gender: Hold down the Control key (Command key on MacOS) and click the A key to select all of the data in the worksheet. Select the Home tab, then the Editing group Sort & Filter -> Custom Sort. In the pop-up window, make sure that My list has headers box is checked and then choose gender from the pull-down menu next to Sort by. Click OK. Now select all of the data in columns B and C, select the Insert tab and in the Charts group choose Scatter. Choose the first scatterplot option (Scatter with only Markers). Now we have a scatterplot, but the data is all on the right of the plot. To fix this: Right-click on the x-axis, and choose Format Axis from the pop-up menu. Make sure that Axis Options is selected on the left, and then next to Minimum enter 50 in the textbox. Click the X button to close the menu.

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

Create scatterplot using Excel with the following variables:

gender: 0 = male, 1 = female.

height: in inches.

weight: in pounds.

First we will create a scatterplot to examine how weight is related to height, ignoring gender.

To do that in Excel:

  • Sort the data by gender:
  • Hold down the Control key (Command key on MacOS) and click the A key to select all of the data in the worksheet.
  • Select the Home tab, then the Editing group Sort & Filter -> Custom Sort.
  • In the pop-up window, make sure that My list has headers box is checked and then choose gender from the pull-down menu next to Sort by. Click OK.
  • Now select all of the data in columns B and C, select the Insert tab and in the Charts group choose Scatter.
  • Choose the first scatterplot option (Scatter with only Markers).
  • Now we have a scatterplot, but the data is all on the right of the plot. To fix this:
  • Right-click on the x-axis, and choose Format Axis from the pop-up menu.
  • Make sure that Axis Options is selected on the left, and then next to Minimum enter 50 in the textbox. Click the X button to close the menu.
gender height
73
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
8RN288FF
69
70
72
73
69
68
71
71
68
69
67
66
67
72
68
75
68
73
72
72
72
72
74
68
73
68
70
72
70
67
67
71
72
73
68
72
68
weight
195
135
145
170
172
168
155
185
175
158
185
146
135
150
160
155
230
149
240
170
198
163
230
170
151
220
145
130
160
210
145
185
237
205
147
170
181
150
gender
0
0
0
0
0
0
0
0
1
1
1
height
68
72
68
67
70
71
70
67
58
56
63
weight
170
181
150
150
200
175
155
167
100
100
125
Transcribed Image Text:gender height 73 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8RN288FF 69 70 72 73 69 68 71 71 68 69 67 66 67 72 68 75 68 73 72 72 72 72 74 68 73 68 70 72 70 67 67 71 72 73 68 72 68 weight 195 135 145 170 172 168 155 185 175 158 185 146 135 150 160 155 230 149 240 170 198 163 230 170 151 220 145 130 160 210 145 185 237 205 147 170 181 150 gender 0 0 0 0 0 0 0 0 1 1 1 height 68 72 68 67 70 71 70 67 58 56 63 weight 170 181 150 150 200 175 155 167 100 100 125
gender
0
0
0
1
1
1
1
1
0
0
0
0
0
1
1
1
0
0
1
0
1
1
1
1
1
1
1
1
1
0
0
0
1
1
1
height
72
67
65
67
63
54
66
64
72
66
66
71
71
57
66
67
70
73
68
72
65
70
64
64
63
60
69
65
67
67
68
65
62
66
65
weight
155
145
125
120
105
120
125
125
160
133
175
205
175
82
125
133
175
163
133
180
107
170
110
140
110
110
125
120
180
120
140
130
122
114
115
Transcribed Image Text:gender 0 0 0 1 1 1 1 1 0 0 0 0 0 1 1 1 0 0 1 0 1 1 1 1 1 1 1 1 1 0 0 0 1 1 1 height 72 67 65 67 63 54 66 64 72 66 66 71 71 57 66 67 70 73 68 72 65 70 64 64 63 60 69 65 67 67 68 65 62 66 65 weight 155 145 125 120 105 120 125 125 160 133 175 205 175 82 125 133 175 163 133 180 107 170 110 140 110 110 125 120 180 120 140 130 122 114 115
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE 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