Re: [R] Double Pareto Log Normal Distribution DPLN

2013-11-16 Thread b. alzahrani
you could help, Now I >>> want to pass this curve to a function that can generate random numbers >>> distributed according to DPLN ( right curve). >>> >>> I found the package Runuran can do that >>> http://cran.r-project.org/web/packages/Runuran/Runuran.pdf

Re: [R] Double Pareto Log Normal Distribution DPLN

2013-11-14 Thread b. alzahrani
e >>> http://www.math.uvic.ca/faculty/reed/dPlN.3.pdf i.e. the original paper on >>> Double Pareto Log Normal Distribution ). > > can you please see the >>> correction in this >>> linkhttp://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0

Re: [R] Double Pareto Log Normal Distribution DPLN

2013-11-14 Thread David R Forrest
>> ****************** >> Bander >> * >> >> >> >> From: d...@vims.edu >> To: cs_2...@hotmail.com >> Subject: Re: [R] Double Pareto Log Normal Distribution DPLN >> Da

Re: [R] Double Pareto Log Normal Distribution DPLN

2013-11-13 Thread David R Forrest
...Additionally...your set of parameters match none of the curves in figure 4. I think the ordering of the parameters as listed on the graphs is different than in the text of the article. The 'v' parameter controls the location of the 'elbow' and should be near log(x) in each graph, while the '

Re: [R] Double Pareto Log Normal Distribution DPLN

2013-11-13 Thread David R Forrest
Looks like there are typos in equation 8 of http://cs.stanford.edu/people/jure/pubs/dpln-kdd08.pdf (expo2 doesn't depend on 'v') or equation 9 of http://www.math.uvic.ca/faculty/reed/dPlN.3.pdf ('a' is not specified). Dave On Nov 13, 2013, at 11:43 AM, "b. alzahrani" wrote: > > Hi > > I

Re: [R] Double Pareto Log Normal Distribution DPLN

2013-11-13 Thread b. alzahrani
Hi I found this paper http://cs.stanford.edu/people/jure/pubs/dpln-kdd08.pdf that models the DPLN distribution as in equation 8. I implemented this in R but cannot get the same curve as in Figure 4. can you please check if my code below is correct: e.g. is the use of pnorm() correct here? d