Blog Archives

Convergence of a Series

November 12, 2014
By
Convergence of a Series

Let us explore using simulation some of the concepts of basic asymptotic theory as presented in Wooldridge 2012, Chapter 3.Definition: A sequence of nonrandom numbers {a_N:N=1,2,...} converges to a if for all epsilon>0 there exists N_epsilon such that N>N_epsilon, then $$|a_N - a|<epsilon$$Paraphrase: A sequence converges on point a, if you can choose any positive number (any epsilon...

Read more »

Make your own hotly criticised circle graph!!!

November 3, 2014
By
Make your own hotly criticised circle graph!!!

Make your own hotly criticized circle graph! The recent critical post on R-bloggers has got me wanting to make my own bubble graphs despite the popular criticism of the graph. After some attempts I have produced something that looks similar but needs s...

Read more »

Waterfall and 3D plotting exploration

October 9, 2014
By
Waterfall and 3D plotting exploration

Taking the very 'waterfall graph' code posted by Robert Grant I have added some features (resistance Overall I find the graphs produced from this code to be beautiful and fascinating though I am not sure if I would really use them as a form of data exp...

Read more »

Julia style string literal interpolation in R

October 8, 2014
By
Julia style string literal interpolation in R

I feel like a sculptor who has been using the same metal tools for the last four years and happened to have looked at my comrades and found them sporting new, sleek electric tools. Suddenly all of the hard work put into maintaining and adapting my meta...

Read more »

Ebola: Beds, Labs, and Warnings? Can they help? (Shiny App)

October 3, 2014
By
Ebola: Beds, Labs, and Warnings? Can they help? (Shiny App)

A month ago when the WHO was projecting estimates of the effect of current outbreak of Ebola being as deadly as affecting 20,000 people, I ran some elementary modelling and found that these estimates are far too small given the current trend.  The...

Read more »

How do you say π^π^π?

September 15, 2014
By
How do you say π^π^π?

Well, not that you really probably want to know how to say such an absurdly large number. However for those of you who are interested (allowing for rounding) it is:one quintillion, three hundred forty quadrillion, one hundred sixty-four trillion, one h...

Read more »

Fun with Bordered Cubes

September 9, 2014
By
Fun with Bordered Cubes

I am interested in generating 3D reasoning items in R. To this end I have adapted some of the awesome functions built in the rgl library to my ends. My new function is 'cube' and it takes position and automatically sizes itself as a 1x1x1 cube though t...

Read more »

1.2 Millions Deaths by Ebola projected within Six Months?

September 5, 2014
By
1.2 Millions Deaths by Ebola projected within Six Months?

The World Health Organization, Samaratins Purse, Doctors Without Borders, and other international medical emergency relief programs are desperately calling for additional resources in the international fight against Ebola that has already killed thousa...

Read more »

More Readable Code with Pipes in R

July 30, 2014
By
More Readable Code with Pipes in R

Several blog posts have made mention of the 'magrittr' package which allows functional arguments to be passed to functions in a pipes style fashion (David Smith ).This stylistic option has several advantages:  1. Reduced requirements of nested par...

Read more »

Making random draws from an arbitrarily defined pdf

July 23, 2014
By
Making random draws from an arbitrarily defined pdf

I recently found myself in need of a function to sample randomly from an arbitrarily defined probability density function. An excellent post by Quantitations shows how to accomplish this using some of Rs fairly sophisticated functional approximation to...

Read more »