From: Sundar Dorai-Raj <sundar.dorai-raj_at_pdf.com>

Date: Thu 29 Jul 2004 - 07:50:04 EST

R-help@stat.math.ethz.ch mailing list

https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jul 29 08:01:32 2004

Date: Thu 29 Jul 2004 - 07:50:04 EST

Eckart Bindewald wrote:

> Hello!

*> In the book Modern Applied Statistics with S (4th ed),
**> section 5.6 the concept of the "average shifted
**> histogram" or ASH is mentionend. Also it is mentioned
**> in the same section "The code used is in the scripts
**> for this chapter" (from figure caption 5.8, analysis
**> of the geyser duration data).
**> *However*, I have trouble finding the code for that
**> function! Admittedly, I am a newby to R. Where exactly
**> do I find the scripts to that chapter? Commands like
**> library(MASS), or help.search("average shifted
**> histogram") did not help.
**>
**> Secondly: Is the fact that I have trouble finding a
**> routine for the average shifted histogram method a
**> hint, that the method is outdated, and instead method
**> X or Y should be used? The problem I am trying to
**> solve is to smoothe a two-dimensional data set, the
**> y-values change very rapidly between one and zero. The
**> function "loess" in R seems to do a very reasonable
**> job for that problem, but I would like to use a second
**> and different method.
**>
**> Any help is highly appreciated!
**>
**> Thanks,
**>
**> Eckart Bindewald
**>
*

Try:

install.packages("ash")

library(ash)

I have found "loess" (or possibly "locfit" in the package of the same name) more flexible though.

--sundar

R-help@stat.math.ethz.ch mailing list

https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jul 29 08:01:32 2004

*
This archive was generated by hypermail 2.1.8
: Wed 03 Nov 2004 - 22:55:20 EST
*