[R] How to plot density distribution based on mean values and quantiles in R?

Jim Lemon drjimlemon at gmail.com
Tue Jul 19 08:20:49 CEST 2016


Hi Daniel,
Judging by the numbers you mention, the distribution is either very
skewed or not at all normal. If you look at this:

plot(c(0,0.012,0.015,0.057,0.07),c(0,0.05,0.4,0.05,0),type="b")

you will see the general shape of whatever distribution produced these
summary statistics. Did the paper give any hints as to what the model
distribution might be?

Jim


On Tue, Jul 19, 2016 at 7:11 AM, gcchenleidenuniv
<gcchenleidenuniv at gmail.com> wrote:
> Hi all,
>
> I need to draw density curves based on some published data. But in the article only mean value (0.015 ) and quantiles (Q0.15=0.012 , Q0.85=0.057) were given. So I was thinking if it is possible to plot density curves solely based on the mean value and quantiles. The dnorm(x, mean, sd, log) function needs the standard deviation which was not mentioned, so it can not be used in this situation.
>
> Many thanks!!
> Daniel
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list