[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pdf estimation
From: |
CdeMills |
Subject: |
pdf estimation |
Date: |
Mon, 3 Oct 2011 10:01:50 -0700 (PDT) |
Hello,
let's define x as x=randn(200,1);
An approximation of x cdf can be obtained as
plot(sort(x), (0:199)/200);
I tried to estimate the pdf as:
pp=spline(sort(x), (0:199)/200);
ppd=ppder(pp);
x_pdf = ppval(ppd, sort(x))
but the obtained values just exhibit large spikes and nothing usefull can be
extracted. Is there some way, starting from a random variable, to obtain a
smooth estimator of its cdf which can lead to an estimator of its pdf ?
Regards
Pascal
--
View this message in context:
http://octave.1599824.n4.nabble.com/pdf-estimation-tp3868110p3868110.html
Sent from the Octave - General mailing list archive at Nabble.com.
- pdf estimation,
CdeMills <=