Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Australia MyPost shipping For Magento 2 1.0.0
Australia Post eParcel For Magento 1.1.1
Source Control for SQL Server 2.0
Answers phpSoftPro 3.12
Exlcart 2.0
School College ERP 1.3.2
White-label Grocery Delivery App Solution 2.0
Top Code
iScripts EasySnaps 1
iScripts EasyIndex 1
iScripts NetMenus 2.0
ATN Site Builder 3.0
IcrediBB Bulletin Board System 1.0
Azizi search engine script PHP 4.1.10
Simple Comments Script 0.930
Vue Injector 3.3
Guestbook PHP Script 1.1
DBForms from MSAccess to PHP+PostgreSQL 1.0.0
Devart Excel Add-in for HubSpot 2.1
White-label Grocery Delivery App Solution 2.0
EV Widget Post 0.3
Stepping stone algorithum for solving the transhipment problem
GuestBook PHP 2 Script 1.10
Top Rated
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Sum of probability distributions 1.0
File ID: 81706






Sum of probability distributions 1.0
Download Sum of probability distributions 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 3
Submit Rating:
Sum of probability distributions 1.0 Description
Description: SUMPDF Probability distribution of the sum of distributions

[S,P,C]=SUMPDF(X1,P1,N1,X2,P2,N2,...) will return the distribution of the sum of distribution P1, at values at X1, N1 times plus the distribution P2, at values in X2, N2 times...

The output vectors, S, P, and C, are respectively the list of unique totals, probability of yielding that sum, and the count distribution of obtaining that sum among all combinations.

Example:
Two distributions, on different intervals, each repeated a different number of times. What is the distribution of the possible outcomes? Plot the outcome, showing the distribution.

X1=[-1 0 2]; P1=[.1 .2 .7]; N1=10;
X2=[ 0 1 2]; P2=[.3 .5 .2]; N2=7;
[S,P,C]=sumpdf(X1,P1,N1,X2,P2,N2);

subplot(2,1,1), plot(S,P), grid on
title('Probability distribution')
subplot(2,1,2), plot(S,C), grid on
title('Number of combinations possible to obtain each outcome')

This illustrates that while an outcome of 10 has the most combinations of ways to happen, due to the given probability distributions it is an outcome of 20 that is actually most likely.

License: Shareware

Related: p23d3, n23d7, spc dsumpdfx, subplot, n13d10, p13d1, outcomes, outcome, showing, x13d1

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 3



More Similar Code

Returns the distribution of the function FUN applied to the set of distributions given in VARARGIN
PDFFUN Apply a function to a set of probability distributions
[S,P,C]=PDFFUN(FUN,VARARGIN) will return the distribution of the function FUN applied to the set of distributions given in VARARGIN

The output vectors, S, P, and C, are respectively the list of unique outcomes, probability of yielding that outcome, and the total...



probability density function of basic distributions
This package contains the functions for computing pdf of following distribution:
1) Gaussian
2) Multinomial
3) Dirichlet
4) Wishart
5) student-t
6) von...



ALLFITDIST Fit all valid parametric probability distributions to data.

[D PD] = ALLFITDIST(X) fits all valid parametric probability distributions to the data in column vector X, and returns a struct D of fitted distributions and...



For several different reasons it could occur that we need to produce a signal from the sum of several harmonic components. In the usual case of Fourier analysis, FFT and IFFT are likely the best choice. However it could happen that:
- The...



Y = BERNPDF(P) where P is an N x 1 vector returns the distribution of the sum of N Bernoulli random variables. Y is of length N+1 and Y(j) is equal to the probability that the sum adds to j+1. The vector P comprises the means of Bernoulli random...



09 Mar 2008 (Updated 08 Apr 2010)

An estimate of probability density function of the given random data with bounded support.



Mutual information I(X,Y) measures the degree of dependence (in terms of probability theory) between two random variables X and Y. Is is non-negative and equal to zero when X and Y are mutually independent. Conditional mutual information I(X,Y|Z)...



This program finds efficient/inefficient correlated equilibria that maximize/minimize weighted sum of the payoffs in a two player normal form game
max/min w*U1(P)+(1-w)*U2(P)
s.t. P is correlated equilibrium
where U1 and U2 are...



Computes the variance of a linear sum of variables. Requires a vector of weights (for the linear sum), and a covariance matrix of the variables.



S=MINKSUM(A,B) produces the Minkowski sum of two sets A and B in Euclidean space, the result being the addition of every element of A to every element of B.

[S,D]=MINKSUM(A,B) returns the Minkowski sum S, and also the multiplicity of...

User Review for Sum of probability distributions
- required fields
     

Please enter text on the image