MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Statistical Analysis & Pattern Matching

  • To: mathgroup at smc.vnet.net
  • Subject: [mg64527] Re: Statistical Analysis & Pattern Matching
  • From: "Borut Levart" <BoLe79 at gmail.com>
  • Date: Mon, 20 Feb 2006 22:31:01 -0500 (EST)
  • References: <dtc9rl$a5m$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

data = Table[Random[Integer, {1, 6}], {1000}];
Sort[{#, Count[data, #]} & /@ Union[data], #2[[2]] < #1[[2]] &]
{{1, 177}, {4, 173}, {6, 170}, {5, 166}, {3, 158}, {2, 156}}

This dice throw simulation favoured 1 before 2 with ratio of 177
against 156,
or did it?


  • Prev by Date: Re: Map-like behaviour for functions of more than a single argument?
  • Next by Date: question about Split[...]
  • Previous by thread: Statistical Analysis & Pattern Matching
  • Next by thread: Re: Statistical Analysis & Pattern Matching