This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: breaks can be set to a sequence, a number, or another function Rebecca Nugent, Department of Statistics, Carnegie Mellon University, 2011 2 Average Shifted Histogram: a smoothed histogram (D. Scott, Rice) The accuracy of a histogram depends largely on the choice of bins. Histogram is piecewise constant ; same level across the entire bin. What happens if we shift the bins a little? Might get diFerent levels for exact same location. Each smaller bin has three levels depending on a small shift in the bin. So which one is right? How do you choose where the bins go? Given a starting histogram, f 1 , with bin width h , we create m-1 more histograms by shifting our starting place h m every time ( f 2 , f 3 , ..., f m ). Every smaller bin of size h m has m diFerent levels. We take the average. In R : need to source ashcode.R ; use function ashcode1D(x, m, nbins) Rebecca Nugent, Department of Statistics, Carnegie Mellon University, 2011 3...
View Full Document
This note was uploaded on 04/15/2011 for the course STATISTICS 315 taught by Professor Gnt during the Spring '11 term at Carnegie Mellon.
- Spring '11