R (programming language): Difference between revisions
Jump to navigation
Jump to search
imported>Robert Badgett No edit summary |
imported>Robert Badgett |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{subpages}} | |||
'''R''' is an open source programming language for statistical analysis and graphics. | '''R''' is an open source programming language for statistical analysis and graphics. | ||
Its software and manual are online at http://cran.r-project.org/. | Its software and manual are online at http://cran.r-project.org/. Third party books are available for learning R.<ref name="isbn1-4200-7933-6">{{cite book |author=Torsten Hothorn; Everitt, Brian |authorlink= |editor= |others= |title=A Handbook of Statistical Analyses Using R, Second Edition |edition= |language= |publisher=Chapman & Hall/CRC |location=Boca Raton |year=2009 |origyear= |pages= |quote= |isbn=1-4200-7933-6 |oclc= |doi= |url= |accessdate=}}</ref><ref name="isbn0-387-79053-5">{{Cite book | author = Dalgaard, Peter | title = Introductory Statistics with R (Statistics and Computing) | date = | publisher = Springer | location =New York | isbn = 0-387-79053-5 | pages = }}</ref> | ||
Graphical interfaces are available: | |||
* [http://cran.r-project.org/web/packages/Rcmdr/ R Commander] | |||
* [http://cran.r-project.org/web/packages/Deducer/ Deducer] | |||
==Uses== | ==Uses== | ||
===Statistics=== | ===Statistics=== | ||
An interactive package for instructions (12 pages) on using R for statistics is available<ref name="urlCRAN - Package HSAUR2">{{cite web |url=http://cran.r-project.org/web/packages/HSAUR2/ |title=CRAN - Package HSAUR, 2nd ed |author=Torsten Hothorn; Everitt, Brian |authorlink= |coauthors= |date= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= |accessdate=}}</ref> with a commercial book for further detail (376 pages).<ref name="isbn1-4200-7933-6">{{cite book |author=Torsten Hothorn; Everitt, Brian |authorlink= |editor= |others= |title=A Handbook of Statistical Analyses Using R, Second Edition |edition= |language= |publisher=Chapman & Hall/CRC |location=Boca Raton |year=2009 |origyear= |pages= |quote= |isbn=1-4200-7933-6 |oclc= |doi= |url= |accessdate=}}</ref> | An interactive package for instructions (12 pages) on using R for statistics is available<ref name="urlCRAN - Package HSAUR2">{{cite web |url=http://cran.r-project.org/web/packages/HSAUR2/ |title=CRAN - Package HSAUR, 2nd ed |author=Torsten Hothorn; Everitt, Brian |authorlink= |coauthors= |date= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= |accessdate=}}</ref> with a commercial book for further detail (376 pages).<ref name="isbn1-4200-7933-6">{{cite book |author=Torsten Hothorn; Everitt, Brian |authorlink= |editor= |others= |title=A Handbook of Statistical Analyses Using R, Second Edition |edition= |language= |publisher=Chapman & Hall/CRC |location=Boca Raton |year=2009 |origyear= |pages= |quote= |isbn=1-4200-7933-6 |oclc= |doi= |url= |accessdate=}}</ref> | ||
====Mantel-Haenszel Chi-square Test==== | |||
<ref>Noguchi K, et al. [http://cran.r-project.org/web/packages/lawstat/ lawstat: An R package for biostatistics, public policy, and law]</ref><ref>[http://cran.r-project.org/web/packages/lawstat/ Cochran-Mantel-Haenszel Chi-Squared Test for Count Data]</ref> | |||
====Simple statistical inference==== | |||
Basic tests, such as T-test, chi-square and others are described in the Chapter, "Chapter Simple Inference", of http://cran.r-project.org/web/packages/HSAUR2/. | |||
====Regression==== | |||
=====Non-linear===== | |||
* [http://cran.r-project.org/web/packages/nlrwr/ Nonlinear regression with R] | |||
* [http://cran.r-project.org/web/packages/nlme/ Linear and Nonlinear Mixed Effects Models] | |||
* [http://cran.r-project.org/web/packages/nls2/ Non-linear regression with brute force] | |||
* [http://cran.r-project.org/web/packages/drc/ Linear and Nonlinear Mixed Effects Models] | |||
* [http://cran.r-project.org/web/packages/nlreg/ Higher Order Inference for Nonlinear Heteroscedastic Models] | |||
* [http://cran.r-project.org/web/packages/nlstools/ Tools for nonlinear regression diagnostics] | |||
====Diagnosis==== | |||
Relevant packages include http://cran.r-project.org/web/packages/ROCR/ and http://cran.r-project.org/web/packages/DiagnosisMed/. | |||
====Meta-analysis==== | ====Meta-analysis==== | ||
* Meta-analysis of treatments | |||
** [http://cran.r-project.org/web/packages/rmeta/ rmeta] | |||
** [http://cran.r-project.org/web/packages/HSAUR2/ HSAUR2] interactive package with a chapter containing sample demonstrations, "[http://cran.r-project.org/web/packages/HSAUR2/vignettes/Ch_meta_analysis.pdf Meta-Analysis: Nicotine Gum and Smoking Cessation and the Effcacy of BCG Vaccine in the Treatment of Tuberculosis]" in "A Handbook of Statistical Analyses Using R".<ref name="urlCRAN - Package HSAUR2">{{cite web |url=http://cran.r-project.org/web/packages/HSAUR2/ |title=CRAN - Package HSAUR, 2nd ed |author=Torsten Hothorn; Everitt, Brian |authorlink= |coauthors= |date= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= |accessdate=}}</ref> | |||
** [http://cran.r-project.org/web/packages/metafor/ metafor] package with [http://cran.r-project.org/web/packages/metafor/metafor.pdf manual].<ref>Viechtbauer, W. (2010). [http://www.jstatsoft.org/v36/i03/ Conducting meta-analyses in R with the metafor package]. Journal of Statistical Software, 36(3), 1-48.</ref> Additional information is at http://www.metafor-project.org. | |||
*Meta-analysis of diagnostic test accuracy | |||
** hierarchical summary ROC | |||
====Recursive partitioning==== | |||
* [http://cran.r-project.org/web/packages/rpart/ rpart package] | |||
* [http://cran.r-project.org/web/packages/HSAUR2/ HSAUR2] interactive package with a chapter containing sample demonstrations, "[http://cran.r-project.org/web/packages/HSAUR2/vignettes/Ch_recursive_partitioning.pdf Recursive Partitioning: Predicting Body Fat and Glaucoma Diagnosis]" in "A Handbook of Statistical Analyses Using R".<ref name="urlCRAN - Package HSAUR2">{{cite web |url=http://cran.r-project.org/web/packages/HSAUR2/ |title=CRAN - Package HSAUR, 2nd ed |author=Torsten Hothorn; Everitt, Brian |authorlink= |coauthors= |date= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= |accessdate=}}</ref> | |||
==References== | ==References== | ||
<references/> | <references/> |
Latest revision as of 10:50, 1 July 2012
R is an open source programming language for statistical analysis and graphics.
Its software and manual are online at http://cran.r-project.org/. Third party books are available for learning R.[1][2]
Graphical interfaces are available:
Uses
Statistics
An interactive package for instructions (12 pages) on using R for statistics is available[3] with a commercial book for further detail (376 pages).[1]
Mantel-Haenszel Chi-square Test
Simple statistical inference
Basic tests, such as T-test, chi-square and others are described in the Chapter, "Chapter Simple Inference", of http://cran.r-project.org/web/packages/HSAUR2/.
Regression
Non-linear
- Nonlinear regression with R
- Linear and Nonlinear Mixed Effects Models
- Non-linear regression with brute force
- Linear and Nonlinear Mixed Effects Models
- Higher Order Inference for Nonlinear Heteroscedastic Models
- Tools for nonlinear regression diagnostics
Diagnosis
Relevant packages include http://cran.r-project.org/web/packages/ROCR/ and http://cran.r-project.org/web/packages/DiagnosisMed/.
Meta-analysis
- Meta-analysis of treatments
- rmeta
- HSAUR2 interactive package with a chapter containing sample demonstrations, "Meta-Analysis: Nicotine Gum and Smoking Cessation and the Effcacy of BCG Vaccine in the Treatment of Tuberculosis" in "A Handbook of Statistical Analyses Using R".[3]
- metafor package with manual.[6] Additional information is at http://www.metafor-project.org.
- Meta-analysis of diagnostic test accuracy
- hierarchical summary ROC
Recursive partitioning
- rpart package
- HSAUR2 interactive package with a chapter containing sample demonstrations, "Recursive Partitioning: Predicting Body Fat and Glaucoma Diagnosis" in "A Handbook of Statistical Analyses Using R".[3]
References
- ↑ 1.0 1.1 Torsten Hothorn; Everitt, Brian (2009). A Handbook of Statistical Analyses Using R, Second Edition. Boca Raton: Chapman & Hall/CRC. ISBN 1-4200-7933-6.
- ↑ Dalgaard, Peter. Introductory Statistics with R (Statistics and Computing). New York: Springer. ISBN 0-387-79053-5.
- ↑ 3.0 3.1 3.2 Torsten Hothorn; Everitt, Brian. CRAN - Package HSAUR, 2nd ed.
- ↑ Noguchi K, et al. lawstat: An R package for biostatistics, public policy, and law
- ↑ Cochran-Mantel-Haenszel Chi-Squared Test for Count Data
- ↑ Viechtbauer, W. (2010). Conducting meta-analyses in R with the metafor package. Journal of Statistical Software, 36(3), 1-48.