Blog Archives

Categorizing my expenses

January 28, 2012
By
Categorizing my expenses

In order to analyse my expenses, a classification scheme is necessary. I need to identify categories that are meaningful to me. I decided to go with the “Classification of Individual Consumption by Purpose” (COICOP), for three reasons:It is made by people who have thought more about consumption classification than I ever will. It is feasible to assign bank transactions...

Read more »

Tracking my expenses

January 8, 2012
By
Tracking my expenses

One new-year resolution I made last year was to understand where my money goes. From previous experiments I know that expense tracking has to be as simple as possible. My approach is toUse my cash card as often as possible. This automatically tracks the date and some information on the vendor. Use twitter to track my cash expenses. This supplements...

Read more »

How much is a shower?

December 29, 2011
By
How much is a shower?

After looking at my heating expenses, I turned to the costs for water heating. For some time, I looked at my water meter before and after taking a shower or a bath. Quite often, I forgot one or the other measurement, but I collected about 40 observations. Here is what they look like:The data suggest that for a...

Read more »

Heating costs

December 28, 2011
By
Heating costs

In 2010, my heating costs exceeded my advance payments by about 25%. This motivated me to decompose the costs to see what drove the changes. Here is the result:The numbers refer to Euros. Read von right to left: 2010 was a cold year (+102EUR), but gas consumption in this house was relatively low (–89EUR). Also, running costs and...

Read more »

Regional differences on what drives CO2 emissions

July 20, 2011
By
Regional differences on what drives CO2 emissions

If you are investigating the change of CO2 emissions, then you might ask: Where do the changes occur? Well here is the answer.The staircase plots show the contributing factors to CO2 emissions for each continent. population refers to population effects, gdp_pcap refers to income per capita, energy_intensity refers to energy used per dollar added value, and carbon intensity...

Read more »

Reproducible blogging

July 10, 2011
By

As a fact-based blog, the posts here contain very often diagrams and data tables. To enable you to reproduce the results and insights, I include the computations as computer code.Most blogposts I write are markdown text combined (or weaved) with computer code written in the R language. I created a small package mdtools that puts the...

Read more »

Index decomposition with R

July 9, 2011
By
Index decomposition with R

Few days ago, I finally finished a small package ida. It enables you to analyse contributions of underlying factors to the change in an aggregate, using methods based on index number theory. These methods have become popular by, but are not restricted to, investigating the change of CO2 emissions.Here is a chart that shows what the change of population,...

Read more »

head and tail for strings

October 2, 2010
By

The functions head and tail are very useful for working with lists, tables, data frames and even functions.But they do not work on strings. It is easy to define such functions> strtail + if(n+ substring(s,1-n) + else + substring(s,nchar(s)-n+1)+ }> strhead + if(n+ ...

Read more »

Tuning Notepad++

August 12, 2010
By

Here are some tricks I collected for making Notepad++ a more comfortable text editor for me in general in for the R programming language in particular.Switch between tabs in Notepad++ with Ctrl-PageUp/DownNotepad++'s default behaviour is to use Ctrl+(S...

Read more »

use R! 2010 conference — reflections

August 4, 2010
By

From July 20-23, this year's use R! conference took place in Gaithersburg near Washington. I attended the conference as part of my holidays in the U.S. and had a good time there. I met some people, even though that is not the easiest thing for me to do, and I got some inspirations and ideas I outline below:Stat appsOne...

Read more »

Sponsors

Mango solutions



RStudio homepage



Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training



http://www.eoda.de









ODSC

CRC R books series













Contact us if you wish to help support R-bloggers, and place your banner here.

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)