MathGroup Archive 2007

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

Search the Archive

Re: Means


On Mar 2, 4:37 am, "JGBo... at gmail.com" <JGBo... at gmail.com> wrote:
> I was wondering if anyone knew how to take the mean of only half of a
> paired order. I have a table of 3000 pairs and want to take the
> average of the last half of the last number in the pair. I do this by
> N[Mean[Map[Last, list]]] is there any way to map to the last half of
> the list. Thanks

N[Mean[Last /@ Part[list, Range[Length[list]/2, Length[list]]]]]

Cheers,

Raj



  • Prev by Date: Re: Problems with simplify and Sqrt[a^2]
  • Next by Date: Re: Problems with simplify and Sqrt[a^2]
  • Previous by thread: Re: Means
  • Next by thread: Re: Means