## Accessing Pyomo variable values and objective function value

What's the most Pyomothonic way to access variable values and objective function value in a Pyomo based optimization model?

## Analyzing Pronto CycleShare data with hillmaker

In this post I share a Jupyter notebook illustrating the use of hillmaker for analyzing time of day and day of week patterns in bike usage for Seattle's bike share system.

## Concatenating csv files using pandas

As part of a research project on hospital capacity planning, I ended up running many computer simulations. For example, there were 150 different scenarios, each requiring 25 runs (replications) of the simulation model. Each run generated a log file that was subsequently processed by a Python script. Much of this ...

## New version of hillmaker (finally) released - and it's Python

Back in March of 2013, I did the first hillmaker related blog post As way of background on hillmaker, here's the opening of that post:

Many years ago I created an MS Access add-in called Hillmaker for doing time of day and day of week based occupancy analysis in ...

## Presentation to Detroit ASA on open source for teaching business analytics

I had the pleasure of presenting yesterday to the Detroit Chapter of the American Statistical Association. The title of my talk was â€śIntroducing open source statistical and data science tools to business analytics students and professionalsâ€ť.

Slides: IntroToPCBAclass-ASA.pdf

Abstract

Tools such as Excel, SQL databases, SPSS and SAS have ...

## Plotting occupancy statistics with Python - a basic matplotlib recipe

In earlier posts, Python and pandas were used to compute occupancy statistics. Now we will use Python to create plots based on summary occupancy statistics (such as means and percentiles) by time of day, day of week, and patient category (recall that this example is from a hospital short stay ...

## First R Shiny app: Rejection region plots for hypothesis tests

This is my first RStudio Shiny application. I wanted to learn Shiny, a way to make R based interactive web based apps, and at the same time produce something at least a little useful. While creating a solution guide for a hypothesis testing assignment I had assigned in my statistics ...

## Goodbye Drupal: static-blogging with Pelican

I gave Drupal the old college try for a few years with this blog. Ultimately, I found myself spending too much time tinkering with the beast that is Drupal than creating content. At the same time, working with Python and R reminded me of the beauty of the simple text ...

## Displaying Michigan state park locations: A "getting started with ggmap (and XML)" project

For quite a while I've been wanting to explore the mapping and spatial analysis capabilities of R. Maps are cool and R is cool, so maps + R should be awesome. I've dabbled here and there but thought I'd try to do a few simple projects to start ...

## Occupancy plots with Python and ggplot2 via rmagic

In our ongoing series on using Python for occupancy analysis, here's a tutorial on doing facet plots with ggplot2 (yes, the R package) from an IPython notebook via rmagic.