Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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. name sex year nbabies Ida F 1912 2740 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 20127 6910 Theresa 1912 1268 NA Theresa 2012 232 NA Ida name sex 1912 2012 F 2740 99 Ida M 14 NA Robert F 64 7 Robert M 12837 6910 Theresa F 1268 232 1. What is the meaning of a case in each of the tables? - Version One o Version Two o Version Three 2. What should the chain of 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. 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. name sex year nbabies Ida F 1912 2740 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 20127 6910 Theresa 1912 1268 NA Theresa 2012 232 NA Ida name sex 1912 2012 F 2740 99 Ida M 14 NA Robert F 64 7 Robert M 12837 6910 Theresa F 1268 232 1. What is the meaning of a case in each of the tables? - Version One o Version Two o Version Three 2. What should the chain of 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 Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started