Modeling Pandemics (3)

March 20, 2020 | 0 Comments

In Statistical Inference in a Stochastic Epidemic SEIR Model with Control Intervention, a more complex model than the one we’ve seen yesterday was considered (and is called the SEIR model). Consider a population of size , and assume that is the number of susceptible, the number of exposed, the number ...
[Read more...]

Modeling pandemics (2)

March 20, 2020 | 0 Comments

When introducing the SIR model, in our initial post, we got an ordinary differential equation, but we did not really discuss stability, and periodicity. It has to do with the Jacobian matrix of the system. But first of all, we had three equations for three function, but actuallyso it means ...
[Read more...]

3 Free Resources to Learn R – Now Open

March 19, 2020 | 0 Comments

The coronavirus (COVID-19) is changing our living and working lives. Social distancing is the new norm for many, and each country is dealing with this situation differently. But, we are all in this together and we will get through this together. I wan...
[Read more...]

Modeling pandemics (1)

March 19, 2020 | 0 Comments

The most popular model to model epidemics is the so-called SIR model – or Kermack-McKendrick. Consider a population of size , and assume that is the number of susceptible, the number of infectious, and for the number recovered (or immune) individuals, so that which implies that . In order to be more realistic, ...
[Read more...]

A case for the assign() function

March 19, 2020 | 0 Comments

In R, assign() is one of those functions that common wisdom says you shouldn’t be using. My aim in this blog post is to convince you that assign() can be very handy. The pharmaceutical industry, which I work in, is still SAS dominated so my primary data source at ... [Read more...]

Rebalancing history

March 19, 2020 | 0 Comments

Our last post on rebalancing struck an equivocal note. We ran a thousand simulations using historical averages across different rebalancing regimes to test whether rebalancing produced better absolute or risk-adjusted returns. The results suggested it did not. But we noted many problems with the tests—namely, unrealistic return distributions and ...
[Read more...]

RProtoBuf 0.4.16: Now with JSON

March 19, 2020 | 0 Comments

A new release 0.4.16 of RProtoBuf is now on CRAN. RProtoBuf provides R with bindings for the Google Protocol Buffers (“ProtoBuf”) data encoding and serialization library used and released by Google, and deployed very widely in numerous projects a... [Read more...]

Shiny: Performance tuning with future & promises – Part 1

March 19, 2020 | 0 Comments

In our previous article about Shiny we shared our experiences with load testing and horizontal scaling of apps. We showed the design of a process from a proof of concept to a company-wide application. The second part of the blog series focuses on the R packages future & promises, which are ...
[Read more...]

Extended floating point precision in R with Rmpfr

March 18, 2020 | 0 Comments

I learnt from a recent post on John Cook’s excellent blog that it’s really easy to do extended floating point computations in R using the Rmpfr package. Rmpfr is R’s wrapper around the C library MPFR, which stands for “Multiple … Continue reading →
[Read more...]

COVID-19 Tracker: Days since N

March 18, 2020 | 0 Comments

There’s no shortage of dashboards and data-visualizations covering some aspect of the ongoing coronavirus pandemic, but not having come across a tool that allowed me to easily compare countries myself, I developed this COVID-19 Tracker shiny app both...
[Read more...]

parzer: Parse Messy Geographic Coordinates

March 18, 2020 | 0 Comments

parzer is a new package for handling messy geographic coordinates. The first version is now on CRAN, with binaries coming soon hopefully (see note about installation below). The package recently completed rOpenSci review. parzer motivation The idea for this package started with a tweet from Noam Ross (https://twitter.com/... [Read more...]

Simulating COVID-19 interventions with R

March 18, 2020 | 0 Comments

Tim Churches is a Senior Research Fellow at the UNSW Medicine South Western Sydney Clinical School at Liverpool Hospital, and a health data scientist at the Ingham Institute for Applied Medical Research. This post examines simulation of COVID-19 spread using R, and how such simulations can be used to understand ...
[Read more...]

nnlib2Rcpp: a(nother) R package for Neural Networks

March 18, 2020 | 0 Comments

For anyone interested, nnlib2Rcpp is an R package containing a number of Neural Network implementations and is available on GitHub. It can be installed as follows (the usual way for packages on GitHub): library(devtools) install_github("VNNikolaidis/nnlib2Rcpp") The NNs are implemented in C++ (using  nnlib2 C++ ... [Read more...]

RcppCCTZ 0.2.7

March 18, 2020 | 0 Comments

A new release 0.2.7 of RcppCCTZ is now at CRAN. RcppCCTZ uses Rcpp to bring CCTZ to R. CCTZ is a C++ library for translating between absolute and civil times using the rules of a time zone. In fact, it is two libraries. One for dealing with civil tim... [Read more...]
1 43 44 45 46 47 1,663