using r to enhance numeracy in geography: some pros and cons
DESCRIPTION
A short presentation for the 2011 Geography, Earth and Environmental Sciences conference (Teaching and Learning for GEES Students, Birmingham) exploring how R might help improve the statistical numeracy of undergraduate students.TRANSCRIPT
![Page 1: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/1.jpg)
Using R to enhance numeracy in geography:
some pros and cons
Rich Harriswww.social-statistic.org
@socstatistics
Using R to enhance numeracy in geography: some pros and cons by Richard Harris / University of Bristol is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
![Page 2: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/2.jpg)
From my office door
A society in which our lives and choices are enriched by an understanding of statistics– getstats.org.uk
A little idealistic but…
![Page 3: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/3.jpg)
The Crisis of Numeracy
To unravel the complexities of society requires a highly skilled research base, equipped with suitable tools and techniques, most notably advanced quantitative methods […] Yet there are persistent concerns that the UK lacks the critical mass to satisfy such demand.
– ESRC document (2011)
![Page 4: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/4.jpg)
How can R help?
Broadly intuitiveStrong focus on graphicsIt has in build good practiceIt’s free and cross-platform– http://cran.r-project.org/
Extendable and customisable– Libraries for mapping, spatial
statistics, spatial regression, geostatistics, etc.
Large user community
![Page 5: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/5.jpg)
It’s not esoteric!
“R is used at the world’s largest technology companies (including Google, Microsoft and Facebook), the largest pharmaceutical companies (including Johnson & Johnson, Merck, and Pfizer), and at hundreds of other companies. It’s used in statistics classes at universities around the world and be statistical researchers to try new techniques and algorithms”– Adler (2010)
![Page 6: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/6.jpg)
Example graphic made in R:Guardian league table rankings
by University
![Page 7: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/7.jpg)
Reading data into R
![Page 8: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/8.jpg)
Exploring the data
![Page 9: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/9.jpg)
Pseudo-code &Simple descriptive statistics
![Page 10: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/10.jpg)
Manipulating the data
![Page 11: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/11.jpg)
Inferential statistics
![Page 12: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/12.jpg)
Relational statistics
![Page 13: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/13.jpg)
Mapping(this is where it gets interesting!)
![Page 14: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/14.jpg)
Some pros
Command line– Faster, pedagogically superior (learning by
doing, no dumb button pushing!)
Keeps a clear log of what’s been tried– Which could be re-run as a script
Graphics are of publishable quality and easy to customiseInteractiveExtensive help documentationRealistic exposure to research level computing environment
![Page 15: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/15.jpg)
Some cons
Risk of automated copying by scripts– I always create individualised data for
assessed project work
Pigeon English is hard for overseas students– There is native language support
Will often allow you to make errors!Isn’t a software package that will mean much to most employers– Though the skill of statistical computing
may be more credible
![Page 16: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/16.jpg)
In general
“R is very good at plotting graphics, analyzing data, and fitting statistical models using data that fits in the computer’s memory. It’s not good at storing data in complicated structures, efficiently querying data, or working with data that doesn’t fit in the computer’s memory.”– Adler (2010)
![Page 17: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/17.jpg)
Integration into the curriculum at Bristol School
of Geographical Sciences
![Page 18: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/18.jpg)
Resources
Books & Manuals for R– http://cran.r-project.org/– Using R for Introductory Statistics (Verzani, 2004)– Statistics: An Introduction Using R (Crawley, 2005)– R in a Nutshell (Adler, 2009)– The UseR series
¿ http://www.springer.com/series/6991
Integration of R with Excel– http://www.statconn.com/
https://stat.ethz.ch/mailman/listinfo/r-sig-teaching¿ Special Interest Group (SIG) on teaching statistics with R.
One particular focus of the SIG is to provide helpful support to instructors new to R who are teaching introductory statistics courses populated with students with little experience in statistics, statistical software, and command line interfaces.
![Page 19: Using R to enhance numeracy in geography: some pros and cons](https://reader033.vdocuments.net/reader033/viewer/2022052900/5559e980d8b42a39498b5117/html5/thumbnails/19.jpg)
And of course…
Workshop tomorrow– 13.30 – 15.00
(Horton B)
Teaching material– www.social-
statistics.org– From late 2011
onwards