Standard Deviation Examples
Single sample Smirnov-Cramer-Von Mises goodness-of-fit hypothesis test.H = MTEST(X,ALPHA) performs the particular case of Smirnov-Cramer-Von Mises test to determine whether the null hypothesis of composite normality CDF is a reasonable assumption regarding the population distribution of a random...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Smirnov Cramer Von Mises Test Download |
Given a sample, the routine looks for outliers and gives back their indexes that identify them in the input vector.The routine allows the specification of the critical probability (alpha, default is 0.01 = 1%), can manage NaNs and, as default, it uses statistics (biweight) that are robust to...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Find Outliers with Thompson Tau Download |
Create a non isotropic 3D Gaussian PSFThe program takes three different standard deviation as input and creates a 3D non isotropic Gaussian distribution realted to it.Works faster with Statistical toolbox, but works fine without.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Create a non Isotropic 3D Gaussian Point Spread Function (PSF) Download |
Create images with diffraction-limited spots of varying size and intensity, with noise.Tristan UrsellMarch 2012Create an image with randomly positioned, diffraction-limited spots with full data on actual spot positions and parameters. Useful for testing a spot finding...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Create a Simulated Image of Diffraction Limited Spots with Noise Download |
Calculates derivative log ratio spread for copy number log ratio data per chromosome and overall. This is the standard deviation of the differences between adjacent points divided by the square root of 2. Missing values are skipped. Assumes: * Samples are rows of the spreadsheet * A marker...
Platforms: Mac
License: Freeware | Size: 10.24 KB | Download (45): Derivative Log Ratio Spread Download |
Occasionally I see a request for computation of a running, windowed standard deviation. This is easily accomplished using filter and the alternative formula for the standard deviation:std = sqrt((sum(x.^2) - n*xbar.^2)/(n-1)).Movingstd allows you to specify forward, backward or central windows of...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Moving window standard deviation Download |
it's useful to see how the mean and the standard deviation change when you use more samples to calculate it.The Array can contain NaN's but it's slower than cumstat (File ID: #26899) because it contain a for-loop
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): cumulative statistic with NaN's Download |
This function generates an overlapping histogram of multiple populations. For a demo simply type "histn".SYNTAX: h=histn(Y,X,S)Y - Data array that is NxM where N is the number of groups and M is the number of measures within each group. Right now M has to be the same for each group.X - Optional...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): histn.m Download |
Included in the first line of the script is a sample data set. The script will compute basic statistics on this data set:mean1-sigma (standard deviation)medianfirst quartile (25th percentile)second quartile (50th percentile)third quartile (75th percentile)kth percentileIQRSID
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Quartile & Percentile Calculation Download |
Let X(1),X(2),...,X(N) be the ordered statistics of a sample X1,X2,...,XN from a normal distribution. LetM = median([X1,X2,...,XN]) and S = mad([X1,X2,..XN],1)/.6745 be robust stimators of (respectively) the mean and standard deviation of the distribution.The Hampel identifier is a rule which...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Critical values for the Hampel identifier Download |
The stats toolbox provides a function to calculate the geometric mean of an array, but a function for the geometric standard deviation is oddly missing.Here is a function to fill that void, with no toolbox required.The function accepts a vector, matrix or N-D array; an optional flag to normalise...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Geometric standard deviation Download |
Considering some input arguments, this function performs n simulations with random trades in a price matrix, saving 3 performance indicators (annualized return, annualized standard deviation and annualized sharpe) at each simulationFor example, suppose that you're a trader and have earned 15% of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 194.56 KB | Download (43): Are You More Skilled than a Monkey at Trading Stocks ? Download |
Calculates the min and max of a positive triangular distribution given a standard deviation (sigma) and assuming the mode = 1.This function can handle single value,vector or matrix inputs of sigma. For sigma > 1/sqrt(6), the distribution will be asymmetrical with minimum = 0 and mode = 1.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Triangular Distribution Parameters - tridist_pars Download |
Estimates the noise standard deviation from an (MRI) image (2D) corrupted with Rician noise based on the skewness of the distribution. This method doesn't depend on the background for noise estimation. Can be used for MR images with and without background.Ref: Jeny Rajan, Dirk Poot, Jaber Juntu...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 40.96 KB | Download (43): Noise estimation from rician noise corrupted images Download |
INPUT:3 columns array.column1 (the left): sample ID or sample numbercolumn2 and column3: instrument1 and instrument 2 outoutGRAPH OUTPUT:Bland Altman scatter plot with mean difference line and +-2 SD lines.CONSOLE OUTPUT:diffmean = mean of the difference (the same you see in plot)sdev = standard...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Bland Altman Plots. Andrea Padoan, Dicember 2008 Download |
QUADTREESEG - mex implementation (compile by mex quadtreeseg.cpp). Also an equivalent MATLAB implementation is present in zip file.Segments an image by recursively dividing it into four equal blocks if the variability in its pixels is greater than a certain amount. The image input is usually...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Quad-Tree segmentation - MEX Download |
Shade Anomaly fills in graphs above and below the x-axis different colors. It allows you to create offsets, so that values above a certain threshold are shaded. This is good to use if you would like shade values above a standard deviation.There is an example in the script if you do not enter any...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Shade Anomaly (Sripts) Download |
GUI for displaying image stacks, either from a 3D array given as indata or from a tiff, lsm, or other stack chosen by the user.NOTE: StackSlider uses tiffread to import stacks from files. Tiffread can be downloaded for free from www.cytosim.org/other. The GUI features changing of the displayed...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): StackSlider Download |
A powerful data set generator. Within moments, it enables you to generate large amounts of realistic user-defined data with complete control over the type, range, amount and format. Randommite's power and flexibility saves time and money; it pays for itself on the very first day of use -...
Platforms: Mac
License: Freeware | Size: 20.3 MB | Download (43): Randommite for Mac OS Download |
Compute the estimated average number of coin tosses (or dice throws) to get a given sequence of Heads-and-Tails (or a sequence of intergers ranging from 1 to 6)The inputs are:- The Sequence (row vector)- The Number of Monte-Carlo SimulationsThe outputs are the estimated (Monte-Carlo) expectation...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Coin And Dice Download |