Skip to Main Content
Data Analysis and Statistics for Geography, Environmental Science, and Engineering
book

Data Analysis and Statistics for Geography, Environmental Science, and Engineering

by Miguel F. Acevedo
December 2012
Beginner content levelBeginner
557 pages
19h 5m
English
CRC Press
Content preview from Data Analysis and Statistics for Geography, Environmental Science, and Engineering
162 Data Analysis and Statistics for Geography, Environmental Science, and Engineering
> table(cut(Temp, quantile(Temp)),cut(Ozone, quantile(Ozone,
na.rm=T)))
(1,18] (18,31.5] (31.5,63.3] (63.3,168]
(56,72] 17 10 5 0
(72,79] 10 10 5 1
(79,85] 4 6 14 6
(85,97] 0 0 5 22
>
We can see that higher Ozone is associated with higher Temp, which we can verify with c hisq.test
> chisq.test(table(cut(Temp, quantile(Temp)),cut(Ozone,
quantile(Ozone, na.rm=T))))
Pearson’s Chi-squared test
data: table(cut(Temp, quantile(Temp)), cut(Ozone, quantile(Ozone,
na.rm = T)))
X-squared = 83.3787, df = 9, p-value = 3.436e-14
Indeed, this very low p-value means we can reject ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Applied Modeling Techniques and Data Analysis 1

Applied Modeling Techniques and Data Analysis 1

Yannis Dimotikalis, Alex Karagrigoriou, Christina Parpoula, Christos H. Skiadas
Geospatial Data and Analysis

Geospatial Data and Analysis

Aurelia Moser, Jon Bruner, Bill Day

Publisher Resources

ISBN: 9781439885017