Normal Distribution Examples
This function calculates the probability under the normal distribution curve, plots the graph and the area calculated.Normaldistribution calculating the area under a normal distribution curve from -ve infinity upto point x. Input: x : point on the normal distribution curve mean : mean of the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (51): probability distribution function (normal distribution) Download |
Applying the inverse transform method to the normal distribution entails evaluation of the inverse normal. This is the Beasley-Springer-Moro algorithm for approximating the inverse normal.Input: u, a sacalar or matrix with elements between 0 and 1Output: x, an approximation for the inverse normal...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Approximating the Inverse Normal Download |
Forces the pdf of data to have a normal distribution using a data adaptive lookup table. [normX,Bx,By]=normalizepdf(X)normX=N(X), where N is an data adaptive monotonically increasing function. normX will have zero mean and unit variance.Bx,By is the lookup table
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): normalizepdf.m Download |
MVNRND2 Random vectors from the multivariate normal distribution. R = MVNRND2(MU,SIGMA,NUM) returns a NUM-by-D matrix R of multivariate normal random vectors whose mean and covariance matrix match the given input parameters, MU (1-D vector) and SIGMA (D-by-D matrix) [...] = MVNRND2(...,COVNORM)...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Multivariate normal random vectors with fixed mean and covariance matrix Download |
R = RCR(S) computes the semi-edge-length of the mean-centered hypercube with 95% probability given S, which is either a covariance matrix or a vector of standard deviations from a multivariate normal distribution. If S is a real, nonnegative vector, RCR(S) is equivalent to RCR(DIAG(S.^2)). Scalar...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 81.92 KB | Download (41): Rectangular Confidence Regions Download |
This function generate random variables distributed according to a truncated normal distribution (or, by a translation, to a normal distribution with positive support). This kind of problem is especially interesting for generating variables with MCMC methods.We use a mixed accept-reject...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Normally and positive distributed pseudorandom numbers Download |
DigitFD generates random sample from the fiducial distribution of the parameters mu and sigma [of the unobservable normal distribution], based on the (digitized) measurements from instrument with limited, however known resolution. Here,measurements = round( (mu + sigma * Z)/resolution ) *...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 3.39 MB | Download (44): DigitFD Download |
This technique simply calculates variation based on a comparison of all abundances in a time series, and is free of assumptions of an underlying 'normal' distribution. It is more robust that the coefficient of variation CV and/or the standard deviation of log transformed abundances SDL, it is not...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Variability: a non-parametric measure Download |
The Logistic-Normal distribution [1] is a distribution over a simplex which forms a richer class of distributions than Dirichlets and better captures intercomponent correlations. We present the method for fitting a Hierarchical Logistic-Normal (HLN) distribution given by Hoff [2].Instructions:1....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 215.04 KB | Download (43): HLNfit Download |
The function bvnormal supplies a bivariate normal distribution for the user to interact with. The user can rotate the picture for better views and adjust the parameters of the distribution. A good teaching tool enabling students to better visualize the bivariate normal
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): bvnormal Download |
This is a small program that creates a normalized 2-dimensional normal distribution, also known as a gaussian bell. The user has the options to decide the center of the distribution, the standard deviation, the size of the output matrix, and the area over which to create the distribution.I did...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Gaussian Bell Download |
% pearspdf% [p,type,coefs] = pearspdf(X,mu,sigma,skew,kurt)%% Returns the probability distribution denisty of the pearsons distribution% with mean `mu`, standard deviation `sigma`, skewness `skew` and% kurtosis `kurt`, evaluated at the values in X.%% Some combinations of moments are not valid for...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): pearspdf Download |
Here is the code for the pricing of an american call option with one dividend. This is the Roll, Geske,Whaley approximation of an AMerican call with one dividend. This code makes use of Bivariate normal distribution and normal distribution. More pricing options would be followed soon.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): American Call option Pricing Approximation Download |
Converts normally distributed z-statistic to one- or two-tailed p-valueby integrating the standard normal pdf. If no "tails" value is specified, z2p computes the two-tailed value by default. The output p is the same size as z, which can be a scalar, vector, or matrix. Inputs:z: normally...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): z2p Download |
Two functions are included. The first is 'quadriorth.m' which calculates the orthants probabilities of the quadrivariate normal distribution. Imagine a 4-dimensional space divided into sub-spaces according to the sign of each variable, which results in 2^4 = 16 orthants, say + + + +, + + +...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Qudrivariate and pentavariate normal orthant probabilities Download |
Fits the Laird-Ware Linear Random Effects Model. This model assumes that for each subject y=x*b+z*g+e where x and z are known m x p and m x r matricies, b is p x 1 parameter vector and g is a r vector which has a multivariate normal distribution with mean zero, e is a vector of identitcal...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): Laird-Ware Random Effects Model Download |
Performs watermarking of the input image by decomposing the image using haar wavlet. Noise generated with normal distribution is used as the key and is added to the input image to obtain the watermarked image.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (44): Simple Watermarking using Wavelet transform Download |
The result will be displayed in a matrix format.For uniform distributions,the values returned by the MATLAB function rand() are multiplied by (b-a), then added to a.For normal distributions the output of randn() is multiplied by the standard deviation (b), and then added to the desired to the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): randMat for Mathematics Download |
Random Number Pro is a practical math tool to generate random numbers according to different distributions. Only three steps you need do.Download and try it.
Including Distributions:
-Beta distribution,
-Bernoulli distribution,
-Bernoulli-Gauss distribution,
-Binomial distribution,...
Platforms: Windows, *nix
License: Shareware | Cost: $199.90 USD | Size: 837.5 KB | Download (150): Random Number Pro Download |
gjrand is a programmer's library for pseudo-random numbers. gjrand library includes random number generator testing code and is intended for simulation, games, and "Monte-Carlo" algorithms. It produces pseudo-random numbers of the types: uniform integers, uniform reals, normally distributed...
Platforms: Mac
License: Freeware | Size: 122.88 KB | Download (101): Gjrand Download |