Question

The first column of each file is the date (YYYYMMDD), the second is high temperature, third is low temperature, and fourth is daily peak wind gust.

1) Determine how many days in each site had a daily high temperature that did not exceed freezing. Discuss the results based on the locations of the cities.

2) Using the KORD_spring file as a baseline, determine:

a) The probability of a daily high temperature below freezing.

b) The probability of a daily low temperature above freezing.
   
c) The probability of a daily high temperature above 35°F with a peak wind gust above 10 mph.

d) The probability of a daily high temperature above 45°F given a peak wind gust over 5 mph.

KORD_spring file
20121229 32 19.94 8.9
20121230 33.08 14 9.4
20121231 35.06 19.94 9.4
20130101 24.98 10.94 6.3
20130102 30.02 10.04 7.2
20130103 28.94 17.96 7.6
20130104 35.96 12.92 11.2
20130105 39.02 17.96 9.8
20130106 35.96 17.96 9.8
20130107 41 15.08 11.2
20130108 44.06 21.92 8.9
20130109 50 26.96 14.8
20130110 44.96 21.92 9.4
20130111 51.98 42.08 10.3
20130112 53.06 30.02 10.7
20130113 30.02 14 9.8
20130114 24.98 12.02 7.2
20130115 30.92 12.02 3.1
20130116 35.96 15.98 11.6
20130117 33.08 19.94 8
20130118 42.98 19.04 13.4
20130119 46.94 28.04 13
20130120 28.04 12.92 12.5
20130121 15.08 5 11.2
20130122 10.94 -0.94 7.2
20130123 23 10.04 10.7
20130124 21.92 3.92 8
20130125 28.94 17.96 7.6
20130126 28.04 12.92 6.3
20130127 37.04 23 10.7
20130128 48.02 37.04 8.1
20130129 62.96 39.02 10.7
20130130 44.06 21.02 12.5
20130131 21.02 6.08 10.7
20130201 14 -0.04 8.9
20130202 23 8.06 9.8
20130203 21.02 8.96 9.4
20130204 28.04 12.92 8
20130205 30.92 6.08 7.6
20130206 35.96 10.94 6.7
20130207 33.98 30.92 8
20130208 33.08 23 10.3
20130209 32 19.94 7.6
20130210 48.92 30.02 12.5
20130211 44.96 28.94 14.8
20130212 28.94 21.02 6.7
20130213 44.06 19.04 7.2
20130214 39.02 33.08 10.7
20130215 33.08 19.94 8.9
20130216 19.94 12.02 8.9
20130217 30.02 8.96 6.3
20130218 51.98 26.96 13.9
20130219 30.02 12.02 13.9
20130220 24.08 8.06 9.4
20130221 32 19.04 12.5
20130222 33.98 24.08 9.4
20130223 28.04 21.92 8
20130224 39.02 17.06 4
20130225 42.98 19.94 5.8
20130226 35.96 32 13
20130227 33.98 32 7.6
20130228 35.06 26.96 9.8
20130301 30.02 24.98 9.4
20130302 30.92 17.06 8
20130303 33.98 15.08 5.4
20130304 33.98 17.96 7.6
20130305 33.08 28.94 9.4
20130306 33.98 28.04 9.4
20130307 39.92 26.06 5.4
20130308 39.92 19.04 5.8
20130309 44.06 30.02 9.8
20130310 51.08 39.02 10.3
20130311 48.02 33.08 8
20130312 37.04 26.06 11.2
20130313 33.08 21.92 10.3
20130314 37.04 23 5.8
20130315 41 30.02 6.7
20130316 35.06 30.02 8.9
20130317 35.06 26.06 9.8
20130318 35.06 21.02 13.9
20130319 32 17.06 13.4
20130320 24.98 14 10.3
20130321 33.08 14 6.7
20130322 41 19.94 5.4
20130323 41 24.98 7.2
20130324 37.04 32 13.4
20130325 37.94 32 11.6
20130326 42.98 28.94 7.6
20130327 42.08 30.92 5.8
20130328 51.08 28.04 5.4
20130329 55.04 32 5.8
20130330 59 28.04 9.8
20130331 59 35.96 12.5


3) Using the KATL_spring, KBNA_spring, KJAN_spring, and KORD_spring files, which of these sites’ low temperature data is likely least correlated with the others? Provide the correlation for low temperatures between all possible pairs of sites to see if this is true. Briefly discuss the results.

KATL_spring
20121229 42.98 33.98 11.2
20121230 46.94 30.02 10.3
20121231 53.06 30.02 5.8
20130101 53.06 46.94 5.8
20130102 51.08 39.92 8.9
20130103 46.04 35.96 7.6
20130104 51.08 30.02 7.6
20130105 50 30.02 6.3
20130106 51.98 39.02 7.2
20130107 55.04 35.06 6.7
20130108 53.06 37.94 6.3
20130109 64.94 50 5.4
20130110 68 57.92 7.2
20130111 69.08 60.98 6.7
20130112 75.92 60.98 8
20130113 71.96 60.08 8
20130114 66.92 48.02 7.6
20130115 66.92 48.92 5.8
20130116 64.94 53.06 8.9
20130117 55.04 37.04 13.4
20130118 55.94 30.92 8
20130119 57.02 33.08 4
20130120 62.96 37.94 7.6
20130121 57.92 35.96 9.8
20130122 44.96 28.94 9.4
20130123 55.94 28.94 7.6
20130124 55.94 37.04 10.3
20130125 46.04 32 9.4
20130126 60.08 37.94 8
20130127 51.98 39.92 8
20130128 59 42.98 5.4
20130129 73.04 46.04 8.9
20130130 71.06 42.98 14.3
20130131 48.92 33.08 13.9
20130201 44.06 32 11.6
20130202 53.96 26.96 9.8
20130203 57.92 33.08 11.6
20130204 51.98 33.08 5.8
20130205 62.06 39.02 6.3
20130206 69.08 42.98 5.4
20130207 53.06 44.96 11.6
20130208 55.04 37.94 10.3
20130209 62.06 32 6.7
20130210 60.98 42.98 9.8
20130211 60.98 48.92 7.2
20130212 53.06 44.96 8
20130213 53.96 39.02 10.3
20130214 57.02 37.94 8
20130215 62.96 37.04 10.3
20130216 44.06 30.02 12.5
20130217 46.94 24.98 8
20130218 57.92 30.02 8.9
20130219 59 39.92 10.3
20130220 51.08 30.92 9.4
20130221 64.04 33.98 7.6
20130222 51.98 42.08 10.7
20130223 51.08 41 7.6
20130224 64.04 41 6.3
20130225 50 39.92 14.8
20130226 59 37.94 13
20130227 60.08 41 10.3
20130228 50 35.96 10.3
20130301 44.06 35.06 8
20130302 39.02 33.98 9.4
20130303 42.08 30.02 10.3
20130304 59 28.04 7.2
20130305 64.94 39.92 16.5
20130306 44.96 32 14.8
20130307 59 30.92 7.6
20130308 64.94 32 6.3
20130309 60.98 39.02 6.7
20130310 71.06 50 7.6
20130311 66.92 46.04 11.6
20130312 59 39.02 10.7
20130313 55.94 37.04 12.5
20130314 55.04 28.94 10.3
20130315 73.94 35.96 9.4
20130316 75.92 51.98 10.7
20130317 71.06 53.96 8
20130318 66.92 48.92 15.6
20130319 62.96 46.04 11.2
20130320 57.92 42.98 10.3
20130321 50 32 10.3
20130322 51.08 39.02 5.8
20130323 55.94 44.06 10.7
20130324 55.94 42.08 12.5
20130325 46.04 33.98 13.9
20130326 42.08 30.92 10.7
20130327 55.04 30.02 8
20130328 62.06 35.96 9.4
20130329 69.08 41 6.7
20130330 73.04 51.98 6.7
20130331 69.08 57.02 8.9

KBNA_spring
20121229 39.02 28.04 8
20121230 41 21.92 7.6
20121231 42.98 26.96 5.8
20130101 42.08 33.08 6.7
20130102 35.06 26.96 5.4
20130103 44.96 24.98 4
20130104 46.94 21.02 5.4
20130105 46.94 21.92 4.5
20130106 51.08 28.94 7.6
20130107 48.92 23 3.6
20130108 60.08 26.96 6.7
20130109 53.96 48.92 6.3
20130110 64.94 51.98 12.5
20130111 71.06 60.08 10.7
20130112 69.98 64.94 10.7
20130113 68 35.96 10.7
20130114 35.96 28.04 9.8
20130115 35.06 30.02 8.9
20130116 35.96 33.08 5.4
20130117 46.94 33.08 13.9
20130118 51.08 26.06 4
20130119 57.02 28.04 8.9
20130120 55.04 33.08 5.4
20130121 39.92 24.08 8
20130122 30.92 17.96 5.8
20130123 53.06 23 6.3
20130124 42.98 28.04 9.4
20130125 37.94 30.02 8
20130126 48.92 28.94 4
20130127 51.08 28.04 7.6
20130128 60.08 48.02 8.9
20130129 69.98 53.96 14.3
20130130 73.04 35.96 20.1
20130131 46.94 30.92 9.4
20130201 30.92 17.06 9.4
20130202 44.06 23 7.2
20130203 48.02 28.04 9.4
20130204 59 26.96 9.8
20130205 64.04 41 5.8
20130206 59 35.06 3.6
20130207 64.04 41 7.2
20130208 51.98 35.06 8
20130209 53.06 33.98 6.7
20130210 60.08 46.94 14.3
20130211 59 41 6.7
20130212 53.06 35.06 5.4
20130213 44.06 33.08 7.6
20130214 62.06 30.02 6.7
20130215 51.98 30.92 7.6
20130216 41 24.08 8.9
20130217 48.02 19.04 4
20130218 62.96 33.98 14.8
20130219 48.92 33.98 10.3
20130220 35.96 24.08 5.8
20130221 48.02 24.98 7.6
20130222 62.06 44.06 8
20130223 53.96 35.96 5.8
20130224 55.04 30.02 5.4
20130225 66.02 33.98 9.4
20130226 53.96 39.02 10.7
20130227 41 39.02 7.6
20130228 41 33.98 6.7
20130301 39.92 33.08 5.4
20130302 35.06 30.02 6.7
20130303 44.06 24.98 6.3
20130304 57.92 33.08 8.9
20130305 55.94 33.08 11.6
20130306 42.08 30.02 10.3
20130307 44.06 30.02 5.4
20130308 57.92 26.96 5.4
20130309 68 37.94 7.6
20130310 71.96 55.94 13.4
20130311 60.98 39.92 11.2
20130312 55.94 35.96 6.3
20130313 44.96 28.04 9.4
20130314 51.98 23 5.4
20130315 75.92 33.08 7.6
20130316 78.08 53.06 8
20130317 62.96 48.02 8.9
20130318 64.94 42.98 11.2
20130319 55.94 33.98 7.2
20130320 55.04 26.96 10.3
20130321 44.96 21.92 6.3
20130322 46.94 32 4
20130323 55.04 41 5.8
20130324 60.08 35.96 13.4
20130325 39.02 33.08 10.7
20130326 39.92 32 6.7
20130327 53.06 28.04 6.3
20130328 62.06 33.08 9.4
20130329 51.08 44.06 5.4
20130330 60.08 46.04 4.5
20130331 57.92 41 5.8

KJAN_spring
20121229 44.96 28.94 8.9
20121230 50 21.92 5.4
20121231 57.02 33.08 6.7
20130101 60.08 41 8.9
20130102 41 35.06 6.3
20130103 48.02 32 6.7
20130104 53.06 28.94 5.4
20130105 48.02 33.98 4
20130106 53.06 32 5.8
20130107 57.02 30.02 4.5
20130108 62.96 37.04 4.5
20130109 64.04 55.94 6.7
20130110 69.08 60.08 13.9
20130111 69.08 60.98 6.3
20130112 78.08 68 11.2
20130113 75.02 42.08 13.9
20130114 42.98 33.08 9.4
20130115 39.02 35.06 6.7
20130116 35.96 33.98 6.3
20130117 50 32 8
20130118 57.02 28.04 7.2
20130119 60.98 28.94 5.8
20130120 64.94 30.92 3.1
20130121 57.92 33.98 6.7
20130122 50 32 5.4
20130123 68 35.06 6.3
20130124 66.92 44.96 4
20130125 75.02 53.06 10.7
20130126 53.96 46.04 4.5
20130127 73.94 46.94 8
20130128 71.96 55.94 7.6
20130129 78.08 62.96 13.9
20130130 73.94 39.02 13.4
20130131 59 30.92 6.3
20130201 51.98 35.06 6.7
20130202 69.08 33.08 8.9
20130203 66.02 33.08 8
20130204 59 39.02 5.4
20130205 64.04 44.96 4
20130206 69.08 42.08 7.6
20130207 69.08 48.92 3.1
20130208 59 42.08 7.2
20130209 62.96 33.98 5.8
20130210 64.04 53.06 10.3
20130211 60.98 50 6.7
20130212 53.96 48.02 15.6
20130213 51.08 33.98 8
20130214 60.08 30.02 3.1
20130215 62.06 33.08 7.2
20130216 48.02 28.04 8.9
20130217 60.08 26.06 6.7
20130218 66.92 37.94 13.9
20130219 57.92 35.06 9.4
20130220 55.04 33.08 6.7
20130221 64.04 42.08 11.2
20130222 64.04 46.04 7.6
20130223 59 37.94 8.9
20130224 69.08 35.06 6.3
20130225 64.04 51.98 17.4
20130226 57.02 33.98 9.8
20130227 62.06 32 8
20130228 53.96 33.98 8.9
20130301 48.02 28.94 7.6
20130302 39.02 26.96 8.9
20130303 53.06 21.92 4.5
20130304 71.06 33.98 12.1
20130305 69.08 44.96 12.5
20130306 53.06 33.08 9.4
20130307 60.08 33.08 4.5
20130308 69.98 32 4
20130309 75.02 46.94 10.7
20130310 77 53.06 14.8
20130311 57.02 37.04 9.8
20130312 64.04 33.08 7.2
20130313 59 37.04 9.4
20130314 68 33.98 4.5
20130315 78.08 42.98 7.6
20130316 78.98 51.08 9.4
20130317 78.08 50 8.9
20130318 84.02 51.98 13
20130319 69.98 44.96 7.2
20130320 66.02 42.08 8.9
20130321 60.08 37.94 6.3
20130322 53.96 42.08 6.3
20130323 75.02 53.96 9.4
20130324 57.92 39.02 9.8
20130325 51.98 33.98 10.3
20130326 48.92 30.02 7.6
20130327 60.08 26.96 3.1
20130328 69.98 33.08 4
20130329 75.02 44.06 8
20130330 73.04 51.08 9.8
20130331 71.06 51.98 8.9

Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

# 1)
katl <- read.table("KATL_spring.txt", col.names=c("date","high","low","windGust"))
kbna <- read.table("KBNA_spring.txt", col.names=c("date","high","low","windGust"))
kjan <- read.table("KJAN_spring.txt", col.names=c("date","high","low","windGust"))
kord <- read.table("KORD_spring.txt", col.names=c("date","high","low","windGust"))

table( katl$high<=32 ) # true if the high temperature is less than or equal to 32
# FALSE
# 93
table( kbna$high<=32 )
# FALSE TRUE
# 91    2
table( kjan$high<=32 )
# FALSE
# 93...

This is only a preview of the solution. Please use the purchase button to see the entire solution

Assisting Tutor

Related Homework Solutions

Biostatistics Questions: Principal Component Analysis
Homework Solution
$58.00
Biostatistics
Mathematics
Principal Component Analysis
Programming
Computer Science
Data
Iris Set
Matrices
Covariance
Normalization
Eigenvector
Variables
Summary
Commands
Codes
Sepal Shape
Documentation
R Programming Problems
Homework Solution
$43.00
Mathematics
Statistics
Computer Science
R Programming
Smokers
Studies
Codes
Surveys
F-Tests
Plots
Commands
Regression Variables
Libraries
Regions
Linear Regression Questions
Homework Solution
$48.00
Mathematics
Statistics
Linear Regression
Samples
P-Values
Probability
Injuries
Tables
Predictors
Variances
Null Hypothesis
Significance Level
Regression Problems
Homework Solution
$63.00
Mathematics
Statistics
Regression
Temperatures
Data Sets
R Programming
Functions
Plots
Alternative Hypothesis
Null Hypothesis
Z-Test Statistics
P-Values
Model Fit
Space Shuttle Challenger
Probability
Statistics - R Programming Questions
Homework Solution
$28.00
Mathematics
Statistics
R Programming
Pearson Correlation
Bootstrap Samples
Histogram
Sampling Distribution
Confidence Interval
Confidence Limits
P-Value
Expected Counts
Observed Counts
Chi Square Test
Function Summary
R Programming Problems
Homework Solution
$75.00
Statistics
R Programming
Mathematics
Codes
Functions
Data Sets
US
Graphics
Density
Predictors
Reports
Columns
Counts
Tables
Get help from a qualified tutor
Live Chats