|
From: | Shaun Jackman |
Subject: | Statistics of a histogram |
Date: | Fri, 30 Jan 2009 10:44:02 -0800 |
User-agent: | Thunderbird 2.0.0.19 (X11/20081209) |
Hi,I have a matrix representing samples of data [x n] meaning that x(i) was observed n(i) times. Are there functions to calculate the statistics of observations in this format? I can calculate the mean easily enough:
sum(x .* n) / sum(n) How do find the pth percentile? Cheers, Shaun
[Prev in Thread] | Current Thread | [Next in Thread] |