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
115Exploratory Analysis and Introduction to Inferential Statistics
# standardize observations before plot
z <- (x-mean(x))/sd(x); plot(ecdf(z))
# plot theoretical standard normal N(0,1)
Z <- seq(-4,+4,0.1); lines(Z, pnorm(Z,0,1),lwd=2)
See Figure 4.4b. In the graph, we can see how well or not the cdf of the data (the empirical cdf) fol-
lows the expected or theoretical cdf for the normal distribution.
4.8.5 functions
We can enhance existing R functions by creating additional functions. When we develop a program
into a function with proper arguments, it will allow using the program without rewriting all the
statements. One can edit a function in a ...
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