[R] A introductory question about Zips law (Newbie to statistics)
Daniel Nordlund
djnordlund at frontier.com
Sat Mar 31 20:37:50 CEST 2012
> -----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
More information about the R-help
mailing list