Midterm exam Fall 2020 solutions
.pdf
keyboard_arrow_up
School
University of Nebraska Medical Center *
*We aren’t endorsed by this school
Course
211
Subject
Economics
Date
Jun 4, 2024
Type
Pages
6
Uploaded by CorporalPencil10038
MIDTERM EXAM: SOLUTIONS Econ 409 Due 8:00am CDT (Lincoln Time), October 24, 2020 NOTE ABOUT THESE SOLUTIONS: More than 1 version of the exam was distributed. In addition, datasets were not identical. Therefore, there is no single set of correct answers. However, all versions contained similar questions, so these answers should be informative about your performance. READ THESE DIRECTIONS CAREFULLY: This is an open-book, take-home exam. You may consult your textbook, the slides, the RStudio notes, etc. You may not
work with your classmates or anyone else. The exam is to be completed on your own. As outlined in the syllabus, evidence of cheating or other academic dishonesty will result in a grade of 0 at a minimum. You will submit your answers via Canvas. Your submission must include: 1.) A typed sheet of your answers; 2.) Your R code. The R code may be copied and pasted into a Word document or other text document. If you did this correctly, I should be able to load the data and then run your code on my own machine to replicate your answers. Producing replicable code (meaning I can run it) is worth 10 out of the 100 total points. The exam will be posted to Canvas at 8:00am CDT, Thursday, October 22. It is due by 8:00am CDT on Saturday, October 24. Late submissions will automatically lose 25% of available points at 8:01am CDT on October 24; 50% of available points at 9:01am, 75% of available points at 10:01am, and all available points at 11:01am or after. The exam is written to take no more than one class period (75 minutes). However, you have 48 hours to complete it. Therefore, please keep in mind that entirely avoidable situations –
for example, Internet outages that occur at 10:00pm on October 23 –
are not
considered valid excuses for late submissions. Good luck! Part A: Data Analysis You have been provided a dataset. A description of the variables is below. (This data has been generated using statistical software; it does not represent real measurements.) Import it into R. Then briefly
answer each question below. Be sure to save a script file with any R code you need to answer these questions. Variables: ability = score on an IQ test race = reported race (white or nonwhite) earnings = annual earnings birthplace = state of birth 1.)
How many observations are there? How many variables? Be sure to specify which is the number of observations and which is the number of rows. nrow(data) ncol(data) 2.)
What kind of dataset is this: Time series, cross-sectional, or panel? Briefly defend your answer in one or two sentences.
Cross-sectional. These datasets show multiple individuals or countries in a snapshot in time. 3.)
Produce a five-number summary of each quantitative variable. fivenum(data$variable) 4.)
For each quantitative variable, tell me whether it is symmetric, skewed left, or skewed right? Write a sentence or two to defend your answer for each variable. There is no single right way to answer this question, so points were given for defensible answers. You could use a histogram, calculate the skewness, or use some other sample statistics. 5.)
The proper choice of data visualization technique depends in part on whether a variable is categorical or quantitative. Using an appropriate visualization technique, produce a graph showing the distribution of EARNINGS
. Write a sentence or two explaining why this is a proper choice of visualization technique. hist(data$earnings) (Other answers are possible, such as a dotplot or a boxplot) 6.)
The proper choice of data visualization technique depends in part on whether a variable is categorical or quantitative. Using an appropriate visualization technique, produce a graph showing the distribution of BIRTHPLACE
. Write a sentence or two explaining why this is a proper choice of visualization technique. barplot(data$birthplace) (Other answers are possible, such as a pie chart) 7.)
Assume your dataset is representative of a broader population. What is the 95% confidence interval for the population mean of ABILITY
? Some simple code to evaluate this: Lower.bound <- mean(data$ability) - 1.96*sd(data$ability)/sqrt(length(ability)) Upper.bound <- mean(data$ability) + 1.96*sd(data$ability)/sqrt(length(ability)) 8.)
What is the correlation coefficient for EARNINGS
and ABILITY
? Then, in words, provide an intuitive explanation of what this value of the correlation coefficient tells us about the relationship between these two variables. cor(data$earnings,data$ability) The correlation coefficient gives us the strength and direction of a linear relationship between two quantitative variables. 9.)
Estimate the simple regression with EARNINGS
as the dependent variable and ABILITY
as the independent variable. Report the slope coefficient (b1) from this regression. Then, in words,
provide an intuitive explanation of what this value of the slope coefficient tells us about the relationship between these two variables. lm(earnings ~ ability,data=data) The slope coefficient tells us how much earnings changes when ability changes by 1 unit. It tells us about the statistical association between these variables, but not what causes what. 10.)
What is the predicted value of EARNINGS
for an observation with ABILITY
= 150? Provide at least one reason you might want to be cautious about trusting this estimate of the EARNINGS
of an individual with this level of ABILITY
. There are several ways to do this, but you must calculate b0 + b1*150, where b0 is the estimated intercept from your regression and b1 is the estimated slope coefficient. The best reason not to trust this predicted value is that it is an extrapolation: 150 is far outside the range of ability in your dataset. 11.)
Construct a scatterplot of EARNINGS
and ABILITY
. Then describe the relationship between these variables in a sentence or two. Does the relationship you see in the scatterplot match the relationship implied by the regression and correlation coefficient? plot(data$earnings,data$ability) There was a curvilinear relationship. This suggests that the correlation coefficient and regression coefficient do not fully characterize the relationship between the two variables. They are still valid estimates of the linear relationship between these variables, however. 12.)
In the population, for every person born in South Dakota, there are 4 people born in Kansas, 4 born in Iowa, 2 born in Nebraska, and 5 born in Colorado. Is this dataset representative of the population? How, if at all, does the answer affect your analysis of this data? Explain briefly. This population distribution of birthplace is very different from the distribution you observed in your sample. This suggests you should be cautious about extrapolating the results to the broader population of these states. The reason is that we can only use data to make inferences about a broader population if it is representative of that population. 13.)
What is the interquartile range of ABILITY
? If two peop
le’s ABILITY
differs by an amount equal to the interquartile range, what is the expected difference in their EARNINGS
? Use your regression results to find an answer to the second question. There are a few ways to calculate this, but here is one: iqr <- quantile(data$ability,0.75) –
quantile(data$ability,0.25) b1 * iqr 14.)
Conduct a formal hypothesis test of whether EARNINGS
is different for the two groups defined by RACE
. Be sure to lay out each of the 5 steps in our hypothesis testing procedure. Step 1: The null hypothesis is 𝜇
1
= 𝜇
0
. The alternative is 𝜇
1
≠ 𝜇
0
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Dependent Variable: Pass
Experience
Male
Malex Experience
Constant
Probit
Logit
(1)
(2)
0.031
0.040
(0.009) (0.016)
0.712
(0.126)
Linear
Probability
(3)
0.006
(0.002)
1.059
0.774
(0.221) (0.034)
Probit
(4)
-0.333
(0.161)
1.282
(0.124)
Logit
(5)
-0.622
(0.303)
2.197
(0.242)
Linear
Probability
(6)
-0.071
(0.034)
0.900
(0.022)
Probit
(7)
0.041
(0.156)
-0.074
(0.259)
-0.015
(0.019)
0.806
(0.200)
Problem 1. (~SW 11.2) Using the results of column (2):
(a) Does the probability of passing the test depend on Experience? Explain.
(b) Matthew has 10 years of driving experience. What is the probability that he will pass the test?
(c) Christopher is a new driver (zero years of experience). What is the probability that he will pass
the test?
(d) Sketch the predicted probabilities from the probit and logit regressions in column (1) and (2)
for values of Experience between 0 and 60. Are the probit and logit models similar?
arrow_forward
Use the following cell phone airport data speeds (Mbps) from a particular network. Find the percentile corresponding to the data speed 0.6 Mbps.
0.4
0.4
0.1
0.6
0.2
0.6
0.7
0.8
1.6
4.8
9.7
1.9
5.4
10.7
0.3
0.6
2.2
5.4
10.9
Percentile of 0.6=
(Round to the nearest whole number as needed.)
0.3
0.7
2.5
5.5
11.6
2.6
5.8
12.5
C
2.7
6.2
13.5
0.4
0.9
2.8
6.9
13.8
0.5
1.2
2.8
8.6
14.1
0.5
1.5
A
3.7
8.8
15.5
0.5
1.5
3.9
9.6
28.3
arrow_forward
I can not get 7.2, 7.8 or 8.3 when I do the calculations. How did you get them?
arrow_forward
How is MC calculated? 300 for the first MC is incorrect.
arrow_forward
None
arrow_forward
The state of New Jersey has in circulation (as of 2011) an instant lottery game called $1,000
Downpour. The cost of each ticket for this lottery game is $5.00. A player can instantly win $75,000,
$1,000, $100, $50, $20, $10, or $5. Each ticket has 19 spots covered by latex coating, and the top
four spots contain numbers that, if matched by the player's numbers, win money. The remaining 15
spots belong to the player. A player wins if any of the numbers in the player's 15 spots matches any
of the four winning numbers.
Number of tickets that can
win
Prizes
0 (i.e. not a winner)
2,853,533
621,075
10
327,600
20
58,500
50
31,200
100
5525
1,000
2561
75,000
6.
Total= 3,900,000 tickets sold
Find and interpret the expected outcome of this game.
[Write your answer as a complete sentence]
arrow_forward
How did you get 12503304.67 from 26.26?
arrow_forward
PLS HELP ASAP ON BOTH
arrow_forward
When graphing the NTR and BL lines:
Multiple Choice
Both begin above the graph's origin.
The NTR lines begins at the groph's origin and BL line begins below the origin.
The NTR lines begins at the graph's origin and BL line begins above the origin.
Both begin at the graph's origin.
arrow_forward
Images
I More
About 680,000,000 results (0.49 seconds)
How to solve your problem
12(2k + 11) = 12(2k + 12)
Solve
Distribute
12(2k + 11) = 12(2k + 12)
%3D
24k + 132 = 12(2k + 12)
Distribute
Subtract 132 from both sides of the equation
3 more steps
Result
0=12
arrow_forward
Exercise2:
A company makes iron benches and wants to determine the break-even point. The total fixed
cost for the business is $60,000 and the variable cost is $40 per bench. It sells the bench for $100
per unit.
Determine the BEP and construct a graph.
arrow_forward
Data analysis, please show all work
A company makes a laser product. The product is well made, but is expensive to manufacture. As indicated, the product is well made, so 98.7% of lasers function as advertised. However, 1.3% are returned for being defective. For each laser they manufacture, the company makes $204 in profit. However, when the product is defective, it costs the company $1340 (in shipping refunds, repair, etc). How much can the company expect to make (or lose!) each time they sell a laser?
arrow_forward
x = f(p) = 3000 - 2p²
E(p) =
arrow_forward
question attached
arrow_forward
Please also provide solution to questions 4,5, and 6.
arrow_forward
Breakdown Approach
Salesforce size = Forecasted sales / Average sales per salesperson
Sleepy, Inc, a manufacturer of baby products, just introduced a new product to the market which they
believe will greatly increase revenues in 2022. The company's forecasted sales for 2023 are $60,000,000
and salespeople currently average $1,500,000 in annual sales. How many salespeople does Sleepy, Inc
need for 2023? Show your work.
arrow_forward
calculate the missing values and show the calculation
arrow_forward
f(x,y,z)=3x²+xyz+4y³₂²
Find the value of df(x,y,z)/dx when x = 1, y = 2, z
= 3.
arrow_forward
10
arrow_forward
New ads have been proposed and cost the company $5000 to run in each time slot. If the extra sales from each new ad are determined be sales = 11000 - 30ad. How many ads should be run? (enter as an integer).
arrow_forward
I am so confused, my computer stated that all three answers are incorrect. Can you assist so that I can find the correct answers and know how to properly calculate the answer for my exam in the future?
arrow_forward
A manufacturer of Chocolate has a fixed cost of Tk.60000 and variable cost is Tk.7 per produced Chocolate. Selling price is Tk.10 per Chocolate.Requirement: Draw the break even chart.
arrow_forward
Define the term Routine Annual Maintenance Costs?
arrow_forward
solve within 30 mins
arrow_forward
Cost of buying tomato plants are 20 cents each and a farmer sells them for 50 cents each. His fixed costs are euro 60 including the rate he pays to the local council.
How many tomato plants must he sell to break even?
What kind of profit will he realize from selling 180 plants?
Formulate P(x) function clearly and graph it. Values of its intersections with both axes must be clear.
arrow_forward
TV company sells colour TV sets at `15,000 each. Its fixed costs are `30,000, and its average variable costs are ` 10,000 per unit. Find out BEP. Draw its breakeven graph, and then determine its breakeven rate of production.
arrow_forward
For what purpose is the MACRS method used?
arrow_forward
Find f'(x).
2
X +2
f(x) =
7x - 6
f'(x) =
%3D
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Principles of Economics (12th Edition)
Economics
ISBN:9780134078779
Author:Karl E. Case, Ray C. Fair, Sharon E. Oster
Publisher:PEARSON
Engineering Economy (17th Edition)
Economics
ISBN:9780134870069
Author:William G. Sullivan, Elin M. Wicks, C. Patrick Koelling
Publisher:PEARSON
Principles of Economics (MindTap Course List)
Economics
ISBN:9781305585126
Author:N. Gregory Mankiw
Publisher:Cengage Learning
Managerial Economics: A Problem Solving Approach
Economics
ISBN:9781337106665
Author:Luke M. Froeb, Brian T. McCann, Michael R. Ward, Mike Shor
Publisher:Cengage Learning
Managerial Economics & Business Strategy (Mcgraw-...
Economics
ISBN:9781259290619
Author:Michael Baye, Jeff Prince
Publisher:McGraw-Hill Education
Related Questions
- Dependent Variable: Pass Experience Male Malex Experience Constant Probit Logit (1) (2) 0.031 0.040 (0.009) (0.016) 0.712 (0.126) Linear Probability (3) 0.006 (0.002) 1.059 0.774 (0.221) (0.034) Probit (4) -0.333 (0.161) 1.282 (0.124) Logit (5) -0.622 (0.303) 2.197 (0.242) Linear Probability (6) -0.071 (0.034) 0.900 (0.022) Probit (7) 0.041 (0.156) -0.074 (0.259) -0.015 (0.019) 0.806 (0.200) Problem 1. (~SW 11.2) Using the results of column (2): (a) Does the probability of passing the test depend on Experience? Explain. (b) Matthew has 10 years of driving experience. What is the probability that he will pass the test? (c) Christopher is a new driver (zero years of experience). What is the probability that he will pass the test? (d) Sketch the predicted probabilities from the probit and logit regressions in column (1) and (2) for values of Experience between 0 and 60. Are the probit and logit models similar?arrow_forwardUse the following cell phone airport data speeds (Mbps) from a particular network. Find the percentile corresponding to the data speed 0.6 Mbps. 0.4 0.4 0.1 0.6 0.2 0.6 0.7 0.8 1.6 4.8 9.7 1.9 5.4 10.7 0.3 0.6 2.2 5.4 10.9 Percentile of 0.6= (Round to the nearest whole number as needed.) 0.3 0.7 2.5 5.5 11.6 2.6 5.8 12.5 C 2.7 6.2 13.5 0.4 0.9 2.8 6.9 13.8 0.5 1.2 2.8 8.6 14.1 0.5 1.5 A 3.7 8.8 15.5 0.5 1.5 3.9 9.6 28.3arrow_forwardI can not get 7.2, 7.8 or 8.3 when I do the calculations. How did you get them?arrow_forward
- How is MC calculated? 300 for the first MC is incorrect.arrow_forwardNonearrow_forwardThe state of New Jersey has in circulation (as of 2011) an instant lottery game called $1,000 Downpour. The cost of each ticket for this lottery game is $5.00. A player can instantly win $75,000, $1,000, $100, $50, $20, $10, or $5. Each ticket has 19 spots covered by latex coating, and the top four spots contain numbers that, if matched by the player's numbers, win money. The remaining 15 spots belong to the player. A player wins if any of the numbers in the player's 15 spots matches any of the four winning numbers. Number of tickets that can win Prizes 0 (i.e. not a winner) 2,853,533 621,075 10 327,600 20 58,500 50 31,200 100 5525 1,000 2561 75,000 6. Total= 3,900,000 tickets sold Find and interpret the expected outcome of this game. [Write your answer as a complete sentence]arrow_forward
- How did you get 12503304.67 from 26.26?arrow_forwardPLS HELP ASAP ON BOTHarrow_forwardWhen graphing the NTR and BL lines: Multiple Choice Both begin above the graph's origin. The NTR lines begins at the groph's origin and BL line begins below the origin. The NTR lines begins at the graph's origin and BL line begins above the origin. Both begin at the graph's origin.arrow_forward
- Images I More About 680,000,000 results (0.49 seconds) How to solve your problem 12(2k + 11) = 12(2k + 12) Solve Distribute 12(2k + 11) = 12(2k + 12) %3D 24k + 132 = 12(2k + 12) Distribute Subtract 132 from both sides of the equation 3 more steps Result 0=12arrow_forwardExercise2: A company makes iron benches and wants to determine the break-even point. The total fixed cost for the business is $60,000 and the variable cost is $40 per bench. It sells the bench for $100 per unit. Determine the BEP and construct a graph.arrow_forwardData analysis, please show all work A company makes a laser product. The product is well made, but is expensive to manufacture. As indicated, the product is well made, so 98.7% of lasers function as advertised. However, 1.3% are returned for being defective. For each laser they manufacture, the company makes $204 in profit. However, when the product is defective, it costs the company $1340 (in shipping refunds, repair, etc). How much can the company expect to make (or lose!) each time they sell a laser?arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Principles of Economics (12th Edition)EconomicsISBN:9780134078779Author:Karl E. Case, Ray C. Fair, Sharon E. OsterPublisher:PEARSONEngineering Economy (17th Edition)EconomicsISBN:9780134870069Author:William G. Sullivan, Elin M. Wicks, C. Patrick KoellingPublisher:PEARSON
- Principles of Economics (MindTap Course List)EconomicsISBN:9781305585126Author:N. Gregory MankiwPublisher:Cengage LearningManagerial Economics: A Problem Solving ApproachEconomicsISBN:9781337106665Author:Luke M. Froeb, Brian T. McCann, Michael R. Ward, Mike ShorPublisher:Cengage LearningManagerial Economics & Business Strategy (Mcgraw-...EconomicsISBN:9781259290619Author:Michael Baye, Jeff PrincePublisher:McGraw-Hill Education
Principles of Economics (12th Edition)
Economics
ISBN:9780134078779
Author:Karl E. Case, Ray C. Fair, Sharon E. Oster
Publisher:PEARSON
Engineering Economy (17th Edition)
Economics
ISBN:9780134870069
Author:William G. Sullivan, Elin M. Wicks, C. Patrick Koelling
Publisher:PEARSON
Principles of Economics (MindTap Course List)
Economics
ISBN:9781305585126
Author:N. Gregory Mankiw
Publisher:Cengage Learning
Managerial Economics: A Problem Solving Approach
Economics
ISBN:9781337106665
Author:Luke M. Froeb, Brian T. McCann, Michael R. Ward, Mike Shor
Publisher:Cengage Learning
Managerial Economics & Business Strategy (Mcgraw-...
Economics
ISBN:9781259290619
Author:Michael Baye, Jeff Prince
Publisher:McGraw-Hill Education