## Q:

### Create a new data frame that includes flights headed to SFO in February, and save this data frame assfo_feb_flights. How many flights meet these criteria?

## Q:

### Make a histogram and calculate appropriate summary statistics for arrival delays of sfo_feb_flights. Which of the following is false?

## Q:

### Considering the data from all the NYC airports, which month has the highest average departure delay?

## Q:

### Calculate the median and interquartile range for arr_delays of flights in the sfo_feb_flights data frame, grouped by carrier. Which carrier has the highest IQR of arrival delays?

## Q:

### Which month has the highest median departure delay from an NYC airport?

## Q:

### Is the mean or the median a more reliable measure for deciding which month(s) to avoid flying if you really dislike delayed flights, and why?

## Q:

### If you were selecting an airport simply based on on time departure percentage, which NYC airport would you choose to fly out of?

## Q:

### Mutate the data frame so that it includes a new variable that contains the average speed, avg_speed traveled by the plane for each journey (in mph). What is the tail number of the plane with the fastest avg_speed? Hint: Average speed can be calculated as distance divided by number of hours of travel, and note that air_time is given in minutes. If you just want to show the avg_speed and tailnum and none of the other variables, use the select function at the end of your pipe to select just these two variables with select(avg_speed, tailnum). You can google this tail number to find out more about the aircraft.

## Q:

### Make a scatterplot of avg_speed vs. distance. Which of the following is true about the relationship between average speed and distance.

Subscribe

0 Comments

Find Questions in This Page: "

**"***CTRL+F*