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 m1 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
 Spring '11
 gnt
 Statistics, Rebecca Nugent

Click to edit the document details