Learn R Programming

smmR (version 1.0.5)

get.Py: Method to compute the value of \(P_{Y}\)

Description

Method to compute the value of \(P_{Y}\) (See Proposition 5.1 p.105-106).

Usage

get.Py(x, k, upstates = x$states)

Value

An array giving the value of \(P_{Y}(k)\) at each time between 0 and k.

Arguments

x

An object of S3 class smmfit or smm.

k

A positive integer giving the time horizon.

upstates

Vector giving the subset of operational states \(U\).