ps1_econ497
.pdf
keyboard_arrow_up
School
Pennsylvania State University *
*We aren’t endorsed by this school
Course
497
Subject
Economics
Date
Feb 20, 2024
Type
Pages
9
Uploaded by CommodoreStarKangaroo3
Problem Set 1
Rohan Desai
1. Summary statistics.
Use Files/problem_sets/ps1/symptoms_by_age_refugee.dta
to answer this question.
d <- read_stata("C:/Users/rohan/OneDrive - The Pennsylvania State University/Documents/ECON 4
97/ps1_export/symptoms_by_age_refugee.dta") %>%
mutate(frac = percent_of_sample/100)
# 1a.
# Calculate the probability of a refugee being 18 years old
prob_18_refugee <- d %>%
filter(refugee == 1, tr12_age == 18) %>%
summarise(prob = sum(frac)) %>%
pull(prob)
# Print the probability
prob_18_refugee
## [1] 0.0006449175
# 1b.
# Plotting the percent of refugees and non-refugees by age
d_symptoms <- subset(d, refugee == 1) # Filter dataset for individuals with symptoms
ggplot(d_symptoms, aes(x = tr12_age, y = frac)) + geom_bar(stat = "identity",
position = "dodge", fill = "red") + labs(title = "Percent of Individuals with Symptoms by Age",
x = "Age", y = "Percent") + theme_minimal() # Using a minimal theme for a clean look
Problem Set 1
file:///C:/Users/rohan/Downloads/ps1_template.html
1 of 9
2/8/2024, 11:38 PM
d_no_symptoms <- subset(d, refugee == 0) # Filter dataset for individuals without symptoms
ggplot(d_no_symptoms, aes(x = tr12_age, y = frac)) + geom_bar(stat = "identity",
position = "dodge", fill = "blue") + labs(title = "Percent of Individuals without Symptom
s by Age",
x = "Age", y = "Percent") + theme_minimal() # Using a minimal theme for a clean look
## Warning: Removed 1 rows containing missing values (`geom_bar()`).
Problem Set 1
file:///C:/Users/rohan/Downloads/ps1_template.html
2 of 9
2/8/2024, 11:38 PM
Problem Set 1
file:///C:/Users/rohan/Downloads/ps1_template.html
3 of 9
2/8/2024, 11:38 PM
# 1c.
# Probability of a refugee having COVID-19 symptoms
prob_refugee_symptoms <- d %>%
filter(refugee == 1, symptoms == 1) %>%
summarise(prob = sum(frac)) %>%
pull(prob)
# Probability of being a refugee
prob_refugee <- d %>%
filter(refugee == 1) %>%
summarise(prob = sum(frac)) %>%
pull(prob)
# Conditional probability of having symptoms given refugee
# status
conditional_prob_symptoms_given_refugee <- prob_refugee_symptoms/prob_refugee
# Probability of being a refugee and having symptoms
prob_not_refugee_symptoms <- d %>%
filter(refugee == 0, symptoms == 1) %>%
summarise(prob = sum(frac)) %>%
pull(prob)
# Probability of being a refugee
prob_not_refugee <- d %>%
filter(refugee == 0) %>%
summarise(prob = sum(frac)) %>%
pull(prob)
# Conditional probability of having symptoms given refugee
# status
conditional_prob_symptoms_given_not_refugee <- prob_not_refugee_symptoms/prob_not_refugee
# Print the probabilities
conditional_prob_symptoms_given_refugee
## [1] 0.06104043
conditional_prob_symptoms_given_not_refugee
## [1] 0.02960421
Problem Set 1
file:///C:/Users/rohan/Downloads/ps1_template.html
4 of 9
2/8/2024, 11:38 PM
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
and Graph R X G how to look for labor force - Goc X +
ezto.mheducation.com/ext/map/index.html?_con=con&external_browser=0&launchUrl=https%253A%252F%252Fbb.uhd.edu%252Fwebapps%252Fportal%252Ffra..
and Graph Refresher i
8
2 of 2
5
J
eBook
Print
♫
eferences
www.
Mc
Graw
Hill
pe here to search
Ratios and Percentages
We can express one quantity in terms of another is a variety of ways -- these relationships are known as ratios. We can
express these ratios in their fraction, decimal or percentage form..
For example, if an economy has 460 adults of working age and 380 of them are in the labor force, we can express the
portion of the adult population that is in the labor force as a fraction, a decimal, or a percent.
As a fraction, we simply put the number of people in the labor force (the numerator) over the number of people in the
overall adult population (the denominator):
Proportion of the adult population in the labor force:
380
460
Sometimes it is more useful to express this as a decimal.…
arrow_forward
What does the benevolence of the butcher quote mean?
arrow_forward
Typed and correct answer please. I ll rate
arrow_forward
The following table shows the sales volumes for company XYZ in millions of KES. Use the belowinformation to forecast the sales volumes in in 2022, 2023, 2024. 2026.Year2012203320142015201620172018201920202021Sales 220024003200450055009000150010800163009500
Note:-
Do not provide handwritten solution. Maintain accuracy and quality in your answer. Take care of plagiarism.
Answer completely.
You will get up vote for sure.
arrow_forward
What are the dimenstions of Policy Implementation
arrow_forward
Why is it difficult in economics to test theories and assumptions compared to the natural sciences? What are the testing methods? How can you test Ricardian Model - whether it holds or not?
arrow_forward
ex.html?_côn=con&external_browser=0&launchUrl=https%253A%252F%252Flms.mheducation.com%252Fmghmiddlew
YouTube
A Maps
A 21F_ENL1813_451...
at 1- Counts for Marks i
Saved
Help
A business whose only inputs are labour and capital expands its employment level in the long run from 12 to 18 workers and its capital
from 4 to 6 machines. Write out dollars and cents, e.g. $1.00 or $0.10 for any monetary amounts entered as
solution below.
Assuming that the daily wage of $100 and the daily upkeep (including wear and tear) per machine of $20 remain constant in the long
run, identify the relevant returns to scale and the change in long-run average cost if daily output were to expand in each of the
following possible ways.
a. If daily output expands from 60 to 120 units then in this output range the business is experiencing (Click to select)
while long-run average cost is (Click to select) v
returns to scale
At 60 units long-run average cost is $ |
and at 120 units it is $
b. If daily output expands…
arrow_forward
Discuss how the Covid-19 pandemic crisis affects businesses, unemployment and the economy as a whole
arrow_forward
1. How Covid19 Pandemic mitigates its immediate impact on Demographic aspects?
2. How in many ways our Philippine Economy currently functions in terms of labor markets and migration?
arrow_forward
Public policy decisions must account for four kinds of uncertainty. Briefly describe at least three of the types of uncertainty, using examples?
arrow_forward
8:02 PM Mon Nov 21
+
10 Assignme... ents Ho...
Submit
Check my work
48%
arrow_forward
Thread: Inte X
hework: Pricing Strategies Assignment i
eBook
Question 3 - Homework: Pric X
no-growth policy - Google S. XMy Citation list 1/19/2023 |C X
ezto.mheducation.com/ext/map/index.html?_con=con&external_browser=0&launchUrl=https%253A%252F%252Flms.mheducation.com%252Fmgh... ☆
eferences
Mc
Graw
Hill
Saved
What price should you charge for a midsized automobile if you expect to maintain your record sales?
Instructions: Enter your response rounded to two decimal places.
$ 754717
| +
Help
Save & Exit
E
Submit
Check my work
arrow_forward
5. What is Dutch disease? Write any one impact of Dutch disease in GCC economics.
arrow_forward
You will submit a Word document that is in proper APA formatting. Your Word document should be properly submitted with citations/references to support your work. Please answer the following questions:
Suppose you are an advisor to the Business Cycle Dating Committee. You are asked to look at macroeconomic data to evaluate whether the economy has entered a recession this year. Which data do you look at? How does the economy behave at the onset of a recession? Explain how unemployment changes over the business cycle. Why do these changes occur?
Make sure that it is 2 to 3 word pages please!
arrow_forward
Suppose the real GDP of an economy is $400 billion dollars and its unemployment rate is 6%.If the natural rate of unemployment is estimated at 3%, what is the value of the country’s potential GDP (LAS) in billions of dollars?Value of the country’s potential GDP (LAS) is $ billion.
Note:-
Do not provide handwritten solution. Maintain accuracy and quality in your answer. Take care of plagiarism.
Answer completely.
You will get up vote for sure.
arrow_forward
What is the Philips Curve? Why do inflation and unemployment tend to be inversly related?
arrow_forward
Economists differ in their response to how governments should respond to the COVID19 crises.
Economist 1 Gigi Foster:
"I think that Australia can follow in the footsteps of many other countries in the world, some of which have not had lockdowns as strict as we have had here, such as again, Sweden”. Foster argues the economy should be kept open or even more people will die from not having work or not being able to cope with lockdown. If people die that is simply a cost of keeping the economy healthy.
Economist 2 Paul Krugman:
“The main driving force behind reopening, as far as I can tell, was the administration’s desire to have big job gains leading into November, so that it could do what it knew how to do — boast about economic success. Actually, dealing with the pandemic just wasn’t Trump’s kind of thing”. Krugman argues that government should, for the sake of health and the economy, deal with the virus. The economy simply will not revive until the virus is under control.
Discuss…
arrow_forward
What is Dow Theory?
arrow_forward
Please Note:- • Do not provide handwritten solution. Maintain accuracy and quality in your answer. Take care of plagiarism. • Answer completely. • You will get up vote for sure.
arrow_forward
Define "Green Revaluation'Explain its Advantages and Disadvantages.
arrow_forward
Discuss with justifiable reasons some explicit and implicit contingent liabilities that are likely to persist in the coming decade based on the current economic fundamentals in Africa?
arrow_forward
1. what are productivity-adjusted wages and why they enter the calculation of manufacturing costs in place of (unadjusted) wages? Please include the Ricardian model in your answer.
2. Your boss is confused by the graph of Manufacturing Cost Index, by country. Please explain how to interpret the graph and what the Manufacturing Cost Index captures.
3. Based on the Manufacturing Cost Index and other economic factors, which of the world’s top 25 export economies should you seriously consider for offshoring?
arrow_forward
What were the polico-economic ramifications of the global recession of 2008-2010?
arrow_forward
Figure 9.3.1 : I’m confused with the solution for question with figure 9.3.1 is:
15 x 10 + 5 × 10 = 175
But how come there is 5 x 10? I know that this is because 20 - 15 = 5, but where does "20" come from? Is it because the “Quantity” is 60, therefore 60 - 40? = 20? thats why 20 - 15 = 5? I’m confused where 20 comes from.
Figure: 8.4.2:
I know that the answer is “B”, but can someone please show me the calculation that I need to get this answer as this sort of questions will come up on my exam and I need to know these calculations to solve these types of questions.
arrow_forward
suppose that we have identified three important systematic risk factors given by exports, inflation, and industrial production, in the beginning of the year, growth in these three factors is estimated at -1%, 2.5%. and 3 5%
respectively. However, actual growth in these factors turn out to be 1%.-2% ,and 2%. the factor betas are given by bex= 1.8, b1=0.7, and bip=1.0.
1. lf the expected return on the stock is 6%, and no unexpected news concerning the stock surfaces calculate the stock's total return
2. calculate the stock's total return if the company announces that they had ab accident and the operating facilities will be closed down for some time thus resulting in a loss by the company of 7% in return.
3. what would the stock total return be if the actual growth in each of the facts was equal to growth expected? assume no unexpected news on the company.
arrow_forward
What is interesting about one of the HRM Functions, "Compensation and benefits".
arrow_forward
Why there is an occurrence of Lewis Turning Point?
arrow_forward
What is the prediction of Ricardian Model with regard to trade in the real world?
Explain,Is there any empirical evidence to support the prediction of Ricardian Model?
arrow_forward
Katya needs 3 hours to knit a scarf and 7 hours to knit a hat. Andreas needs 9 hours to knit a scarf and 5 hours to knit a hat.
It has been proposed that Katya send 1000 scarves to Andreas. How many hats must Katya receive in return so that Katya in not worse off if she accepts the proposal?
Enter a number (and only a number, no units) rounded to two decimal places. If your answer is 1.275, enter 1.28.
Note: Whether Andreas would ever make this offer is not relevant to specifying the offers Katya would accept.
arrow_forward
IN PROJECT MANAGEMENT IN PUBLIC SECTOR OF GHANA DOES THE INFLUENCE CURVE STILL RELEVANT?
arrow_forward
Note:-
Do not provide handwritten solution. Maintain accuracy and quality in your answer. Take care of plagiarism.
Answer completely.
You will get up vote for sure.
arrow_forward
the web...
a 4
ng ..
Search
OA https://pohs2122.mstarlsp.com/mod/Iti/view.php?id%3D17443
All changes sav
1. Who influenced President Franklin Roosevelt in adopting expansive New Deal programs to combat The Great Depression?
Smith
Keynes
O Friedman
Ricardo
SAVE & EXIT
SUBMIT ALL ANSI
Jump to.
Lesson: Fundamentals of Den
Lesson: Great Economic Think...
O
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
- and Graph R X G how to look for labor force - Goc X + ezto.mheducation.com/ext/map/index.html?_con=con&external_browser=0&launchUrl=https%253A%252F%252Fbb.uhd.edu%252Fwebapps%252Fportal%252Ffra.. and Graph Refresher i 8 2 of 2 5 J eBook Print ♫ eferences www. Mc Graw Hill pe here to search Ratios and Percentages We can express one quantity in terms of another is a variety of ways -- these relationships are known as ratios. We can express these ratios in their fraction, decimal or percentage form.. For example, if an economy has 460 adults of working age and 380 of them are in the labor force, we can express the portion of the adult population that is in the labor force as a fraction, a decimal, or a percent. As a fraction, we simply put the number of people in the labor force (the numerator) over the number of people in the overall adult population (the denominator): Proportion of the adult population in the labor force: 380 460 Sometimes it is more useful to express this as a decimal.…arrow_forwardWhat does the benevolence of the butcher quote mean?arrow_forwardTyped and correct answer please. I ll ratearrow_forward
- The following table shows the sales volumes for company XYZ in millions of KES. Use the belowinformation to forecast the sales volumes in in 2022, 2023, 2024. 2026.Year2012203320142015201620172018201920202021Sales 220024003200450055009000150010800163009500 Note:- Do not provide handwritten solution. Maintain accuracy and quality in your answer. Take care of plagiarism. Answer completely. You will get up vote for sure.arrow_forwardWhat are the dimenstions of Policy Implementationarrow_forwardWhy is it difficult in economics to test theories and assumptions compared to the natural sciences? What are the testing methods? How can you test Ricardian Model - whether it holds or not?arrow_forward
- ex.html?_côn=con&external_browser=0&launchUrl=https%253A%252F%252Flms.mheducation.com%252Fmghmiddlew YouTube A Maps A 21F_ENL1813_451... at 1- Counts for Marks i Saved Help A business whose only inputs are labour and capital expands its employment level in the long run from 12 to 18 workers and its capital from 4 to 6 machines. Write out dollars and cents, e.g. $1.00 or $0.10 for any monetary amounts entered as solution below. Assuming that the daily wage of $100 and the daily upkeep (including wear and tear) per machine of $20 remain constant in the long run, identify the relevant returns to scale and the change in long-run average cost if daily output were to expand in each of the following possible ways. a. If daily output expands from 60 to 120 units then in this output range the business is experiencing (Click to select) while long-run average cost is (Click to select) v returns to scale At 60 units long-run average cost is $ | and at 120 units it is $ b. If daily output expands…arrow_forwardDiscuss how the Covid-19 pandemic crisis affects businesses, unemployment and the economy as a wholearrow_forward1. How Covid19 Pandemic mitigates its immediate impact on Demographic aspects? 2. How in many ways our Philippine Economy currently functions in terms of labor markets and migration?arrow_forward
- Public policy decisions must account for four kinds of uncertainty. Briefly describe at least three of the types of uncertainty, using examples?arrow_forward8:02 PM Mon Nov 21 + 10 Assignme... ents Ho... Submit Check my work 48%arrow_forwardThread: Inte X hework: Pricing Strategies Assignment i eBook Question 3 - Homework: Pric X no-growth policy - Google S. XMy Citation list 1/19/2023 |C X ezto.mheducation.com/ext/map/index.html?_con=con&external_browser=0&launchUrl=https%253A%252F%252Flms.mheducation.com%252Fmgh... ☆ eferences Mc Graw Hill Saved What price should you charge for a midsized automobile if you expect to maintain your record sales? Instructions: Enter your response rounded to two decimal places. $ 754717 | + Help Save & Exit E Submit Check my workarrow_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