IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v026i07.html
   My bibliography  Save this article

Caching and Distributing Statistical Analyses in R

Author

Listed:
  • Peng, Roger

Abstract

We present the cacher package for R, which provides tools for caching statistical analyses and for distributing these analyses to others in an efficient manner. The cacher package takes objects created by evaluating R expressions and stores them in key-value databases. These databases of cached objects can subsequently be assembled into packages for distribution over the web. The cacher package also provides tools to help readers examine the data and code in a statistical analysis and reproduce, modify, or improve upon the results. In addition, readers can easily conduct alternate analyses of the data. We describe the design and implementation of the cacher package and provide two examples of how the package can be used for reproducible research.

Suggested Citation

  • Peng, Roger, 2008. "Caching and Distributing Statistical Analyses in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 26(i07).
  • Handle: RePEc:jss:jstsof:v:026:i07
    DOI: http://hdl.handle.net/10.18637/jss.v026.i07
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v026i07/v26i07.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v026i07/cacher_1.0.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v026i07/v26i07.R.zip
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v026i07/v26i07-data.zip
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v026.i07?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. P. J. Everson & C. N. Morris, 2000. "Inference for multivariate normal hierarchical models," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 62(2), pages 399-412.
    2. Francesca Dominici & Jonathan M. Samet & Scott L. Zeger, 2000. "Combining evidence on air pollution and daily mortality from the 20 largest US cities: a hierarchical modelling strategy," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 163(3), pages 263-302.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Rufibach Kaspar, 2012. "A Smooth ROC Curve Estimator Based on Log-Concave Density Estimates," The International Journal of Biostatistics, De Gruyter, vol. 8(1), pages 1-29, April.
    2. repec:jss:jstsof:29:b07 is not listed on IDEAS
    3. de Leeuw, Jan, 2009. "Statistical Methods for Environmental Epidemiology with R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 29(b07).

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. repec:jss:jstsof:26:i07 is not listed on IDEAS
    2. Roger D. Peng & Francesca Dominici & Thomas A. Louis, 2006. "Model choice in time series studies of air pollution and mortality," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 169(2), pages 179-203, March.
    3. Francesca Dominici & Lianne Sheppard & Merlise Clyde, 2003. "Health Effects of Air Pollution: A Statistical Review," International Statistical Review, International Statistical Institute, vol. 71(2), pages 243-276, August.
    4. Roger Peng & Leah Welty & Aidan McDermott, 2004. "The National Morbidity, Mortality, and Air Pollution Study Database in R," Johns Hopkins University Dept. of Biostatistics Working Paper Series 1044, Berkeley Electronic Press.
    5. Burr, Wesley S. & Shin, Hwashin H. & Takahara, Glen, 2019. "Synthetically lagged models," Statistics & Probability Letters, Elsevier, vol. 144(C), pages 37-43.
    6. G. Brooke Anderson & Keith W. Oleson & Bryan Jones & Roger D. Peng, 2018. "Classifying heatwaves: developing health-based models to predict high-mortality versus moderate United States heatwaves," Climatic Change, Springer, vol. 146(3), pages 439-453, February.
    7. Koop, Gary & Tole, Lise, 2004. "Measuring the health effects of air pollution: to what extent can we really say that people are dying from bad air?," Journal of Environmental Economics and Management, Elsevier, vol. 47(1), pages 30-54, January.
    8. Theophilus I. Emeto & Oyelola A. Adegboye & Reza A. Rumi & Mahboob-Ul I. Khan & Majeed Adegboye & Wasif A. Khan & Mahmudur Rahman & Peter K. Streatfield & Kazi M. Rahman, 2020. "Disparities in Risks of Malaria Associated with Climatic Variability among Women, Children and Elderly in the Chittagong Hill Tracts of Bangladesh," IJERPH, MDPI, vol. 17(24), pages 1-15, December.
    9. Roger Peng & Francesca Dominici & Roberto Pastor-Barriuso & Scott Zeger & Jonathan Samet, 2004. "Seasonal Analyses of Air Pollution and Mortality in 100 U.S. Cities," Johns Hopkins University Dept. of Biostatistics Working Paper Series 1041, Berkeley Electronic Press.
    10. Vera Ling Hui Phung & Kayo Ueda & Shunji Kasaoka & Xerxes Seposo & Saira Tasmin & Shinichi Yonemochi & Arthit Phosri & Akiko Honda & Hirohisa Takano & Takehiro Michikawa & Hiroshi Nitta, 2018. "Acute Effects of Ambient PM 2.5 on All-Cause and Cause-Specific Emergency Ambulance Dispatches in Japan," IJERPH, MDPI, vol. 15(2), pages 1-12, February.
    11. Wong, Heung & Shao, Quanxi & Ip, Wai-cheung, 2013. "Modeling respiratory illnesses with change point: A lesson from the SARS epidemic in Hong Kong," Computational Statistics & Data Analysis, Elsevier, vol. 57(1), pages 589-599.
    12. Berger, James O. & Sun, Dongchu & Song, Chengyuan, 2020. "An objective prior for hyperparameters in normal hierarchical models," Journal of Multivariate Analysis, Elsevier, vol. 178(C).
    13. Howard H. Chang & Jingwen Zhou & Montserrat Fuentes, 2010. "Impact of Climate Change on Ambient Ozone Level and Mortality in Southeastern United States," IJERPH, MDPI, vol. 7(7), pages 1-15, July.
    14. Joshua Graff Zivin & Matthew Neidell, 2013. "Environment, Health, and Human Capital," Journal of Economic Literature, American Economic Association, vol. 51(3), pages 689-730, September.
    15. Chi Wang & Giovanni Parmigiani & Francesca Dominici, 2012. "Bayesian Effect Estimation Accounting for Adjustment Uncertainty," Biometrics, The International Biometric Society, vol. 68(3), pages 661-671, September.
    16. Duncan Lee & Claire Ferguson & E. Marian Scott, 2011. "Constructing representative air quality indicators with measures of uncertainty," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 174(1), pages 109-126, January.
    17. Xavier Pautrel, 2007. "Environmental Policy, Health and Long-Run," Energy and Environmental Modeling 2007 24000048, EcoMod.
    18. Figueroa-Zúñiga, Jorge I. & Arellano-Valle, Reinaldo B. & Ferrari, Silvia L.P., 2013. "Mixed beta regression: A Bayesian perspective," Computational Statistics & Data Analysis, Elsevier, vol. 61(C), pages 137-147.
    19. Enrico Moretti & Matthew Neidell, 2011. "Pollution, Health, and Avoidance Behavior: Evidence from the Ports of Los Angeles," Journal of Human Resources, University of Wisconsin Press, vol. 46(1), pages 154-175.
    20. Hwashin Hyun Shin & Dave Stieb & Rick Burnett & Glen Takahara & Barry Jessiman, 2012. "Tracking National and Regional Spatial‐Temporal Mortality Risk Associated with NO2 Concentrations in Canada: A Bayesian Hierarchical Two‐Level Model," Risk Analysis, John Wiley & Sons, vol. 32(3), pages 513-530, March.
    21. Cutter, W. Bowman & Neidell, Matthew, 2009. "Voluntary information programs and environmental regulation: Evidence from 'Spare the Air'," Journal of Environmental Economics and Management, Elsevier, vol. 58(3), pages 253-265, November.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:026:i07. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.