Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Means

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73944] Re: Means
  • From: "Raj" <rajanikanth at gmail.com>
  • Date: Sat, 3 Mar 2007 01:15:07 -0500 (EST)
  • References: <es9295$3na$1@smc.vnet.net>

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