Description Arguments See Also Examples
A class type of linear birth-death in stat2003 package.
lb |
A numeric scalar and it is the rate of linear Birth. If the Markov chaindoesn't contain linear Birth, setting lb to zero. Default value of lb is zero. |
ld |
A numeric scalar and it is the rate of linear Death. If the Markov chain doesn't contain linear Death, setting ld to zero. Default value of ld is zero. |
im |
A numeric scalar and it is the rate of Immigration. If the Markov chain doesn't contain Immigration, setting im to zero. Default value of im is zero. |
em |
A numeric scalar and it is the rate of Emigration. If the Markov chain doesn't contain Emigration, setting em to zero. Default value of em is zero. |
nstate |
An integer. Size of statespace of this Birth-death process, |
bd_equi
will return the equilibrium
distribution of a birth-death process
bd_rate
will return the generator matrix by
given birth-death rates for a linear birth death process.
bd_trans
will return the transition matrix by
given birth-death rates for a linear birth death process.
bd_simu
simulates a finite statespace Birth-death
process by returning a plot about states and time.
1 2 | A <- new("stat2003.bd", lb = 1, ld = 1, im = 3, em = 4,
nstate = 0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.