c. There are two variables here: Gender and Age. Which of them is numerical and which is categorical? Gender is because it Age is because it

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
Please provide only part C Please do it in 30 minutes
35
c. There are two variables here: Gender and Age. Which of them is numerical and which is categorical?
because it
Gender is
Age is
because it
Transcribed Image Text:35 c. There are two variables here: Gender and Age. Which of them is numerical and which is categorical? because it Gender is Age is because it
A student did a survey on the age of marriage for married male and female students. Use the accompanying data to complete parts (a) through (c).
Click the icon to view the data table.
***
a. Is the format of the data set stacked or unstacked?
A. The format is unstacked, because the columns represent the two different genders.
OB. The format is stacked, because each row of the table represents one couple.
OC. The format is stacked, because the columns represent the two different genders.
OD. The format is unstacked, because each row of the table represents one couple.
b. If you answered "stacked" in part a, then unstack the data set. If you answered "unstacked," then stack and code the data set, letting 1 represent "Men" and 0
represent "Women". Choose the correct answer below.
OA.
B.
O C.
OD.
Gender
Age
Gender
Age Gender
27
1
18
1
Men.
Women
29
1
21
31
1
21
33
1
22
26
1
26
18
0
27
22
0
29
21
0
31
35
0
33
21
0
35
$|===****
Age
29
31
33
35
Data Table
Men
27
29
31
33
26
Print
Women
18
22
21
35
21
Done
X
1
1
1
1
0
0
0
0
0
Transcribed Image Text:A student did a survey on the age of marriage for married male and female students. Use the accompanying data to complete parts (a) through (c). Click the icon to view the data table. *** a. Is the format of the data set stacked or unstacked? A. The format is unstacked, because the columns represent the two different genders. OB. The format is stacked, because each row of the table represents one couple. OC. The format is stacked, because the columns represent the two different genders. OD. The format is unstacked, because each row of the table represents one couple. b. If you answered "stacked" in part a, then unstack the data set. If you answered "unstacked," then stack and code the data set, letting 1 represent "Men" and 0 represent "Women". Choose the correct answer below. OA. B. O C. OD. Gender Age Gender Age Gender 27 1 18 1 Men. Women 29 1 21 31 1 21 33 1 22 26 1 26 18 0 27 22 0 29 21 0 31 35 0 33 21 0 35 $|===**** Age 29 31 33 35 Data Table Men 27 29 31 33 26 Print Women 18 22 21 35 21 Done X 1 1 1 1 0 0 0 0 0
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
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