Introduction to Empirical Economics

only the part B
it should be completed with R. Write down your answers and codes in a R Markdown file (.rmd) using the RStudio, then generate a PDF file. Upload the R Markdown file and the PDF le to Canvas.