> -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of ali_protocol > Sent: Friday, March 30, 2012 11:04 PM > To: r-help@r-project.org > Subject: [R] 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. >
This list is generally not about statistical consulting. However, you might want to read up on Zipf's Law (for example, the link below which gives an answer to your question), and then come back and ask an R related programming question. http://en.wikipedia.org/wiki/Zipf%27s_law Dan Daniel Nordlund Bothell, WA USA ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.