Posts Tagged ‘ Python ’

Estimating required hospital bed capacity

July 23, 2012
By
Estimating required hospital bed capacity

Estimating required hospital bed capacity requires a thorough analysis. There are a lot of ways of approaching a capacity requirement problem, but I think we can agree that a simple spreadsheet analysis just won't cut it. The approach described in this post makes use of discrete-event simulation and, just to  Read...

Read more »

Using discrete-event simulation to simulate hospital processes

July 12, 2012
By
Using discrete-event simulation to simulate hospital processes

Discrete-event simulation is a very useful tool when it comes to simulating alternative scenario’s for current of future business operations. Let’s take the following case; Patients of an outpatient diabetes clinic are complaining about long waiting times, this seems to have an adverse effect on patient satisfaction and patient retention.  Read more »

R/Python Web Apps

June 10, 2012
By

I have a little delinquent on this whole blogging thing but here is a talk I gave to the DC R Group. On a twisted and Rpy2 web application framework that I built for my company. Enjoy http://bit.ly/NW0Neg J

Read more »

Visualizing the #nonato Twitter hashtag – time series and top users

May 21, 2012
By
Visualizing the #nonato Twitter hashtag – time series and top users

  The NATO summit is currently being held in Chicago, and, as is typical for NATO or G# summits, the streets and tweets are full of dissent.  In the spirit of my past investigations of online dissent (#jan25, #25bahman, #12fev,… Read more ›

Read more »

Data Science Books for Computational Journalists

May 8, 2012
By

There are quite a few books out now on “data science”. I’ve picked out three that I think are the best place to start for computational journalists. First is Machine Learning for Hackers, by Drew Conway and John Myles White. The autho...

Read more »

Late-April flotsam

April 25, 2012
By
Late-April flotsam

It has been month and a half since I compiled a list of statistical/programming internet flotsam and jetsam. Via Lambda The Ultimate: Evaluating the Design of the R Language: Objects and Functions For Data Analysis (PDF). A very detailed evaluation … Continue reading →

Read more »

User Input in R vs Python

April 18, 2012
By

Both R and Python have facilities where the coder can write a script which requests a user to input some information. In Python 2.6, the main function for this task is raw_input (in Python 3.0, it’s input()). In R, there are a series of functions that can be used to request an input from the user,

Read more »

ThinkStats … in R :: Example/Chapter 2 :: Example 2.1-2.3

March 14, 2012
By
ThinkStats … in R :: Example/Chapter 2 :: Example 2.1-2.3

As promised, this post is a bit more graphical, but I feel the need to stress the importance of the first few points in chapter 2 of the book (i.e. the difference between mean and average and why variance is meaningful). These are fundamental concepts for future work. The “pumpkin” example (2.1) gives us an

Read more »

Early-March flotsam

March 8, 2012
By
Early-March flotsam

It has been a strange last ten days since we unexpectedly entered grant writing mode. I was looking forward to work on this issue near the end of the year but a likely change on funding agency priorities requires applying … Continue reading →

Read more »

ThinkStats … in R (including Example 1.2)

March 4, 2012
By

ThinkStats (by Allen B. Downey) is a good book to get you familiar with statistics (and even Python, if you’ve done some scripting in other languages). I thought it would be interesting to present some of the examples & exercises in the book in R. Why? Well, once you’ve gone through the material in a

Read more »