Menu

[Solved]Data File Download File Q37183221

Problem 2: Getting started Now we will start exploring data inR README! The data in the next two sections of this problem set2c. Download the dataset (Canvas link). Save it in a helpful location. Remember this location. 2d. Read the data into R. WhatHere is the data file

How can I download the file for you?

Problem 2: Getting started Now we will start exploring data inR README! The data in the next two sections of this problem set come from the paper “Are Emily and George More Employable than Lakisha and Jamal? A Field Experiment on Labor Market Discrimination” by Bertrand and Mullainathan (published in the American Economic Review (AER) in 2004) In their (very influential) paper, Bertrand and Mullainathan use a clever experiment to study the effects of race in labor-market decisions by sending fake résumés to job listings. To isolate the effect of race on employment decisions, Bertrand and Mullainathan randomize whether the résumé lists a typically African-American name ora typically White name. 2a. Open up RStudio, start a R new script (File- New file-R Script). You will hand in this script as part of your assignment. 2b. Load the the pacman package. If you haven’t installed it, you will need first install it (install.packages (“pacman”)) and then load it (library(pacman)) Now use pacman’s function p_load to load the tidyverse package, i.e # Load the ‘pacman’ package library(pacman) # Load the packages ‘tidyverse’ and ‘haven’ p_load(tidyverse) Note: If tidyverse is not already installed, then p_load(tidyverse) will automatically install it for you this is why we’re using pacman. 2c. Download the dataset (Canvas link). Save it in a helpful location. Remember this location 2d. Read the data into R.What are the dimensions of the dataset (numbers of rows and columns)? 2c. Download the dataset (Canvas link). Save it in a helpful location. Remember this location. 2d. Read the data into R. What are the dimensions of the dataset (numbers of rows and columns)? Hints: The read_csv() function reads CSVs into R, eg., read_csv(“file.csv”). The dim() function will tell you the dimensions of a dataset, e.g., dim(some_data) Note: Let each row in this dataset represent a different résumé sent to a job posting. The table on the last page explains each of the variables. 2e. What are the names of the first five variables? Hint: names (your_df) 2f What are the first two first names in the dataset (first_name variable)? Hint: head(your_df$var_name, 10) gives the first 10 observations of the variable var_name in dataset your_df. Show transcribed image text Problem 2: Getting started Now we will start exploring data inR README! The data in the next two sections of this problem set come from the paper “Are Emily and George More Employable than Lakisha and Jamal? A Field Experiment on Labor Market Discrimination” by Bertrand and Mullainathan (published in the American Economic Review (AER) in 2004) In their (very influential) paper, Bertrand and Mullainathan use a clever experiment to study the effects of race in labor-market decisions by sending fake résumés to job listings. To isolate the effect of race on employment decisions, Bertrand and Mullainathan randomize whether the résumé lists a typically African-American name ora typically White name. 2a. Open up RStudio, start a R new script (File- New file-R Script). You will hand in this script as part of your assignment. 2b. Load the the pacman package. If you haven’t installed it, you will need first install it (install.packages (“pacman”)) and then load it (library(pacman)) Now use pacman’s function p_load to load the tidyverse package, i.e # Load the ‘pacman’ package library(pacman) # Load the packages ‘tidyverse’ and ‘haven’ p_load(tidyverse) Note: If tidyverse is not already installed, then p_load(tidyverse) will automatically install it for you this is why we’re using pacman. 2c. Download the dataset (Canvas link). Save it in a helpful location. Remember this location 2d. Read the data into R.What are the dimensions of the dataset (numbers of rows and columns)?
2c. Download the dataset (Canvas link). Save it in a helpful location. Remember this location. 2d. Read the data into R. What are the dimensions of the dataset (numbers of rows and columns)? Hints: The read_csv() function reads CSVs into R, eg., read_csv(“file.csv”). The dim() function will tell you the dimensions of a dataset, e.g., dim(some_data) Note: Let each row in this dataset represent a different résumé sent to a job posting. The table on the last page explains each of the variables. 2e. What are the names of the first five variables? Hint: names (your_df) 2f What are the first two first names in the dataset (first_name variable)? Hint: head(your_df$var_name, 10) gives the first 10 observations of the variable var_name in dataset your_df.

Expert Answer


Answer to Here is the data file How can I download the file for you?… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *