search for: zipf

Displaying 20 results from an estimated 25 matches for "zipf".

Did you mean: zip
2008 Dec 27
1
Zipf fitting using R
Dear R-users, I am new to R and would like to use it for fitting the zipf distribution to some numeric data that I have. Here's the snippet that I use: library(VGAM) X <- read.table(file("~\\mydata.txt", encoding="latin1")) w <- as.vector(t((X[2]))) w <- w/sum(w) y <- (1:length(w)) fit = vglm (y ~ 1, zipf, tra=TRUE, weight=w)...
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 version deleted]]
2005 Jan 25
1
Zipf random number generation
Hi, Is there a Zipf-like distribution RNG in R? Thanks, Weiguang
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 para...
2011 Feb 04
2
vegan and sweave using xtable
...son 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 Zipf 0.11033 -0.74705 61.0465 340.9567 346.0219 Mandelbrot 100.52 -2.312 24.084 4.2271 286.1372 293.7350 I want to include the table shown above into the latex document (using xtable). library(xtable) xtable(mod) Error in UseMethod("xtable") : no applicable me...
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
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...
2004 Nov 21
1
Analysis of pre-calculated frequency distribution?
...80 times with a frequency of 1, another property occurs 9442 times with the same frequency. At the other end of the extreem, a certain property occurs once with a frequency of 5734, and another property occurs twice with a frequency of 1625. This kind of distribution is variously known as a "zipf", a "power law", a "Pareto", "scale free", "heavy tailed" or a "80:20" distribution, or coloquially "the dominance of the few over the many". The term I choose is a "log linear" distribution, because that makes no assumption...
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
2009 Aug 03
2
fitting a truncated power law
Dear all, How can I fit a truncated power law to a vector? I can't find a function to do that. If the function provides an AIC, even better. John
2002 Sep 26
2
[LLVMdev] question about GetElementPtr Instruction
...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 future and use some kind of Zipf encoding to avoid increasing bytecode size in the common case.) There is a routine TargetData::GetIndexedOffset to convert any ptr + index list to the actual byte offset for a particular target machine. See llvm/include/Target/TargetData.h. --Vikram > -----Original Message----- > From:...
2001 Jun 05
1
11.82 bpw clarification (was Re: ssh-keygen(1) misinfo: English prose entropy 0.6 - 1.3 b/char!)
...stimated Entropy of English by Shannon Game Simulation" A reasonable primer on Shannon's estimates of entropy. http://www.stanford.edu/~vjsriniv/project/entropy_of_english_9.htm Covers both of Shannon's methods for estimating H for English (by character using n-grams, by word using Zipf's relations) http://www.voynich.nu/wordent.html "From digraph entropy to word entropy in the Voynich MS" This is cited here because it relates bits per letter and bits per word by the trivial relation of summing, and because it's very cool. Note that for comparisons of diff...
2006 Oct 27
0
VGAM package released on CRAN
...Negative Binomial Distribution zapoisson Zero-Altered Poisson Distribution zeta Riemann's Zeta Function zetaff Zeta Distribution Family Function zibinomial Zero-Inflated Binomial Distribution Family Function zipf Zipf Distribution Family Function zipoisson Zero-Inflated Poisson Distribution Family Function
2007 Oct 17
2
power law fit with unknown zero
Dear R-helpers I would like to do a fit of the form: y = a (x+c)**b, where a, b and c are unknown. Does anybody know how to do it? Thanks Thomas
2005 Sep 30
0
AW: Problem booting bcdw with isolinux 3.11
I just checked versions again and it was working up to 3.09. not 3.10 sorry for the confusion -----Urspr?ngliche Nachricht----- Von: syslinux-bounces at zytor.com [mailto:syslinux-bounces at zytor.com]Im Auftrag von Zipf Christian Gesendet: Donnerstag, 29. September 2005 13:54 An: syslinux at zytor.com Betreff: [syslinux] Problem booting bcdw with isolinux 3.11 I try to boot Bootable CD Wizard (1.50z) by reanimatolog http://bootcd.narod.ru/ with isolinux 3.11 with the following config label 1 kernel /bcdw/bc...
2007 Nov 08
1
Booting of bcdw from isolinux does not work anymore with 3.52 but works with 3.51
Hi I am having problems loading bcdw (http://bootcd.narod.ru) from the isolinux bootloader. I use this to load the acronis programs. It worked fine up till version 3.51 but does not work anymore with 3.52. Here is the code to load the second bootmanager label l kernel /bcdw/bcdwboot.bin Any insights to what might be wrong here? With 3.52 I get Error! Cannot load
2001 Nov 22
0
winbindd, getent, primary group issue
...primary group all files were created with gid 10000 (Domain users). This seems to be a little inconsistent to me... Q: is this the intended behaviour and if not, how to get the 'correct' behaviour? karl - Karl Kiniger ki@kretz.co.at Kretztechnik AG OE5KVN Tiefenbach 15 A-4871 Zipf Tel: (++43) 7682-3800-710 Fax (++43) 7682-3800-47
2009 Jun 03
0
Revolutions blog: May roundup
...based on an r-help thread, shows how to make outlined text in charts. http://bit.ly/zsKsX reviews articles about R in Finance in Wall Street and Technology and Cnet News. http://bit.ly/yJrra links to instructions for applying cloud computing to R with Amazon EC2. http://bit.ly/ODz5M investigates Zipf's power-law distribution for cities, with log-log population plots. http://bit.ly/NV1Le reveals how to find other R users on Twitter with the #rstats hashtag. http://bit.ly/1ayebn reviews the inaugural issue of the R Journal. http://bit.ly/W4hPi links to a Wired article about Google using R...
2002 Sep 27
0
[LLVMdev] Another question about GetElementPtr Instruction
...d > 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 future and use some kind of Zipf encoding to > avoid increasing bytecode size in the common case.) > > There is a routine TargetData::GetIndexedOffset to convert any ptr + index > list to the actual byte offset for a particular target machine. See > llvm/include/Target/TargetData.h. > > --Vikram > >...
2002 Sep 25
3
[LLVMdev] question about GetElementPtr Instruction
I have a question about GetElementPtr. Suppose I have an GetElementPtr Instruction GI: %reg = getelementptr %ST* %s, uint 1, ubyte 2, ubyte 1, uint 5, uint 13 I want to check if this is the reference of a component of a structure, how can I do that? Should I check which operand of this instruction is 'ubyte' type? How can I do that in code? should I use ubyte *a =