Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

Re: Re:two dimensional distribution

  • To: mathgroup at smc.vnet.net
  • Subject: [mg24067] Re: [mg24045] Re:two dimensional distribution
  • From: "Richard Finley" <rfinley at medicine.umsmed.edu>
  • Date: Thu, 22 Jun 2000 01:02:00 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Debbie,
It isn't clear from your description if the days are unique in an increasing linear range or if, for example, day x can occur multiple times.  Assuming that you just want to calculate the distribution of the Log of the y values over the number of days they occur you can use something like this:

data = {{x1,y1},{x2,y2},...}}
logData = Apply[{#1,Log[10,#2]}&,data,1]

Then load the packages
<<Statistics`DataManipulation`
<<Graphics`Graphics`

where you will find the BinCounts and BarChart procedures helpful.

for example,  something like
BarChart[BinCounts[Transpose[logData][[2]], {-1,4,.25}]]

depending on how fine you wanted to partition the Log y values (see the help index for these procedures).

regards,  RF

>>> "Deborah Leddon    " <Dleddon at students.cas.unt.edu> 06/21/00 12:20AM >>>
Hello,

I have a two dimensional data set, {{x1,y1},{x2,y2},...{xn,yn}}, 
where x ranges from 0.5 days to 2887.5 days and the y values 
range from 0.25 to 6100. How does one get and plot the Log base 
10  distribution of  these values? I guess it would involve somehow  
determining a range of days for which so many y values occur ( a 
frequency list of y values per x number of days?).

Any ideas? 

Thanks alot if anyone can help.

Regards,
Debbie



Thanks alot if anyone can help




  • Prev by Date: Re: Pattern Matching
  • Next by Date: Re: User problem
  • Previous by thread: Re:two dimensional distribution
  • Next by thread: Conversion of Orderless functions to non Orderless one