similar to: simulation from pareto distn

Displaying 20 results from an estimated 1000 matches similar to: "simulation from pareto distn"

2017 Aug 24
1
rmutil parameters for Pareto distribution
In https://en.wikipedia.org/wiki/Pareto_distribution, it is clear what the parameters are for the pareto distribution: *xmin *the scale parameter and *a* the shape parameter. I am using rmutil to generate random deviates from a pareto distribution. It says in the documentation that the probabilty density of the pareto distribution The Pareto distribution has density f(y) = s (1 + y/(m
2010 Nov 14
2
replace a row in a matrix
Dear all, I created a n*2 matrix and I want to replace the ith row with a vector. Can anyone suggest me what is the simple way to do it? Sorry for bothering you with such simple question. I appreciate any hints or advice. Thanks in advance. Cassie [[alternative HTML version deleted]]
2011 Apr 08
4
Simulation from discrete uniform
Dear all, I am trying to simulate from discrete uniform distribution. But I could not find any in-built code in R. Could anyone help me please? Thanks in advance for the time and help. Cassie [[alternative HTML version deleted]]
2012 Apr 10
1
how to convert seconds to 12 hour time format
Hello everyone, I am wondering if there is any routine in R which can convert time given in 'seconds' unit to the 12 hour time format. For example, suppose the data set looks like x=c(36885,84000,20) #x in seconds I want to get the output as [1] " 11:14:45 AM" [2] " 11:20:00 PM" [3] "12:20:00 AM" Does anyone have any idea? Thanks in advance. Cassie
2007 Jul 10
3
ECDF, distribution of Pareto, distribution of Normal
Hello all, I would like to plot the emperical CDF, normal CDF and pareto CDF in the same graph and I amusing the following codes. "z" is a vector and I just need the part when z between 1.6 and 3. plot(ecdf(z), do.points=FALSE, verticals=TRUE, xlim=c(1.6,3),ylim=c(1-sum(z>1.6)/length(z), 1)) x <- seq(1.6, 3, 0.1) lines(x,pgpd(x, 1.544,0.4373,-0.2398), col="red") y
2010 Sep 29
1
executing loop
Dear All, I am trying to define a loop for a m*n matrix, where i=1:n and j=1:m. Unlike the usual for loop, i should go in the following way: For j=1, i=1,2,3,....n For j=2, i=n,n-1,n-2,......,1 For j=3, i=1,2,3,.....n etc. which means i should go in either increasing or decreasing order alternatively. Can anyone please help me in doing this? Thanks, Cassie [[alternative HTML version
2010 Jan 04
3
how to plot multiple density functions in one graph
Hello, I am new to R and have two easy questions. How can you plot multiple density functions in one graph? I have five beta densities that I would like to plot in one graph. I understand how to plot one beta density as a line: plot (x,(dbeta(x,shape1=,shape2=,), type ="l") Does the Pareto distribution need to be added to R with an additional package? thanks, John [[alternative
2005 Jan 09
2
How can I simulate Pareto distribution in R?
Hi, guys, I need to simulate Pareto distribution. But I found 'rpareto' didn't exist in R. And it seems that Pareto distribution don't have mathematical relationships with other distributions. What can I do? Thanks a lot. Ni --------------------------------- [[alternative HTML version deleted]]
2007 Jul 11
1
CDF for pareto distribution
Hi, I would like to use the following codes to plot the CDF for pareto distribution. Before doing this, I have plot the emperical one. x <- seq(1.6, 3, 0.1) lines(x,pgpd(x, 1.544,0.4477557,), col="red") Could anyone give me some advice whether the above codes are correct? Many thanks. -- View this message in context:
2007 Jun 13
2
Fitted Value Pareto Distribution
I would like to fit a Pareto Distribution and I am using the following codes. I thought the fitted (fit1) should be the fitted value for the data, is it correct? As the result of the "fitted" turns out to be a single value for all. fit=vglm(ycf1 ~ 1, pareto1(location=alpha), trace=TRUE, crit="c") fitted(fit) The result is fitted(fit) [,1] [1,] 0.07752694
2007 Jun 13
1
VGAM Pareto
I would like to fit a Pareto Distribution and I am using the following codes fit=vglm(ycf1 ~ 1, pareto1(location=alpha), trace=TRUE, crit="c") fitted(fit) But the fitted values turn out to be the same for each observation. I guess the problem is with "ycf1 ~ 1", I would be grateful if anyone can give me some advice on how to define the formula. Many thanks -- View this
2007 Dec 09
3
Barchart, Pareto
Hello Well I am relatively new so some of these issues may not fall under the subject that I have used. 1. How do I do a Pareto. Following is the approach I took. My data looks like this df2_9 Reaason.for.failure Frequency 1 Phy Conn 1 2 Power failure 3 3 Server software 29 4 Server hardware 2 5 Server out of mem 32
2010 Oct 06
2
ggplot2 Pareto plot (Barplot in decreasing frequency)
Hi all I have a large dataframe with (among others) a categorical variable of 52 levels and would like to create a barplot with the bars ordered in decreasing frequency of the levels. I belive it is referred to as a pareto plot. Consider a subset where I keep only the categorical variable in question. # Example: v1 = c("aa", "cc", "bb", "bb",
2002 Jan 31
2
Is there a function to plot a Pareto diagram?
Hi- Is there a quick way to plot a Pareto diagram? I couldn't find one. I'm being forced to do some pretty weird stuff, with awk and all, to extract data in order to plot the frequency of qualitative data from a larger set. Perhaps it's just my GNUrance. I mean, one day, if I have time, I might even write a generic Perl script, but right now, it doesn't look too good on the
2005 Jun 03
1
GARCH (1 , 1), Hill estimator of alpha, Pareto estimator
Dear R users, Could you please help me out. I am in trouble as I am unable to model graphs to explain the GARCH (1 , 1) model, the Hill estimator (of alpha), and the Pareto estimator. I just got introduce to R. I am working on a paper which must be worked from R. You look at the difficulty I had from the text below. [1] "DAX" "DAX_CAC" "DAX_CAC40"
2012 Jan 04
1
KS and AD test for Generalized PAreto and Generalized Extreme value
Dear R helpers, I need to use KS and AD test for Generalized Pareto and Generalized extreme value. E.g. if I need to use KS for Weibull, I have teh syntax ks.test(x.wei,"pweibull", shape=2,scale=1) Similarly, for AD I use ad.test(x, distr.fun, ...) My problem is fir given data, I have estimated the parameters of GPD and GEV using lmom. But I am not able to find out the distribution
2010 Apr 19
2
Truncated Normal Distribution and Truncated Pareto distribution
Dear R helpers, I have a bimodal dataset dealing with loss amounts. I have divided this dataset into two with the bounds for the first dataset i.e. dataset-A being 5,000$ to 100,000$ and the dataset-B deals with the losses exceeding 100,000$ i.e. dataset-B is left truncated. I need to fit truncated normal disribution to dataset - I having lower bound of 5000 and upper bound of 100,000. While I
2008 Dec 18
1
Random Number Generation using (Generalized) Extreme Value distribution and Pareto distribution
Hi R helpers, Is there any function in R, which generates random numbers in case of (1) Generalized Extreme Value distribution and (2) Generalized PAreto distribution for the respective given set of parameters? Regards Maithili
2013 Jan 21
0
random draw from a RESTRICTED pareto distribution
Dear R user, I am a newcomer and need help concerning 'draw a random number for a restricted area of a prareto distribution'. (1) For estimation of pareto distribution: >http://stats.stackexchange.com/questions/27426/how-do-i-fit-a-set-of-data-to-a-pareto-distribution-in-r< We calculate the pareto distribution (parameter estimation) as follows: pareto.MLE <- function(X) { n
2011 Jun 03
0
Pareto Chart using GUI
Hi, I am exploring GUI's for doing Quality Management/Assurance/Improvement activities and this is another mail in series! Focus of this mail is Pareto Analysis for following data (Truncated): Date Defect code Operator Shift Machine Cost - Internal Cost - External Cost - Total 8-Jun-2011 410 Joe 1 AAA 5 50 55 8-Jun-2011 465 Joe 1 AAA 1.5 25 26.5 8-Jun-2011 412 Joe 1 AAA 1.5 10 11.5