Re: [R] Help interpreting density().

2008-07-29 Thread Bill.Venables
://www.cmis.csiro.au/bill.venables/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, 29 July 2008 6:09 PM To: r-help@r-project.org; Venables, Bill (CMIS, Cleveland) Subject: RE: [R] Help interpreting density(). Sorry, poor example. I started with normal deviates and

Re: [R] Help interpreting density().

2008-07-29 Thread Mark Difford
Hi Kevin, Clicking on the link I sent gets me there (?), though things are pretty slow at the moment. Perhaps try this related link, and from it get back to the first one: http://en.wikipedia.org/wiki/Density_estimation You can also get to this via histogram, so search for that in Wiki, and the

Re: [R] Help interpreting density().

2008-07-29 Thread rkevinburton
Sorry I tried WikiPedia and only found: Wikipedia does not have an article with this exact name. I will try to find some other sources of information. Kevin Mark Difford <[EMAIL PROTECTED]> wrote: > Hi Kevin, >> I still have my original question. How does the output relate to >> estimat

Re: [R] Help interpreting density().

2008-07-29 Thread Mark Difford
Hi Kevin, >> I still have my original question. How does the output relate to >> estimating the parameters >> of a given density? I read that for a gausian kernal: This isn't the place for such questions: you need to do some _basic_ reading on the subject so that you begin to understand somethi

Re: [R] Help interpreting density().

2008-07-29 Thread rkevinburton
3286 7700 > mailto:[EMAIL PROTECTED] > http://www.cmis.csiro.au/bill.venables/ > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of [EMAIL PROTECTED] > Sent: Tuesday, 29 July 2008 2:15 PM > To: r-help@r-project.org > Subject

Re: [R] Help interpreting density().

2008-07-29 Thread rkevinburton
OK. Thank you for pointing out my mistake. I still have my original question. How does the output relate to estimating the parameters of a given density? I read that for a gausian kernal: bw.nrd0 implements a rule-of-thumb for choosing the bandwidth of a Gaussian kernel density estimator. It de

Re: [R] Help interpreting density().

2008-07-28 Thread Mark Difford
Hi Kevin, >> The documentation indicates that the bw is essentially the sd. >> > d <- density(rnorm(1000)) Not so. The documentation states that the following about "bw": "The kernels are scaled such that this is the standard deviation of the smoothing kernel...," which is a very different thing

Re: [R] Help interpreting density().

2008-07-28 Thread Bill.Venables
2:15 PM To: r-help@r-project.org Subject: [R] Help interpreting density(). I issue the following: > d <- density(rnorm(1000)) > d and get: Call: density.default(x = rnorm(1000)) Data: rnorm(1000) (1000 obs.); Bandwidth 'bw' = 0.2235 x y

[R] Help interpreting density().

2008-07-28 Thread rkevinburton
I issue the following: > d <- density(rnorm(1000)) > d and get: Call: density.default(x = rnorm(1000)) Data: rnorm(1000) (1000 obs.); Bandwidth 'bw' = 0.2235 x y Min. :-3.5157 Min. :2.416e-05 1st Qu.:-1.6892 1st Qu.:1.129e-02 Median :