Can you please show both in RStudio code? Thank You
Airports:
The temperature is recorded at 60 airports in a region. Theaverage temperature is 68 degrees Fahrenheit with a standarddeviation of 5 degrees. The last known average temperature from allairports is 67 degrees Fahrenheit.  Is the recordedtemperature at the 60 airports different from the averagetemperature at all airports?
- Answer by determining statistical significance using the teststatistic, degrees of freedom, and p-value.
- Answer substantive significance with difference in means andeffect size.
New York Attitudes:
The New York Chamber of Commerce has asked you to do a studyconcerning people's attitudes toward our city. As part of thestudy, you will ask them to rate their image of New York on a scalefrom 1 to 100 (1= awful city - call in the bulldozers; 100 =wonderful city - there is none better). Previous data show thisscale is normally distributed with a last known population averagerating of 50 and a standard deviation of 10.