11.07.2015 Views

Preface to First Edition - lib

Preface to First Edition - lib

Preface to First Edition - lib

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

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

ANALYSIS USING R 71R> hist(meandiffs)R> abline(v = T, lty = 2)R> abline(v = -T, lty = 2)His<strong>to</strong>gram of meandiffsFrequency0 500 1000 1500 2000−15 −10 −5 0 5 10meandiffsFigure 4.1An approximation for the conditional distribution of the difference ofmean roomwidth estimates in the feet and metres group under the nullhypothesis. The vertical lines show the negative and positive absolutevalue of the test statistic T obtained from the original data.In order <strong>to</strong> approximate the conditional distribution of the test statistic Twe compute 9999 test statistics for shuffled y values. A permutation of the yvec<strong>to</strong>r can be obtained from the sample function.R> meandiffs for (i in 1:length(meandiffs)) {+ sy

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

Saved successfully!

Ooh no, something went wrong!