Question
In the United States, baseball has always been a favorite pastime and is rife with statistics and theories. Researchers have shown that major league players
In the United States, baseball has always been a favorite pastime and is rife with statistics and theories. Researchers have shown that major league players who have nicknames live longer than those without them. The following table shows a portion of data on the lifespan (Years) of a player and a Nickname variable (Yes if the player had a nickname, No otherwise).
Years | Nickname |
---|---|
71 | No |
76 | No |
53 | Yes |
Click here for the Excel Data File a.Create two subsets, one consisting of players with a nickname and the other one without a nickname. Calculate the average longevity for each subset.(Round your answers to 2 decimal places.)
b-1.Estimate a linear regression model of year on a dummy variablesdwith value 1 if the player had a nickname, 0 otherwise.Hint: You have to first convert the Nickname categorical variable (Yes/No) into a dummy variable (1/0).(Round coefficient estimates to 4 decimal places) b-2.Compute the predicted longevity of players with and without a nickname.(Round coefficient estimates to at least 4 decimal places and final answers to 2 decimal places.)
Years | Nickname |
71 | No |
76 | No |
76 | Yes |
52 | No |
55 | Yes |
56 | No |
79 | Yes |
60 | Yes |
63 | Yes |
77 | No |
66 | No |
58 | No |
59 | Yes |
63 | Yes |
66 | Yes |
63 | No |
58 | No |
55 | No |
53 | Yes |
79 | Yes |
60 | No |
71 | No |
77 | Yes |
65 | Yes |
62 | Yes |
51 | Yes |
76 | No |
63 | No |
79 | No |
53 | Yes |
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