R project assignment

Question 1: Now open Rstudio. Download the dataset HW2. Make sure you load the libraries broom and tidyverse in your r script at the top (just like last time). Load in the dataset HW2 which contains information on fatality risk wages and earnings. (You can use the readr or read_csv or read.csv commands). I named the data VSL when I read it in. First run a regression of wages on fatality risk controlling for educational dummy variables. What is your estimated coefficient on the variable fat_risk?

Question 2: Continuing the problem from above what is the implied VSL based on that regression coefficient? Hint you must scale the coefficient so hourly wages have the same time units as annual fatality risk.

Question 3: Now run a regression of annual earnings on annual fatality risk controlling for education. What is the coefficient on fat_risk now? What is the implied VSL based on this regression?

Question 4: Now I want you create a scatter plot using the ggplot command. On the x-axis will be your fatality risk. On the y-axis will be your wages. To create that scatter plot type sh <- ggplot(VSL aes(x=fat_risk y=wages)) +geom_point() Now you can add better titles and axis labels by typing the following following. sh + labs(title = “Wages vs. Fatality Risk” x = “Fatality Risk” y = “Wages”) After you do both of those things. Click on the figure and export it as a jpg with the name “HW2_yourname” where yourname is actually your name. Please upload that figure with your HW below.

Question 5: Suppose someone doesnt get causality. You try to explain with formulas and that fails. So now construct a DAG (directed acyclic graph). This DAG should illustrate both characteristics of a job that are related to unobservables that influence wages and fatality risks on a job that are exogenous and also affected wages. Please upload a sketch of your DAG.

Requirements: Need detailed work. | .doc file

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your paper today and save 30% with the discount code HAPPY

X
Open chat
1
You can contact our live agent via WhatsApp! Via + 1 323 412 5597

Feel free to ask questions, clarifications, or discounts available when placing an order.

Order your essay today and save 30% with the discount code HAPPY