« View all new features in Mathematica 9  previous  |  next 
New in Mathematica 9Markov Chains and Queues

Distribution of Times to Reach a Target State 

Compute the PDF, CDF, mean, and variance for the number of steps needed to go from state 1 to state 3.

In[1]:=
Click for copyable input
X
In[2]:=
Click for copyable input
X

Probability density function.

In[3]:=
Click for copyable input
X
Out[3]=
In[4]:=
Click for copyable input
X
Out[4]=

Cumulative distribution function.

In[5]:=
Click for copyable input
X
Out[5]=
In[6]:=
Click for copyable input
X
Out[6]=

Mean and variance.

In[7]:=
Click for copyable input
X
Out[7]=
In[8]:=
Click for copyable input
X
Out[8]=