rMPHstar {matrixdist}R Documentation

Simulate a MPH* random vector

Description

Generates a sample of size n from a MPH* distribution with parameters alpha, S and R.

Usage

rMPHstar(n, alpha, S, R)

Arguments

n

Sample size.

alpha

Initial probabilities.

S

Sub-intensity matrix.

R

Reward matrix.

Value

The simulated sample.


[Package matrixdist version 1.1.9 Index]