MathGroup Archive 2006

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

Search the Archive

Re: Conditions with Statistical Functions


x={10,20,150,200,250};

Mean[Select[x,#>100&]]

200


Bob Hanlon


---- Gregory Lypny <gregory.lypny at videotron.ca> wrote: 
> Hello everyone,
> 
> Is it possible to attach conditions to statistical functions, for  
> example, computing the mean of a list but only of the numbers that  
> are bigger than 100?
> 
> 
> Regards,
> 
> 	Gregory
> 


  • Prev by Date: Re: Re: Re: Calling .exe with Arguments - Run[] Issue
  • Next by Date: Re: 2D/3D plots scaled to unit of dimension
  • Previous by thread: Conditions with Statistical Functions
  • Next by thread: Re: Conditions with Statistical Functions