Displaying 3 results from an estimated 3 matches for "tuvalu".
Did you mean:
tsval
2011 Oct 26
1
Using abline in lattice
Dear all,
being a relative beginner in R, I apologize for posting the second question
within two days.
So I want a stacked barchart, which should look like the one produced by
this code:
Tuvalu <- c(9,3,4,0,3,0,0)
Singapor <- c(38,0,0,0,12,19,0)
Samoa <- c(26,16,2,0,5,2,0)
PNG <- c(56,4,0,5,2,0,56)
Micronesia <- c(6,0,0,0,0,0,0)
graph4 <- data.frame(rbind(Tuvalu,Singapor,Samoa,PNG,Micronesia))
graph4$country <- c("Tuvalu","Singapore","Samoa&qu...
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
2013 Feb 15
1
Fitting pareto distribution / plotting observed & fitted dists
...CDF and the Pareto Q-Q plots.
This provided me with a visual cue of a potential power-law distribution
(at least, that's what I am boldly thinking).
So I went ahead and performed the procedure as suggested by Clauset,
Shalizi, and Newman (2007/09), by reusing the essentials found in
http://tuvalu.santafe.edu/~aaronc/powerlaws/plfit.r.
I obtained and tested the following fitting estimates based on dat1:
xmin <- 0.01715686
alpha <- 2.381581
I then simply wanted to print the observed and fitted dists in one plot,
so I ran:
library(ggplot2)
library(VGAM)
dat2 <- rpareto(length(da...