how do you answer these questions concerning this data table PROBLEM 12.2: Consider the following forms for organizing a subset of the BabyNames data as we examine the most popular name of either sex each year. sex year nbabies F name Ida 1912 2740 Ida M 1912 14 Robert F 1912 64 Robert M 1912 12837 Theresa F 1912 1268 Ida 2012 99 - and so on for 9 rows altogether. name year F M Ida 1912 2740 14 Ida 2012 99 NA Robert 1912 64 12837 Robert 2012 7 6910 Theresa 1912 1268 NA Theresa 2012 232 NA name sex 1912 2012 Ida F 2740 99 Ida M 14 NA Robert F 64 7. Robert M 12837 6910 Theresa F 1268 232

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

3

how do you answer these questions
concerning this data table
PROBLEM 12.2: Consider the following forms for organizing a subset of the
BabyNames data as we examine the most popular name of either sex each year.
sex year nbabies
F 1912 2740
name
Ida
Ida
M 1912 14
Robert F
1912 64
Robert M 1912 12837
Theresa F 1912 1268
Ida
F
2012 99
and so on for 9 rows altogether.
name year F
M
Ida
1912 2740 14
Ida
2012 99 NA
Robert 1912 64 12837
Robert 2012 7
6910
Theresa 1912 1268 NA
Theresa 2012 232 NA
name sex 1912 2012
Ida
F
2740 99
Ia
14
NA
Robert F
64
Robert M 12837 6910
Theresa F
1268 232
Transcribed Image Text:how do you answer these questions concerning this data table PROBLEM 12.2: Consider the following forms for organizing a subset of the BabyNames data as we examine the most popular name of either sex each year. sex year nbabies F 1912 2740 name Ida Ida M 1912 14 Robert F 1912 64 Robert M 1912 12837 Theresa F 1912 1268 Ida F 2012 99 and so on for 9 rows altogether. name year F M Ida 1912 2740 14 Ida 2012 99 NA Robert 1912 64 12837 Robert 2012 7 6910 Theresa 1912 1268 NA Theresa 2012 232 NA name sex 1912 2012 Ida F 2740 99 Ia 14 NA Robert F 64 Robert M 12837 6910 Theresa F 1268 232
1. What is the meaning of a case in each of the tables?
o Version One
o Version Two
o Version Three
2. What should the chain of R commands look like to make Version
Two" from the data table "Version One" shown above? Also, explain
which of the two versions is "wider."
3. What should the chain of R commands look like to make "Version
One" from the data table "Version Three" shown above? Also,
explain which of the two versions is "wider."
4. Suppose you want to calculate the ratio of male to female in each
name in each year. Is it better to start from "Version Two" or
"Version Three?" Why?
5. If you were given "Version One," should you immediately begin using
data verbs to calculate the ratio of male to female, or should you
first translate to "Version Two" or "Version Three?" Explain.
Transcribed Image Text:1. What is the meaning of a case in each of the tables? o Version One o Version Two o Version Three 2. What should the chain of R commands look like to make Version Two" from the data table "Version One" shown above? Also, explain which of the two versions is "wider." 3. What should the chain of R commands look like to make "Version One" from the data table "Version Three" shown above? Also, explain which of the two versions is "wider." 4. Suppose you want to calculate the ratio of male to female in each name in each year. Is it better to start from "Version Two" or "Version Three?" Why? 5. If you were given "Version One," should you immediately begin using data verbs to calculate the ratio of male to female, or should you first translate to "Version Two" or "Version Three?" Explain.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

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