Displaying 20 results from an estimated 2000 matches similar to: "Need help.."
2000 Mar 01
2
Help please..
Hello R-world,
I am facing a peculiar problem and hope someone out there
can comment on it.
In goodness-of-fit tests for evaluation of distributions,
there are three well-known methods:
1. Chi-square
2. Anderson-Darling
3. Kolmogorov-Sminrov
I am trying to use the second test. Many researchers have
reported results using this test. I wrote programs in C and
now in R to do this. I run into
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
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
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]]
2010 Nov 09
2
simulation from pareto distn
Dear all,
I am trying to simulate from truncated Pareto distribution. I know there is
a package called PtProcess for Pareto distribution...but it is not for
truncated one. Can anyone please help me with this?
Thanks in advance.
Cassie
[[alternative HTML version deleted]]
2008 Jan 07
2
reducing the number of x-axis lables in a bwplot while plotting all boxes
I apologize if this is somewhere in the archives, but I can't seem to find
a solution to this question.
I've been trying to plot a bwplot:
print(
bwplot( n.pareto ~ as.factor(gen) | mut.rate * n.pop,
data=p6,
horizontal=FALSE,
box.ratio=0.75,
cex=0.6,
xlim=c(-1,51),
ylim=c(-1,500),
2009 Aug 22
1
kernel density estimates
Dear All,
I have a variable q which is a vector of 1000 simulated positive 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 given code for kernel density estimation to estimate the
2011 Jun 04
1
packages for power law distribution
p { margin-bottom: 0.08in; }
Dear All,
I will appreciate some
suggestions of R packages for "ESTIMATION OF THE EXPONENT OF
POWER-LAW FREQUENCY DISTRIBUTIONS". I have been searching at
the R-help list several keywords for this subject and I did not find
a very specific package, except the useful normalp package. I
believe there are others but I was not able to identify it. I have
2008 Oct 23
1
distribution fitting
Dear R-help readers,
I am writing to you in order to ask you a few questions about distribution
fitting in R.
I am trying to find out whether the set of event interarrival times that I
am currently analyzing is distributed with a Gamma or General Pareto
distribution. The event arrival granularity is in minutes and interarrival
times are in seconds, so the values I have are 0, 60, 120, 180, and
2009 Aug 19
1
Hist & kernel density estimates
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
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:
2009 Aug 19
1
Fw: Hist & kernel density estimates
For the hist estimate
>par(mex=1.3)
>dens<-density(q)
>options(scipen=4)
> ylim<-range(dens$y)
> h<-hist(q,breaks="scott",freq=FALSE,probability=TRUE,
+? right=FALSE,xlim=c(9000,16000),ylim=ylim,main="Histogram of q(scott)")
> lines(dens)
>box()
?
For the kernel estimate>options(scipen=4)
> d <- density(q, bw =
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
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
2006 Jan 20
2
big difference in estimate between dmvnorm and dnorm, how come?
Dear R community,
I was trying to estimate density at point zero of a multivariate
distribution (9 dimensions) and for this I was using a multinormal
approximation and the function dmvnorm , gtools package.
To have a sense of the error I tried to look the mismatch between a
unidimensional version of my distribution and estimate density at
point zero with function density, dmvnorm and dnorm.
At
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",
2003 Aug 28
2
ks.test()
Dear All
I am trying to replicate a numerical application (not computed on R) from an
article. Using, ks.test() I computed the exact D value shown in the article
but the p-values I obtain are quite different from the one shown in the
article.
The tests are performed on a sample of 37 values (please see "[0] DATA"
below) for truncated Exponential, Pareto and truncated LogNormal
2020 Oct 21
1
Fitting Mixed Distributions in the fitdistrplus package
Dear Sirs,
The below listed code fits a gamma and a pareto distribution to a data set
danishuni. However the distributions are not appropriate to fit both tails
of the data set hence a mixed distribution is required which has ben
defined as "mixgampar"
as shown below.
library(fitdistrplus)
x<- danishuni$Loss
fgam<- fitdist(x,"gamma",lower=0)
fpar<-
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