Blog Archives

Understanding the limitations of group-level inequality data by @ellis2013nz

October 6, 2018
By
Understanding the limitations of group-level inequality data by @ellis2013nz

A critical tweet the other day by Nicolas Sommet reminded me of the book The Spirit Level: Why Equal Societies Almost Always Do Better”. That book argues that: “…there are ‘pernicious effects that inequality has on societies: eroding trust...

Read more »

Sri Lanka visitor arrivals by @ellis2013nz

September 25, 2018
By
Sri Lanka visitor arrivals by @ellis2013nz

So I’ve been holidaying in Sri Lanka for a while now, and thought I would do a brief blog post using some public tourism data. Tourism has grown rapidly in Sri Lanka since the civil war finished in 2009. Travelling around, it’s easy to see why....

Read more »

Rents in Melbourne by @ellis2013nz

August 30, 2018
By
Rents in Melbourne by @ellis2013nz

Motivation So, I’m in the process of moving to Melbourne and have a personal interest in the rental market there. But I’m also more generally interested in the economics of housing. Purchase costs get most of the attention, but rental costs are ...

Read more »

Estimating relative risk in a simulated complex survey by @ellis2013nz

August 23, 2018
By
Estimating relative risk in a simulated complex survey by @ellis2013nz

In this post I simulate a population and a complex survey of it. The survey has stratification, two-stage sampling and post-collection calibration to marginal population totals. The original idea was to follow up on last week’s post on relative ris...

Read more »

Relative risk ratios and odds ratios by @ellis2013nz

August 16, 2018
By
Relative risk ratios and odds ratios by @ellis2013nz

This post tries to explain the difference between odds ratios and relative risk ratios; and how just a few letters in the code fitting a generalized linear model mean the difference between extracting one or the other. There are plenty of other explan...

Read more »

Time series intervention analysis with fuel prices by @ellis2013nz

August 13, 2018
By
Time series intervention analysis with fuel prices by @ellis2013nz

A couple of months ago I blogged about consumer spending on vehicle fuel by income. The impetus for that post was the introduction on 1 July 2018 of an 11.5 cent per litre “regional fuel tax” in Auckland. One vehement critic of the levy, largely ...

Read more »

Leading indicators of economic growth by @ellis2013nz

August 9, 2018
By
Leading indicators of economic growth by @ellis2013nz

The debate about business confidence as a possible leading indicator of economic growth reminded me of a question that has long been on my back-burner - what data make the best leading indicators (say, a quarter of a year ahead) of economic growth? Th...

Read more »

Business confidence and economic growth by @ellis2013nz

Business confidence and economic growth by @ellis2013nz

The ANZ bank have a nice bit of publicity for themselves each month in New Zealand with the release of the results of their monthly Business Outlook Survey. This week it caused a bit of a stir, with the ANZ’s own commentary reporting New Zealand corporate sector is “in a funk” (ANZ’s words) with a net 45 percentage...

Read more »

Setting up RStudio Server, Shiny Server and PostgreSQL by @ellis2013nz

Setting up RStudio Server, Shiny Server and PostgreSQL by @ellis2013nz

Motivation For a variety of reasons I wanted a Linux server in the cloud with data science software on it. In no particular order: so I could access a reliable setup from anywhere with a web browser, including on networks without the software I need (which happens a lot in corporate/government environments) so I could do round-the-clock data gathering when...

Read more »

Spend on petrol by income by @ellis2013nz

Spend on petrol by income by @ellis2013nz

Fuel tax debates So, there’s currently a vibrant debate on a small New Zealandish corner of Twitter about a petrol tax coming into effect in Auckland today, and the different impacts of such taxes on richer and poorer households. The Government has released analysis from the Stats NZ Household Expenditure Survey showing higher petrol consumption per household for higher income households...

Read more »

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)