For information about the data, click the link here. https://github.com/rfordatascience/tidytuesday/tree/master/data/2018/2018-10-16

Q1. Describe the sixth observation, using Major, Total, Major_category, ShareWomen, Sample_size, Unemployment_rate, and Median.

The sixth observation is, a major code of 2418 a major of Nuclear Engineering a total of 2573 in the work force, 2,200 men and 373 women. The Major_category is Engineering. Sharedwomen of 0.144966965 with a sample size of 17, 1,857 are employed 2,038 are full_time 264 are part time. 400 are unemployed with an unemployement rate of 0.177226407 and a median of 65000.

Q2. Which major has the highest share of men?

## # A tibble: 173 x 22
##        X  Rank Major_code Major  Total    Men  Women Major_category
##    <int> <int>      <int> <fct>  <int>  <int>  <int> <fct>         
##  1    77    77       6203 BUSI~ 329927 173809 156118 Business      
##  2    58    58       6200 GENE~ 234590 132238 102352 Business      
##  3    36    36       6207 FINA~ 174506 115030  59476 Business      
##  4   124   124       3600 BIOL~ 280709 111762 168947 Biology & Lif~
##  5    21    21       2102 COMP~ 128319  99743  28576 Computers & M~
##  6    41    41       6201 ACCO~ 198633  94519 104114 Business      
##  7    79    79       5506 POLI~ 182621  93880  88741 Social Science
##  8    37    37       5501 ECON~ 139247  89749  49498 Social Science
##  9   146   146       5200 PSYC~ 393735  86648 307087 Psychology & ~
## 10     9     9       2414 MECH~  91227  80320  10907 Engineering   
## # ... with 163 more rows, and 14 more variables: ShareWomen <dbl>,
## #   Sample_size <int>, Employed <int>, Full_time <int>, Part_time <int>,
## #   Full_time_year_round <int>, Unemployed <int>, Unemployment_rate <dbl>,
## #   Median <int>, P25th <int>, P75th <int>, College_jobs <int>,
## #   Non_college_jobs <int>, Low_wage_jobs <int>

The major with the highest share of men is, Business Management and Admin.

Q3. Which major has the highest median earnings?

## # A tibble: 173 x 2
##    Major                                     Median
##    <fct>                                      <int>
##  1 PETROLEUM ENGINEERING                     110000
##  2 MINING AND MINERAL ENGINEERING             75000
##  3 METALLURGICAL ENGINEERING                  73000
##  4 NAVAL ARCHITECTURE AND MARINE ENGINEERING  70000
##  5 CHEMICAL ENGINEERING                       65000
##  6 NUCLEAR ENGINEERING                        65000
##  7 ACTUARIAL SCIENCE                          62000
##  8 ASTRONOMY AND ASTROPHYSICS                 62000
##  9 MECHANICAL ENGINEERING                     60000
## 10 ELECTRICAL ENGINEERING                     60000
## # ... with 163 more rows

The major with the highest median earnings is, Petroleum Engineering with a median of $110,000. Major_category is Engineering.

Q4. Which major does the regression model predict to have the highest median earnings?

The major that the regression modle predicts to have the highest median earnings is, Miscellaneous Engineering with a median of $50,000 and a sample size of 118 and ShareWomen of 0.18997044. Major_category of Engineering. As the outlier of the plot, Petrolem Engineering with a median of $110,000.

Q5. Create the same scatterplot to examine the relationship between ShareWomen and Unemployment_rate.

Hint: Use the same code as above for the scatterplot, but convert the numbers on both axes to the percent format.

Q6. Decribe the relationship between ShareWomen and Unemployment_rate.

Hint: There are many resources available regarding how to interpret scatter plots. For example, Google something like, “interpreting scatter plots positive or negative”. Discuss whether the regression line is upward sloping, downward sloping, or more or less flat. What does this mean regarding the relationship between the two variables?

The relationship between ShareWomen and unemployment_rate is, a positive rate corelation, but since the regression line is almost completely flat there is not much of a difference between the two.

Q7. Which Major_category appears to have the lowest Unemployment_rate?

## # A tibble: 173 x 2
##    Major_category                      Unemployment_rate
##    <fct>                                           <dbl>
##  1 Computers & Mathematics                       0      
##  2 Industrial Arts & Consumer Services           0      
##  3 Biology & Life Science                        0      
##  4 Agriculture & Natural Resources               0      
##  5 Education                                     0      
##  6 Engineering                                   0.00633
##  7 Law & Public Policy                           0.0117 
##  8 Education                                     0.0162 
##  9 Engineering                                   0.0184 
## 10 Agriculture & Natural Resources               0.0196 
## # ... with 163 more rows

The major that appears to have the lowest unemployement_rate is, Computer and Mathematics with 0% unemployment.

Q8. Hide the code but display the results of the code on the webpage.

Q9. Display the title and your name correctly at the top of the webpage.

Q10. Use the correct slug.