1 / 12

Introduction to the R language

Introduction to the R language. Mathew Plucinski University of Cambridge / UC Berkeley. What is it. A free version of S+ Statistical programming Used extensively in computational biology, to a lesser extent in applied statistics, financial mathematics Interpretive language. Outline.

lena
Download Presentation

Introduction to the R language

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to the R language Mathew Plucinski University of Cambridge / UC Berkeley

  2. What is it • A free version of S+ • Statistical programming • Used extensively in computational biology, to a lesser extent in applied statistics, financial mathematics • Interpretive language

  3. Outline • Introduction to R Console • Basic arithmetic, working with vectors, and simple statistics • A more serious example – Gillespie Algorithm

  4. Stochastic, Discrete SIR model λI µ

  5. Stochastic, Discrete SIR model St,It,Rt

  6. Stochastic, Discrete SIR model Infection St,It,Rt Recovery

  7. Stochastic, Discrete SIR model Infection St,It,Rt Recovery

  8. Stochastic, Discrete SIR model St-1,It+1,Rt Infection St,It,Rt

  9. Stochastic, Discrete SIR model St-1,It+1,Rt Infection St,It,Rt Recovery

  10. Stochastic, Discrete SIR model St-1,It+1,Rt Infection St,It,Rt Recovery St,It-1,Rt+1

  11. Stochastic, Discrete SIR model St-1,It+1,Rt Rate: λStIt St,It,Rt Rate: µIt St,It-1,Rt+1

  12. Stochastic, Discrete SIR model St-1,It+1,Rt p=λStIt/(λStIt+ µIt) St,It,Rt St,It-1,Rt+1 p= µIt/(λStIt+ µIt)

More Related