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

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

Serving Software Downloads in 976 Categories, Downloaded 29.878.228 Times

Multivariate normal random vectors with fixed mean and covariance matrix 1.0

  Date Added: May 09, 2013  |  Visits: 197

Multivariate normal random vectors with fixed mean and covariance matrix

Report Broken Link
Printer Friendly Version


Product Homepage
Download (19 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  
Libraries  -  LIBH 0.8.5 Alpha
LIBH is a collection of functions for C programming intended to be helpful or handy for C programmers. Many of these functions originated with various programming projects where they were needed. Other functions were then added to fill out the...
757.76 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  
Education  -  MB Kabbalah Square Of Three 1.15
MB Kabbalah Square Of Three finds your planetary numbers which define your nature and personality. This software helps make your Table of Saturn or Fulfillment based on your date of birth. This is based on Kabbalah Numerology principles. The...
630 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  
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  -  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  
Development Tools  -  Barnardextest 1.0
This file, as the Fisher's exact test, performs the exact probability test for a table of frequency data cross-classified according to two categorical variables, each of which has two levels or subcategories (2x2). It is a non-parametric...
10 KB