MathGroup Archive 2003

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

Search the Archive

Re: Basic Stat Question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg42606] Re: Basic Stat Question
  • From: bobhanlon at aol.com (Bob Hanlon)
  • Date: Fri, 18 Jul 2003 05:24:59 -0400 (EDT)
  • References: <bf5koe$mig$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Needs["Statistics`DescriptiveStatistics`"];

Mean[Cases[l1, {x_, _?(s<#<t&)}:>x]]

Table[{age, Mean[Cases[l1, {height_, age}:>height]]},{age,18}]

Cases[l1, {___, "Boy",___}]


Bob Hanlon

In article <bf5koe$mig$1 at smc.vnet.net>, Moranresearch at aol.com wrote:

<< I have a list l1= {{xi,yi}}
I want to find the Mean xi where s <y <  t
for a series of s and t.

So say I have the height of a million children and I want to know the average 
height at age 1, 2, 3...18. How do I do this?

Also the data a field "Gender" how do I select the subset "Girls" or "Boys" 
to analyze.


  • Prev by Date: Re: Usage of tex
  • Next by Date: Resolve non linear equation with different derivates
  • Previous by thread: Re: Basic Stat Question
  • Next by thread: Re: Basic Stat Question