Showing posts with label estimation. Show all posts
Showing posts with label estimation. Show all posts

Wednesday, 14 October 2015

inflated savings

We had our solar PV system installed in January 2014, and we’ve seen a drop in our external electricity consumption since then.  But how big a drop?  Our electricity company provides a handy annual summary.  Here’s the relevant figures from the first year:


So we almost halved how much electricity we bought in last year (with PV) compared to the previous one (without PV).  Excellent!

But note the start date for the comparison: 9th October.  That means we had the solar PV for only 9 months of the period.  So it should be even smaller this year!  Here’s the relevant figures:


And yes, there’s nearly a 20% drop this time.  Great.

But hang on a minute!  The first chart says we used 4323 kWh last year, whereas the second chart says we used 5611 kWh last year!  That’s a difference of 30%, over the same time period. Huh?

I wondered if it was because the figure is an estimate, and maybe they underestimated our consumption last year (and by a lot), and now have better figures.  So I checked the electricity bills themselves.  But the bill dated 26 Sept 2014 is based an actual meter reading, not an estimate.  So they only had to estimate about two weeks usage.  (The bill from the same period a year earlier was an estimate, however.)

Because we have to send in quarterly PV meter readings to claim our generation tariff, we now make a note of all the different meter readings.  So I know that our actual consumption 10 Oct 14 – 9 Oct 15 was 4576 kWh, very close to their estimate (this year, at least).

We had a new electricity meter installed in March 2014, to cope with the PV system’s generation, but that was in place when last year’s figures were estimated.  The only thing I can think is the estimating system has got very confused somehow, due to our sudden change in usage pattern.  I will have to check next year to see if the figures are equally bizarre, or have settled down.

This is not the first time I have had perplexing information on electricity bills, though (for a different location).

Wednesday, 10 June 2015

How many times should you run your simulation?

You have a new algorithm, say an evolutionary algorithm.  You want to show it is better than another algorithm.  But its behaviour is stochastic, varying from run to run.  How many times do you need to run it to show what you want to show?  How big a sample of possible results do you need? 10?  100?  1000?  More?

This is a known problem, solved by statisticians, used by scientists who want to know how many experiments they need to run to investigate their hypotheses.

First I recall some statistical terminology (null hypothesis, statistical significance, statistical power, effect size), then describe the way to calculate how many runs you need, using this terminology.  If you know this terminology, you can skip ahead to the final table.

null hypothesis

The null hypothesis, H0, is usually a statement of the status quo, of the null effect: the treatment has no effect; the algorithm has the same performance; etc.  The alternative hypothesis, H1, is that the effect is not null.  You are (usually) seeking to refute the null hypothesis in favour of the alternative hypothesis.

statistical significance and statistical power

Given a null hypothesis H0 and a statistical test, there are four possibilities.  H0 may or may not be true, and the test may or may not refute it.

H0 true H0 false
refute H0 type I error, false positive correct
fail to refute H0 correct type II error, false negative

The type I error, or false positive, erroneously concludes that the null hypothesis is false; that is, that there is an effect when there is not. The probability of this error (of refuting H0 given that H0 is true) is called α, or the statistical significance level.

     α = prob(refute H0|H0) = prob(false positive)

The type II error, or false negative, erroneously fails to refute the null hypothesis; that is, it is a failure to detect an effect that exists.  The probability of this error (of not refuting H0, given that H0 is not true) is called β.

     β = prob(not refute H0|not H0) = prob(false negative)

1−β is called the statistical power of the test, the probability of correctly refuting H0 when H0 is not true.

     power = 1−β = prob(refute H0|not H0)

Clearly, we would like to minimise both α and β, minimising both false positives and false negatives.  However, these aims are in conflict.  For example, we could trivially minimise α by never refuting H0, but this would maximise β, and vice versa.  The smaller either of them needs to be, the more runs are needed.

Different problems might put different emphasis on α and β.  Consider the case of illness diagnosis, versus your new algorithm.

Diagnosic test for an illness

  • false positive: the test detect illness when there is none, which might result in worry and unnecessary treatment
  • false negative: the test fails to detect the illness, which might result in death
So minimising β may take preference in such a case.

New evolutionary algorithm

  • false positive: you claim your algorithm is better when it isn’t; this will be embarrassing for you later when more runs fail to support your claim
  • false negative: you fail to detect that your algorithm is better; so you don’t publish
So minimising α may take preference in such a case.

p-value

A statistical test results in a p-value.  p is the probability of observing an effect, given that the null hypothesis holds.

     p = prob(obs|H0)

A low p-value means a low probability of observing the effect if H0 holds; the conclusion is then that H0 (probably) doesn’t hold.  We refute H0 with confidence level 1−p.

To refute H0 we want the observed p-value to be less than the initially chosen statistical significance α.  A typical confidence level is 95%, or α = 0.05.

effect size

The more runs we make, the smaller α and β can be.  That means we can refute H0 at higher and higher confidence level.  In fact, with enough runs we can refute almost any null hypothesis at a given confidence level, since any change to an algorithm probably makes some difference to the outcome.

Alternatively, we can use the higher number of runs to detect smaller and smaller deviations from H0.

For example, if H0 is that the means of the two samples A and B are the same:

     H0 : μA = μB

and the alternative hypothesis H1 is that the means are different:

     H1 : μA ≠ μB

then with more runs we can detect smaller and smaller differences in the means at a given significance level.  We can measure a smaller and smaller effect size.

Cohen’s d is one measure of effect size for normally distributed samples: the difference in means normalised by the standard deviation:

     d = (μA − μB) / σ

So an effect size of 1 occurs when the means are separated by one standard deviation.  Cohen gives names to different effect sizes: he calls 0.2 “small”, 0.5 “medium”, and 0.8 “large” effect sizes.  The smaller the effect size you want to detect, the more runs you need.

d = 0.2, “small”

d = 0.5, “medium”

d = 0.8, “large”

“Small” effect sizes might be fine in certain cases, where a small difference can nevertheless be valuable (either in a product, or in a theory).  However, for an algorithm to be worth publishing, you should probably aim for at least a “medium” effect size, if not a “large” one.

sample size

The required sample size, or number of runs, n, depends on your desired values of three parameters: (i) statistical significance α, (ii) statistical power 1−β, and (iii) effect size d.

For two samples of the same size, normally distributed, with H0 : μA = μB, then

     n = 2( (z(1−α/2)+z(1−β)) / d)2

where z is the inverse normal cumulative probability distribution function.  In the case of a single sample A compared against a fixed mean value, H0 : μA = μ0, this number can be halved.

A Python script that calculates this value of n (rounded up to an integer) is
from math import ceil
from scipy.stats import norm
n = ceil( 2 * ( (norm.ppf ppf(1-alpha/2) + norm.ppf ppf(power) ) / d ) **2 )


If you want a significance at the 95% level (α = 0.05), and a power of 90%, and want to detect a large effect, then you need 33 runs; if you want to detect a medium effect you need 85 runs, and to detect a small effect you need over 500 runs.  (These numbers are based on the assumption that your samples are normally distributed.  Similar results follow for other distributions.)

At first sight, it might seem strange that the number of runs is somehow independent of the “noisiness” of the algorithm: why don’t we need more runs for an inherently noisy algorithm (large standard deviation) than from a very stable one (small standard deviation)?  The reason is because the effect size is also dependent on the standard deviation: for a given difference in the means, the effect size decreases as the standard deviation increases.  

So there you have it.  You don’t have to guess the number of runs, or just do “lots” to be sure: you can calculate n.  And it’s probably less than you would have guessed.



Sunday, 8 March 2015

nowcasting fail

Prediction is very difficult, especially about the future.
— Niels Bohr (attrib)
Or even about the present, it seems.

We have grown more attentive to the weather since installing solar PV.  Knowing when it is going to be sunny for a long period is useful for scheduling clothes- and dish-washing. (Sunny weather used to be “washing day” for hanging clothes out to dry; now it’s washing day for powering the washing machine.  Plus ça change, plus c’est la même chose.)

I gave up on the default weather app that came with my phone long before we installed solar PV, and downloaded BBC Weather instead.  I’ve had my issues with the BBC weather app before, but today was quite extreme.

Here’s what my phone says the forecast is for the town where I live.

today’s weather forecast, as of 7:55GMT
That doesn’t look good: thick cloud at 8am, thinning to light cloud during the mid-morning, thickening again around noon, then rain later.  Okay, not a nice day at all.

Hang on a minute.  Thick cloud at 8am?  But, out the front window it looks like this:

today’s weather, at 7:55GMT
I know weather prediction is supposed to be a hard problem, but getting it so wrong not for the future but now, well, that's another thing.


Wednesday, 6 August 2014

how long is a piece of DNA?

Every cell in your body has 2 metres of DNA inside it. Yes, 2 metres.

This is easy to check.  Wikipedia says that one nucleotide [or base] is 0.33 nm long.  The same page also says that human have “3 billion base pairs of DNA arranged into 46 chromosomes”. However, other sites say that the 3 bn base pairs is the genomic contents of the 23 individual chromosomes.  (This demonstrates the value of checking several sites; I also checked the 0.33nm in other places.)  Since you have two copies of these chromosomes in most cells, that makes 6 bn base pairs all together.  And 0.33 nm × 6 bn = 2m.

That seems ridiculous: cells are too small to see with the naked eye, so how can there be a 2m long string of DNA inside?

Well, DNA is really really thin.  Wikipedia says the width of a DNA chain is 2.2–2.6 nm (and this number is confirmed elsewhere; you can check).  Assuming the chain is a cylinder, and taking a mid value of 2.4 nm, this gives a volume of 2m × π × (1.2 nm)2 = 9 × 10−18 m3, or (2 × 10−6 m)3, that is, a cube of side 2 microns.  That can fit in a cell, all folded up.

I’ve known this 2m fact for several years.  I’ve also known that there are over a trillion cells in the human body.  What I’d never done, until challenged by a colleague recently, was put these two together, to calculate the total length of DNA in the human body, with 2m in each of those trillion-plus cells.
Neptune: seems pretty close
in comparison
Actually, finding a value for the total number of cells is a little tricky.  I’ll go with 40 trillion.  So that makes 80 trillion metres of DNA.  That’s a huge number!  Astronomically huge. So let’s visualise it astronomically.

One astronomical unit, or AU, is the mean distance from the earth to the sun, about 150 million km, or 1.5 × 1011 m.  (I grew up knowing it as 93 million miles, but the world has changed units.)  That means you have over 500 AU of DNA in your body.  Neptune, the outermost planet, is 30 AU from the sun.  Your total DNA is nearly 10 times the diameter of the planetary solar system!

Another way to look at it.  Light travels at a speed of 3 × 108 ms−1.  Even at this colossal speed, it takes a while for light to get around the solar system: the moon is just over a light second away, and the sun is a full 8 light minutes away.  Dwarfing these, your total DNA is 3 light days long!

And yet that astronomically long piece of DNA length has a volume of 40 trillion × 9 × 10−18 m3, or 360 cm3, just about the volume of a soft drink can.  Really really really thin.

So, if anyone asks how much DNA there is in the human body, it’s 3 light days, or just over half a pint, depending how you want to measure it.



Friday, 24 January 2014

watch out

my watch
Early December, the battery in my watch died.  For a variety of reasons, it’s taken me until today to be in the vicinity of a shop that sells replacements.  Initially it was deeply unsettling not to be wearing a watch (it was even more unsettling to wear one telling the wrong time, though).  My right wrist felt distinctly strange (I wear my watch on the right, since I’m left handed).  Even now, several weeks later, my wrist still felt strange without a watch.

So I was finally in town, and popped into H.Samuel for a new battery, around 11am.  I was gravely informed that it would be a “next day pickup”, because they had so many watches already “booked in” for new batteries.  Well, since it had taken me nearly 2 months to get into town in first place, I thought it highly unlikely I would be in town again tomorrow, so I declined.

I went into a nearby jewellers.  They looked at the watch, and apologised that they didn’t have the right tools to take the back off, otherwise they would have been happy to replace the battery there and then.  They suggested I tried Timpson’s.

I tried Timpson’s.  They took my watch, took out a standard jeweller’s watch screwdriver (we have a set of these at home), unscrewed the four screws holding the back on, popped out the old battery, popped in the new one, screwed the back on again, all in about 90 seconds flat.

a very specialised tool, apparently

This made me wonder how many watch batteries H.Samuel were changing.  To be on the conservative side, let’s assume that they are a little slower, and it takes them maybe three minutes to change a battery.  Let’s also assume that there is someone in the back of the shop steadily replacing the batteries in all those “booked in” watches (because clearly none of the staff on the shop floor were engaged in such a task).  Let’s assume they were working from 11am (when I went in) until 5pm, with a one hour break for lunch.  That’s 5 hours, at 20 batteries an hour, or a total of at least 100 watches booked in in front of mine.  Good grief. That’s a lot of dead batteries all at once.  (Or maybe, just maybe, not?)

Well, at least I now know where to go the next time my watch needs a new battery.

Monday, 25 March 2013

packing in the toilet rolls

The TV show QI is a marvellous source of trivia.  A while back I heard them say that Sainsbury's is shrinking the size of the tube through the centre of toilet rolls to save volume, and hence the number of delivery lorry trips needed.  A quick Google confirms that this is the case: the diameter of the roll has fallen from 123mm to 112mm, whilst keeping the amount of paper the same. (I hope no makers were relying on the constant diameter of the correspondingly shrinking tube for any long term projects.)

This (123-112)/123 = 1-0.91 = 9% reduction in diameter doesn't look much for a single roll:
123mm v 112mm, to scale                                                                                      overlaid for comparison
However, once you get a lot of rolls, the saving soon adds up:

the difference is clear with 40 rolls
Assuming that the height of the rolls is the same, the 9% reduction in diameter corresponds to a 1-0.912 = 1-0.83 = 17% reduction in volume.  Hence more rolls can be packed in each delivery lorry, with a claimed  saving of 500 lorry trips, or 140 tonnes of CO2, per year.

But we could do better, surely?  I've shown the rolls on a square grid, because that's how they are packed:

But what about a hexagonal packing?

smaller rolls, and now hexagonally packed
Now each roll occupies a hexagon of half-height r, not a square of half-height r:

square boundary                                             hexagonal boundary                                             equilateral triangle

What space does this take?  The hexagon is made of 6 equilateral triangles, each of height r.  If the side is of length h, then we have r = h sin 60 = h √3 / 2.  The area of the triangle = 1/2 x base x perpendicular height = h/2 x r = r2 / √3.  The area of the hexagon is 6 times this, or  2√3 r2  = 3.464  r2.  The square, meanwhile, has area 4 r2.  (And not coincidentally, 3.464 is a better approximation to π than is 4.)  Hence hexagonal packing is (4 - 3.464)/4 = 0.134, or a little over 13%, better than square packing.

Doing the sums to combine the percentages properly [viz, 1-(1-17%)(1-13%)=0.28], this means hexagonal packing and smaller rolls combined gives about 28% improvement over the original large, square packed rolls.

So Sainsbury's could save a further 300-odd lorry trips, and a further 90 tonnes CO2, by packing the rolls hexagonally.

Maybe I should write them a letter?


UPDATE (19 Jan 2014)

A commenter queried the correctness of the QI calculations.  I just so happen to have an old and new roll size cardboard tube.  Here's the difference:

the smaller tube has a diameter of ~35mm, the larger a diameter of ~50mm; also the cardboard is much flimsier in the smaller tube
So although the exact dimensions quoted may not be quite right, they are pretty close!

Tuesday, 8 May 2012

going to extremes


Last week I went to a talk by Jim Al-Kalili, called “9 Paradoxes” (which, not coincidentally, is the title of his latest book).

One style of paradox he talked about are the mathematical ones, where a plausible calculation is presented, but the conclusion is wrong.  He illustrated this with the Monty Hall problem, and the Missing Dollar puzzle.

I’ve written about the Monty Hall problem elsewhere, and how the resolution is much easier to see by taking a more extreme case.  The approach of changing the problem to an extreme case is not specific to the Monty Hall problem, but is a more widely applicable check.  In particular, is can be applied to help see through the Missing Dollar puzzle. 

The Missing Dollar puzzle is as follows:
Three friends book into a shared room at an hotel.  The rate is $30, so they pay $10 each.  Later, the clerk realises they have overpaid; the rate is actually $25.  He takes $5 from the till, and goes to give them their refund.  On the way he realises that he won’t be able to split $5 between the three, so gives them $1 each, and pockets the remaining $2. 
So they have each paid $10-$1=$9, which is a total of $27. With the $2 in the clerk’s pocket, that’s a total of $29.  The original payment was $30. What happened to the missing $1?
The answer is that this is the wrong calculation. They have paid $27.  Of this $2 is in the clerk’s pocket, and $25 is in the till to pay for the room.  The puzzle works because the two prices are so close, and so it isn't necessarily obvious on a fast telling of the puzzle that the $2 should be subtracted from the $27, rather than added to it.  Let’s use the same approach of taking it to extremes to make the problem more obvious.
Three friends book into a shared room at an hotel.  The rate is $3000, so they pay $1000 each.  Later, the clerk realises they have overpaid; the rate is actually $25.  He takes $2975 from the till, and goes to give them their refund.  On the way he realises that he won’t be able to split $2975 between the three, so gives them $991 each, and pockets the remaining $2. 
So they have each paid $1000-$991=$9, which is a total of $27. With the $2 in the clerk’s pocket, that’s a total of $29.  The original payment was $3000. What happened to the missing $2971?
It is much clearer now that is that this is the wrong calculation. They have paid $27.  Of this $2 is in the clerk’s pocket, and $25 is in the till to pay for the room.

Going to extremes doesn't work for everything, but it is quite a powerful argument sanity-checker.

Saturday, 14 April 2012

climbing up onto the shoulders of giants

Newton
If I have seen further it is by standing on the shoulders of Giants – Isaac Newton 
Newton was not first to say this (and it may or may not have been a jab at Hooke), but the idea is sound: we can get further because we don’t have to invent everything from scratch; we can build on what others have done before. So, if we need to solve a particular problem that needs calculus, we don’t have to invent calculus from scratch to do so, we can use what Newton (and Leibniz, of course) invented. Standing on their shoulders, we can see further.

But how do we get to stand on the giant’s shoulders? (I’ll keep the metaphor to a single giant, as standing on the shoulders of multiple giants sounds too much like a circus act. And I am focussing on the mathematical giant.) We aren’t born up there on the giant’s shoulders. While we don’t have to grow into the giant (invent calculus), we do have to climb up the giant (study calculus).

And the giant is getting ever bigger. On the one hand, this is good: being so much higher we can see so much further. On the other hand, what happens when we have to spend our entire lives climbing up the vast growing giant, and never reach the viewpoint on the ever-distant shoulders?

We need short cuts up the giant. Fortunately, other are building ropes and ladders and lifts: tools to climb the giant more easily. So, we now have computer algebra packages that can solve our differential and integral equations for us; we no long need to spend years studying and practising how to do this.

But wait! cry the purists. That is cheating.
there is no Royal Road to geometry – Euclid
Understanding an idea meant entangling it so thoroughly with all the other symbols in your mind that it changed the way you thought about everything. – Greg Egan
There are no shortcuts, the purists insist. Mathematics is not a “spectator sport”. You have to do it, be immersed in it, internalise it, in order to really understand it.  The youth of today, with their fancy calculators and computers, they don’t really understand arithmetic and algebra and calculus.  Get off my lawn!
Socrates
There is nothing new under the sun when it comes to criticism of youth, of course. Plato, in Phaedrus, has Socrates rail against this new-fangled literacy:
 [writing] will introduce forgetfulness into the soul of those who learn it: they will not practice using their memory because they will put their trust in writing, which is external and depends on signs that belong to others, instead of trying to remember from the inside, completely on their own. You have not discovered a potion for remembering, but for reminding; you provide your students with the appearance of wisdom, not with its reality. Your invention will enable them to hear many things without being properly taught, and they will imagine that they have come to know much while for the most part they will know nothing. And they will be difficult to get along with, since they will merely appear to be wise instead of really being so. 
This sounds suspiciously similar to those modern complaints about using calculators rather than mental arithmetic, or using computer algebra programs rather than slogging through pages of pushing symbols around. These devices give only the “appearance of wisdom”.

a big sum
I do have some sympathy with this view. There does seem to be a lot of blind trust in the output of calculators and computers. However, I’m not sure it is purely the fault of the calculators. There can be uncomprehending blind trust in symbol pushing, too. I remember, many years ago, being in a computer shop, buying four items. The shop assistant wrote down the prices, and laboriously added them up, with much crossing out. When they announced the total, I said “that’s wrong”. They got a bit huffy, but then I pointed out their total was too small: it was less than one of the items on the list! As well as their huffiness, I detected a faint feeling of puzzled wonder from the assistant: how had I known? Despite the hand calculation, the assistant had no feel for the numbers. Maybe Socrates would have said that they should have added the numbers in their head? (Notice here that I didn’t know what the right answer was, but I knew the suggested answer was wrong.)

Another example comes to mind, again from many years ago. We were buying some new pillows: four for £4.99 each. The shop assistant wrote down 4.99 four times in a list, and added them up. Meanwhile I was going “£4.99 is a penny less than £5, so that’s £20 minus 4p, or £19.96.” I had the right money ready by the time the assistant came up with the answer, and was again met with puzzled wonder. (I’m sure that’s the real reason supermarkets took the prices off their goods: to stop some customers freaking out the cashiers by having the right money ready!)

I recounted this pillow story to my mother, who, faster than I did my shortcut calculation, simply multiplied 4.99 by 4 in her head, and got the right answer. I was almost as much in awe of this feat as the shop assistant had been in mine. But which approach shows more understanding of numbers: my short cut or my mother’s brute force calculation? Is it possible that slogging through all those exercises merely enable us to do calculations quickly, without thinking? And if there is no thought, then what have we actually gained? After all, one can learn by rote and merely “parrot” remembered answers.

Back to climbing that giant. What we need is a way of taking short cuts up and of having the “feel” for the numbers. An approach that could work is critical thinking about the supplied results (whether supplied by computer, or by our own unthinking calculations). We can keep the feel by using even shorter short cuts and heuristics that give an approximate answer, as a sanity check. Those shorter cuts and heuristics supply the feel, and when they are done automatically, they are the feel.

So, education shouldn’t be focussed on getting students to wade through pages and pages of exercises, pushing symbols (be they numbers or letters) around (unless they enjoy that sort of thing, of course). It should be more focussed on training in the use of short-cut tools, education on where and how to apply the tools, and meta-training in critical thinking about the results those tools give. Then we can climb the ever-growing giant fast enough to get to the top in time to see something before we die, and confident that we’ll understand what we do see when we get there.

Saturday, 28 January 2012

Regress bars

I was copying a large set of files, when I noticed some peculiar behaviour of the "progress" bar.


I'm used to the Minutes Remaining indicator usually being pretty meaningless (I've seen it go from days, to hours, to minutes, to seconds, over the course of seconds, and it often leaps up by an order of magnitude if I start doing something else on the computer). But this time it seemed even worse than useless.  I watched it for a few moments, then felt compelled to grab a pen and paper.  (I used an antiquated technology to record the data, as I didn't want to interfere with the copy process. These fluctuations were all its own work.)


The whole exercise covered a period of a couple of minutes (that is, the line representing the actual time remaining would be almost indistinguishable from the x-axis on this plot).  The final estimate (of 15 seconds remaining, up from the previous 10 seconds) stayed there for about three seconds, and the copy was finally finished.

Well, as they say, "Prediction is difficult, especially about the future".  But one might hope that the algorithm used gave better predictions as time progressed...

Thursday, 25 August 2011

the future price of electricity, part 3

So, in June I blogged a follow-up to the weird estimate npower gave for my future electricity bills. Two months later, and I've had my next quarter's bill (differently weird, there).

The estimate seems to have gone back to a more reasonable amount this time around, so I'm no longer fearing an order of magnitude increase in power bills. I wonder what caused the original glitch?

But I'm going to keep a close eye on these estimates in the future.

Saturday, 4 June 2011

the future price of electricity, part 2

In February, I blogged about a strange item on my electricity bill: npower's estimate of my next year's bill, which was nearly an order of magnitude higher than my current usage.

I've just had this quarter's bill. Same low usage, same high estimate. This made me go back and look at previous bills: had the estimates always been this high?

annual electricity prices
No. The previous two quarters had estimates of about the right amount. Earlier bills had no such estimates: it must be a new "feature". The graph here shows a plot of actual annual consumption (calculated every quarter) and npower's estimate of annual consumption.

The only data points in common (because, of course, I don't yet know my future annual consumption) are very close. Maybe npower do know something about electricity price inflation?

I'll know better in a couple of quarters time...

Thursday, 17 February 2011

The future price of electricity

I got my electricity bill last week, and I noticed a nifty new feature that's been added to it: a predicted electricity cost for the next year. And very interesting that prediction is, too.

Here is my annual expenditure on electricity for the last few years (the numbers are ridiculously low for several related reasons that I won't go into here):

electricity prices
2003: £45.36
2004: £33.14
2005: £38.26
2006: £51.04
2007: £55.71
2008: £48.74
2009: £48.30
2010: £56.16

The graph shows a noisy but nevertheless upward trend, consistent with inflation more than with any increased usage on my part.

What do you think my electricity company's prediction for my 2011 bill is? A prediction that I am assured is based on "actual readings", according to my account. £60? Maybe as much £70? No. It is £488.77.

So, what does npower know about short term electricity price inflation that I don't?