24.10.2014 Views

My PhD thesis - Condensed Matter Theory - Imperial College London

My PhD thesis - Condensed Matter Theory - Imperial College London

My PhD thesis - Condensed Matter Theory - Imperial College London

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

APPENDIX D. RECONSTRUCTING A PROBABILITY DENSITY FUNCTION<br />

The weighting function w(x i , x) is not necessarily homogeneous (although in many<br />

cases, this is a sensible choice). Each sample point carries the same total weight;<br />

mathematically, this is expressed as<br />

∫<br />

w(x i , x) dx = 1.<br />

(D.2)<br />

The reason for choosing the total weight to be one rather than some other constant<br />

is to ensure that g has the normalisation appropriate to a probability density:<br />

∫<br />

g(x) dx = 1 N<br />

= 1.<br />

N∑<br />

∫<br />

i=1<br />

w(x i , x) dx<br />

(D.3)<br />

The expected value of the reconstructed function is<br />

〈 〉<br />

g(x) = 〈 {x i<br />

w(x<br />

} i , x) 〉 ∫<br />

x i<br />

= w(y, x)f(y) dy.<br />

(D.4)<br />

Evidently, the best approximation from this point of view is achieved when w(y, x) =<br />

δ(y − x). A good approximation is one in which w(y, x) is localised, tending to zero<br />

quickly as |y − x| increases; the extent of w should be smaller than the length scale<br />

on which changes in f occur.<br />

However, this is not the whole story; the expected error in g must also be considered:<br />

〈 (<br />

g(x) − f(x)) 2<br />

〉<br />

{x i }<br />

= 〈 g(x) 2〉 {x i } − 2f(x)〈 g(x) 〉 {x i } + f(x)2<br />

= 1 ∑〈 w(xi , x)w(x<br />

N 2 j , x) 〉 x i ,x j<br />

− 2f(x) 〈 w(x i , x) 〉 x i<br />

i,j<br />

+ f(x) 2 .<br />

(D.5)<br />

To proceed further, it is necessary to separate the terms with i = j, and to use the<br />

201

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!