<< Chapter < Page | Chapter >> Page > |
Note that . If the population ever reaches zero, it is extinct and no more births can occur. Also, if the maximum population (10 in this case) is reached,there is a high probability of returning to that value and very small probability of becoming extinct (reaching zero state).
In this case,
Numerical example
To simplify writing, use D for D n . Because of the invariance with n , set
The various cases yield
so that
The various probabilities for D may be obtained from a table (or may be calculated easily with cpoisson) to give the transition probability matrix
The calculations are carried out “by hand” in this case, to exhibit the nature of the calculations. This is a standard problem in inventory theory, involving costs andrewards. An m-procedure inventory1 has been written to implement the function g .
% file inventory1.m
% Version of 1/27/97% Data for transition probability calculations
% for (m,M) inventory policyM = input('Enter value M of maximum stock ');
m = input('Enter value m of reorder point ');Y = input('Enter row vector of demand values ');
PY = input('Enter demand probabilities ');states = 0:M;
ms = length(states);my = length(Y);
% Calculations for determining P[y,s] = meshgrid(Y,states);T = max(0,M-y).*(s<m) + max(0,s-y).*(s>= m);
P = zeros(ms,ms);for i = 1:ms
[a,b]= meshgrid(T(i,:),states);
P(i,:) = PY*(a==b)';end
P
We consider the case , the reorder point , and demand is Poisson (3). We approximate the Poisson distribution with values up to 20.
inventory1
Enter value M of maximum stock 5 % Maximum stockEnter value m of reorder point 3 % Reorder point
Enter row vector of demand values 0:20 % Truncated set of demand valuesEnter demand probabilities ipoisson(3,0:20) % Demand probabilities
P =0.1847 0.1680 0.2240 0.2240 0.1494 0.04980.1847 0.1680 0.2240 0.2240 0.1494 0.0498
0.1847 0.1680 0.2240 0.2240 0.1494 0.04980.5768 0.2240 0.1494 0.0498 0 0
0.3528 0.2240 0.2240 0.1494 0.0498 00.1847 0.1680 0.2240 0.2240 0.1494 0.0498
, so that
for , so that for
The resulting transition probability matrix is
The matrix is an infinite matrix, unless Y is simple. If the range of Y is then the state space E is .
Notification Switch
Would you like to follow the 'Applied probability' conversation and receive update notifications?