Displaying 20 results from an estimated 1000 matches similar to: "Zipf fitting using R"
2010 Oct 11
1
plotting Zipf and Zipf-Mandelbrot curves in R
Using R, I plotted a log-log plot of the frequencies in the Brown Corpus
using
plot(sort(file.tfl$f, decreasing=TRUE), xlab="rank", ylab="frequency",
log="x,y")
However, I would also like to add lines showing the curves for a Zipfian
distribution and for Zipf-Mandelbrot.
I have seen these in many articles that used R in creating graphs.
Thank you!
	[[alternative HTML
2005 Jan 25
1
Zipf random number generation
Hi,
Is there a Zipf-like distribution RNG in R?
Thanks,
Weiguang
2009 Aug 21
2
using loglog link in VGAM or creating loglog link for GLM
I am trying to figure out how to apply a loglog link to a binomial  
model (dichotomous response variable with far more zeros than ones).   
I am aware that there are several relevant posts on this list, but I  
am afraid I need a little more help.  The two suggested approaches  
seem to be: 1) modify the make.link function in GLM, or 2) use the  
loglog or cloglog functions in the VGAM package. 
2007 Feb 08
1
Zeta and Zipf distribution
Dear R user,
 I want to estimate the parameter of ZETA or/and ZIPF distributions 
using R, given a series of integer values. Do you know a package 
(similar to MASS) or a function (similar to fitdistr) I can use to 
estimate the parameter of these distributions using MLE method? 
Otherwise do you know a function (which use MLE method to estimate 
distribution parameters) that allow me to specify a
2012 Apr 23
2
zipfR help
Hi,
I have a question on generating random variables based on zipf-mandelbrot
distribution.
So when I execute the following lines:
ZM = lnre ("zm", alpha = 2/3, B=0.1)
zmsample = rlnre (ZM, n =100)
zmsample
It generates 100 random values based on a zipf-mandelbrot distribution as
below.  But how do I make sure the generated random number is within the
range of 1 - 6000 only?  Can I
2012 Mar 31
2
A introductory question about Zips law (Newbie to statistics)
Hi everyone.
Newbie to statistics.
I have 40 matrices of ~400 values. how may I determine whether the
distribution follows zips law?
response <-sample (1:20,400*4, replace= TRUE)
Thank you vry much. 
--
View this message in context: http://r.789695.n4.nabble.com/A-introductory-question-about-Zips-law-Newbie-to-statistics-tp4521190p4521190.html
Sent from the R help mailing list archive at
2006 Oct 27
0
VGAM package released on CRAN
Dear useRs,
upon request, the VGAM package (currently version 0.7-1) has been
officially released on CRAN (the package has been at my website
http://www.stat.auckland.ac.nz/~yee/VGAM for a number of years now).
VGAM implements a general framework for several classes of
regression models using iteratively reweighted least squares
(IRLS). The key ideas are Fisher scoring, generalized linear
and
2011 Feb 04
2
vegan and sweave using xtable
Dear all,
Using:
library(vegan)
data(BCI)
mod <- radfit(BCI[1,])
mod
RAD models, family poisson
No. of species 93, total abundance 448
            par1      par2     par3    Deviance AIC      BIC
Null                                   39.5261 315.4362 315.4362
Preemption  0.042797                   21.8939 299.8041 302.3367
Lognormal   1.0687    1.0186           25.1528 305.0629 310.1281
2004 Nov 21
1
Analysis of pre-calculated frequency distribution?
Sorry for the dumb question, but I cant work out how to do this. 
Quick version, 
How can I re-bin a given frequency distribution using new breaks without
reference to the original data? Given distribution has integer valued
bins.
Long version,
I am loading a frequency table into R from a file. The original data is
very large, and it is a very simple process to get a frequency
distribution
2006 Sep 19
1
R CMD check fails at package dependencies check on Fedora Core 5, works on other systems
I'm testing a FC5 machine for use in a student lab.  R 2.3.1 is installed and 
seems to work fine.  There is one peculiarity - the logins are authenticating 
to a server, and a "verbose" flag is set somewhere, leading to lots of 
spurious messages like this
request done: ld 0xa227598 msgid 1
which may be confusing R.
However, R CMD check seems to fail for packages with no
2002 Sep 26
2
[LLVMdev] question about GetElementPtr Instruction
You are correct, ubyte 2 simply means 3rd element of the structure.  This
quantity is always constant (it specifies the field number), so we could
have used any signed or unsigned integer type for it instead of ubyte.
UByte means we are limited to at most 256 structure fields but it also makes
the bytecode representation more compact.  (To remove this restriction, we
may migrate to UInt in the
2008 Aug 05
4
Buggy bios, boot of dos image hangs with syslinux, but not with isolinux
Hi 
We have a couple of FSC Computers here which seem to have a very strange
bios. I am trying to boot a MS-DOS disk to flash an Scsi Raid
controller.
Since the computer doesn't have a floppy anymore I tried syslinux from
an usb stick. The menu loads fine but I cannot boot disc images with
memdisk on this computer. It works fine on others, of course.
But now comes the weird part, if I use the
2009 Dec 11
2
Regularized gamma function/ incomplete gamma function
Dear all,
I would be very grateful if you could help me with:
Given the regularized gamma function Reg=int_0^r (x^(k-1)e^(-x))dx/int_0^Inf (x^(k-1)e^(-x))dx ; 0<r<Inf (which is eventually the ratio of the
Incomplete gamma function by the gamma function), does anyone know of a package in R that would evaluate the derivative of the inverse of Reg with respect to k? I am aware that the
2009 Jan 15
2
Interface to open source Reporting tools
Hi,
I am a new user of R 2.8.1. I use Tinn-R for code editing.  I use a windows
2003 system with  1 GB RAM.
I am interested to generate  dashboard and reports based on data from  MS
Access.  These reports need to be posted on a weekly basis to the web. The
reporting interface should provide facilities for "what if" scenarios.
Is it possible to interface R analysis results to good open
2013 Apr 17
1
Bug in VGAM z value and coefficient ?
Dear,
When i multiply the y of a regression by 10, I would expect that the
coefficient would be multiply by 10 and the z value to stay constant. Here
some reproducible code to support the case.
*Ex 1*
library(mvtnorm)
library(VGAM)
set.seed(1)
x=rmvnorm(1000,sigma=matrix(c(1,0.75,0.75,1),2,2))
2009 Jun 05
2
p-values from VGAM function vglm
Anyone know how to get p-values for the t-values from the coefficients  
produced in vglm?
Attached is the code and output ? see comment added to output to show  
where I need p-values
+     print(paste("**********   Using VGAM function gamma2 **********"))
+     modl2<- 
vglm(MidPoint~Count,gamma2,data=modl.subset,trace=TRUE,crit="c")
+     print(coef(modl2,matrix=TRUE))
2012 Jan 10
1
S4 summary method not being called (VGAM)
The symptom triggering this email is that an S4 summary method sometimes refuses to be invoked, even when a package is explicitly loaded, if the first load of the package is implicit. It may or may not be specific to 'summary' methods and/or the 'VGAM' package. I've sent to R-devel because (i) it looks like some kind of bug to me, but I'm not sure; (ii) it's not
2008 Apr 18
2
rzinb (VGAM) and dnbinom in optim
Dear R-help gurus (and T.Yee, the VGAM maintainer) - 
I've been banging my head against the keyboard for too long now, hopefully someone can pick up on the errors of my ways...
I am trying to use optim to fit a zero-inflated negative binomial distribution.  No matter what I try I can't get optim to recognize my initial parameters. I think the problem is that dnbinom allows either
2007 Oct 29
1
VGAM and vglm
Hi Folks,
I wonderif someone who is familiar with the details
of vglm in the VGAM package can assist me. I'm new
to using it, and there doesn;t seem much in the
documentation that's relevant to the question below.
Say I have a vector x of 0/1 responses and another
vector y of 0/1 responses, these in fact being a
bivariate set of 0/1 responses equivalent to
cbind(x,y).
E.g.
2006 Nov 03
4
some simple newbie help with dialplan needed...
Hi all!
I need a simple plan for the following:
*answer call
*wait for 4 digit extension
*send call to 4-digit extension entered.
I tried the following, but that doesn't work...
exten => 998,1,Answer()
exten => 998,2,Background(agent-newlocation)
exten => 998,n,WaitExten(20)
exten => 998,n,Dial(SIP/${EXTEN}@${SERADDRESS},60,tr)
WaitExten obviously does not fill EXTEN with