[R] Hist & kernel density estimates
David Winsemius
dwinsemius at comcast.net
Wed Aug 19 17:46:16 CEST 2009
On Aug 19, 2009, at 11:34 AM, indranil basu wrote:
> Hi,
> I think I've not received the attachment. Please check.
In all likelihood the OP did not read and follow the instructions
regarding attachments that are to be found in the Posting Guide.
> Thanks and Regards.
> - Indranil Basu,
> Bangalore, India
>
> On Wed, Aug 19, 2009 at 9:01 PM, maram salem <marammagdysalem at yahoo.com
> >wrote:
>
>> Dear All,
>> Attached are the codes of a histogram & a kernel density estimate
>> and the
>> output they produced.
>>
>> In fact the variable q is a vector of 1000 simulated values; that
>> is I
>> generated 1000 samples from the pareto distribution, from each
>> sample I
>> calculated the value of q ( a certain fn in the sample
>> observations), and
>> thus I was left with 1000 values of q and I don't know the
>> distribution of
>> q.
>>
>> Hence, I used the attached codes for histogram and kernel density
>> estimation toestimate the density of q.
>>
>> But what I'm really intersed in is to estimate the probability that
>> q is
>> greater than a certain value , for ex.,P(q>11000), using the density
>> estimates I obtained.
>> Could u help me with a fn or some document to do this?
>> Thank u so much
>>
>> Maram
>>
>>
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
More information about the R-help
mailing list