12.07.2015 Views

Course Notes - Department of Mathematics and Statistics

Course Notes - Department of Mathematics and Statistics

Course Notes - Department of Mathematics and Statistics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

6.3.2 Transforming DataTRANSFORMING DATAIf data are continuous but not normally distributed, we need totransform each value to create new values which are normally distributed- we use logs, square roots or reciprocals. We do this because:1) statistical procedures require normally distributed data2) to compare two samples, the st<strong>and</strong>ard deviations need to be similar3) to reduce the effect <strong>of</strong> outliers (log transformation).TRANSFORMING DATA ExampleFrom Assignment 3, we saw that daily river flow is typically skewed<strong>and</strong> is bounded below by zero (negative values are impossible in thiscontext).One set <strong>of</strong> 128 observations <strong>of</strong> Rangitata river flow during spring<strong>and</strong> summer had mean = 105.29 <strong>and</strong> st<strong>and</strong>ard deviation 44.44. Theminimum <strong>and</strong> maximum values are 40.35 <strong>and</strong> 233.14 respectively.The data are not normally distributed.When the data are transformed by taking logs to base e the meanis 4.51 <strong>and</strong> the st<strong>and</strong>ard deviation is 0.43. The normal fit to thetransformed data is much better.106

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

Saved successfully!

Ooh no, something went wrong!