ali_protocol
2012-Mar-31 06:03 UTC
[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. -- 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 Nabble.com.
Daniel Nordlund
2012-Mar-31 18:37 UTC
[R] A introductory question about Zips law (Newbie to statistics)
> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] > On Behalf Of ali_protocol > Sent: Friday, March 30, 2012 11:04 PM > To: r-help at 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. Michael Weylandt
2012-Apr-04 04:28 UTC
[R] A introductory question about Zips law (Newbie to statistics)
The zipfR package might be of help to you Michael On Sat, Mar 31, 2012 at 2:03 AM, ali_protocol <mohammadianalimohammadian at gmail.com> wrote:> 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 Nabble.com. > > ______________________________________________ > R-help at 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.