Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.417.482 Times

Multivariate normal random vectors with fixed mean and covariance matrix 1.0

  Date Added: May 09, 2013  |  Visits: 376

Multivariate normal random vectors with fixed mean and covariance matrix

Report Broken Link
Printer Friendly Version


Product Homepage
Download (44 downloads)



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) determines normalization for covariance 0 : Normalizes by NUM-1. This makes cov(R) the best unbiased estimate of the covariance matrix (Default) 1 : Normalizes by NUM and produces the second moment matrix of the observations about their mean. MU : Either a 1-by-D row vector, or a scalar across dimensions. SIGMA : Either a D-by-D positive semi-definite matrix, or 1-by-D row vector of a diagonal matrix, or scalar representing that value along the diagonal. NUM : Positive integer at least D+1 in value. COVNORM : 0 or 1 (Any non-zero value will be taken as 1) Note: This is different from the MVNRND function in the Statistics Toolbox, as that samples from a multivariate normal distribution with mean MU and covariance SIGMA. The sampled mean and covariance may be different from the given inputs. This functions finds a collection of multivariate normal random vectors whose mean and covariance match the given input parameters, MU and SIGMA. Example 1: Find 5 numbers from the univariate normal distribution that have mean 50 and sample variance of 2. Show output and test output to determine if answer is valid. r=mvnrnd2(50,2,5), mean(r), cov(r) Example 2: Find 1000 bivariate normal random vectors with mean [1 2] and second-moment matrix of [2 .3; .3 2]. Test output to determine if answer is valid. r=mvnrnd2([1 2],[2 .3; .3 2],1000,1); mean(r), cov(r,1) Example 3: Find 1e6 multivariate normal random vectors of dimension 5 with mean [5 -4 3 -2 1], with variances [1 2 3 4 5] and that are uncorrelated. Test output to determine if answer is valid. r=mvnrnd2([5 -4 3 -2 1],[1 2 3 4 5],1e6); mean(r), cov(r) Example 4: (This example requires the Statistics Toolbox) MVNRND in the Statistics Toolbox samples from a multivariate distribution with the given input parameters. MVNRND2 finds a collection of multivariate normal random vectors whose mean and covariance match the given input parameters, MU and SIGMA. Show both results for the same input. r=mvnrnd([0 -3],[2 .3; .3 1],10); mean(r), cov(r) r2=mvnrnd2([0 -3],[2 .3; .3 1],10); mean(r2), cov(r2)

Requirements: No special requirements
Platforms: Matlab
Keyword: Collection Finds Functions Inputs Numbers Sample Sampled Univariate Variance
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


MULTIVARIATE NORMAL RANDOM VECTORS WITH FIXED MEAN AND COVARIANCE MATRIX RELATED
Development Tools  -  Upslope area functions 1.0
A collection of functions for calculating the upslope area and related measurements for a digital elevation model (DEM).Based on the method of Tarboton.See also the upslope area postings on my image processing blog, March-August 2007,...
307.2 KB  
Development Tools  -  M-File Alignment 1.0
This collection of functions is used to clean the alignment of m-code. It arranges all programming constructs in an easily readable manner.
10 KB  
Development Tools  -  Tree-Ring MATLAB Toolbox 1.0
This is a collection of functions I wrote for use of MATLAB with tree-ring time series. Functions are included for skeleton plotting, group time-series plotting, and correlation analysis of seasonal climatic time series with tree-ring indices...
61.44 KB  
Database Tools  -  PHP common DB interface for Scripts 0.0.3
PHP common DB interface is a database programming API.It provides a collection of functions who will act as an upper layer of the PHP native database calls, to make less troublesome the porting of same application to different underlying...
10 KB  
Development Tools  -  LISQ - A toolbox for the lifting scheme on 2D quincunx grids 1.0
A collection of functions is presentedwhich includes 2nd generation waveletdecomposition and reconstruction toolsfor images as well as functions for thecomputation of moment invariants.The wavelet schemes rely on the liftingscheme of Sweldens....
583.68 KB  
Programming  -  Jimmy Project 1.0
It is a collection of functions that make your PHP development easier and more formated.
2.78 KB  
Science  -  SortByIPs 1.0
General-purpose machine-independent Perl functions and a sample MS-DOS/Windows batch file to efficiently sort arrays of strings by the numerical value of all embedded dotted-quad IPv4 addresses in each string
3.16 KB  
Development Tools  -  NaN Suite 1.0
The collection of functions in the NaN Suite enhances the functionality of the original 'nan'-functions in the Statistics Toolbox for N-D matrices. In addition, the new function nansem.m calculates the standard error of the mean ignoring NaNs.The...
10 KB  
Development Tools  -  Biosignal Toolbox 1.0
Small collection of functions that I developed. Most functions are broad enough to be used with other signals/fields as well. Some of the features:-tests of randomness of signals-SNR estmation under non-stationary and weighted averaging-EEG...
10 KB  
Programming  -  GMSL 1.0.12
The GNU Make Standard Library (GMSL) is a collection of functions implemented using native GNU Make functionality that provide list and string manipulation, integer arithmetic, associative arrays, stacks, and debugging facilities. The GMSL is...
10.24 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB