incidental (version 0.1)

make_likelihood_matrix: Make delay likelihood matrix

Description

This function creates a matrix such that P[t, s] = P(C = t | I = s) = theta_t-s for s <= t and 0 otherwise.

Usage

make_likelihood_matrix(delay_dist)

Arguments

delay_dist

A positive vector that sums to one, which describes the delay distribution.

Value

A matrix of size n x n