Download presentation
Presentation is loading. Please wait.
Published byAustin Gilmore Modified over 9 years ago
1
Statistical vs. Computer Programming From page 1 of Braun and Murdoch: Statistical programming involves doing computations to aid in statistical analysis. For example, data must be summarized and displayed. Models must be fit to data, and the results displayed. These tasks can be done in a number of different computer applications: Microsoft Excel, SAS, SPSS, S-PLUS, R, Stata, etc. Using these applications is certainly statistical computing, and usually involves statistical programming, but it is not the focus of this book. In this book our aim is to provide a foundation for an understanding of how those applications work: what are the calculations they do, and how could you do them yourself. Since graphs play an important role in statistical analysis, drawing graphics of one, two or higher dimensional data is an aspect of statistical programming. Statistical programming is closely related to other forms of numerical programming. It involves optimization, and approximation of mathematical functions. There is less emphasis on differential equations than in physics or applied mathematics (though this is slowly changing). We tend to place more of an emphasis on the results and less on the analysis of the algorithms than in computer science. http://epbi-radivot.cwru.edu/EPBI415/syllabus2012.htm
2
R modifications (on Windows; redo after each upgrade) R gui Icon in quick launch: right click properties and add –no-save to target after quote Set start in to home directory C:\Program Files\R\R-2.14.1\etc\Rprofile.site # set a CRAN mirror local({r <- getOption("repos") r["CRAN"] <- "http://cran.case.edu" options(repos=r)}) C:\Program Files\R\R-2.14.1\etc\Rconsole # Dimensions (in characters) of the console. rows = 47 columns = 150 # Dimensions (in characters) of the internal pager. pgrows = 47 pgcolumns = 150
3
statET Eclipse plug-in statET Eclipse plug-in To install follow: http://lukemiller.org/index.php/2012/01/eclipse-and-statet-2-0-install-for-running-r/ and read StatET Installation directions at http://www.walware.de/http://www.walware.de/ Features Run R code `in Eclipse' by sending it to R. Syntax coloring of R key words. Ctrl-H to search all files in a folder Ctrl-A Ctrl-I to fix indentations Ctrl-R, 1 for help on highlighted Ctrl+Shift+C Toggle comment # Alt-shift-A = column selection editor mode Also see eclipseShortCuts.xls and R_Eclipse_StatET.pdf in week1 folder Get eclipse from http://www.eclipse.org/downloads/, unpack zip into a directory and make a quick launch to eclipse.exe.http://www.eclipse.org/downloads/
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.