= psStats validation tests = == 2013-10-16 == For these tests, I generated 1e5 sample distributions. The mean of the sample distributions was set to 0.0, and the sigma value randomly drawn from the range [0:100]. For each of these distributions, I drew 1e5 samples, and placed them in a psVector type, and passed this to psVectorStats to calculate the sample mean/stdev, clipped mean/stdev, robust median/stdev, and fitted mean/stdev. In addition, the first row shows the "direct" measurements, the mean and standard deviation values calculated directly from the sample values. || Statistic || ipp-20130712 tag || || czw working trunk || || || direct vs input || [[Image(tag_direct_mean.png,500px)]] || [[Image(tag_direct_sigma.png,500px)]] || [[Image(trunk_direct_mean.png,500px)]] || [[Image(trunk_direct_sigma.png,500px)]] || || sample || [[Image(tag_sample_mean.png,500px)]] || [[Image(tag_sample_sigma.png,500px)]] || [[Image(trunk_sample_mean.png,500px)]] || [[Image(trunk_sample_sigma.png,500px)]] || || clipped || [[Image(tag_clipped_mean.png,500px)]] || [[Image(tag_clipped_sigma.png,500px)]] || [[Image(trunk_clipped_mean.png,500px)]] || [[Image(trunk_clipped_sigma.png,500px)]] || || robust || [[Image(tag_robust_mean.png,500px)]] || [[Image(tag_robust_sigma.png,500px)]] || [[Image(trunk_robust_mean.png,500px)]] || [[Image(trunk_robust_sigma.png,500px)]] || || fitted || [[Image(tag_fitted_mean.png,500px)]] || [[Image(tag_fitted_sigma.png,500px)]] || [[Image(trunk_fitted_mean.png,500px)]] || [[Image(trunk_fitted_sigma.png,500px)]] ||