View source: R/compute_m_sigma.R
compute_m_sigma | R Documentation |
A helper function for mrt_binary_power() and mrt_binary_ss().
compute_m_sigma(avail_pattern, f_t, g_t, beta, alpha, p_t)
avail_pattern |
A vector of length T that is the average availability at each time point |
f_t |
Defines marginal excursion effect MEE(t) under alternative together with beta. Assumed to be matrix of size T*p. |
g_t |
Defines success probability null curve together with alpha. Assumed to be matrix of size T*q. |
beta |
Length p vector that defines marginal excursion effect MEE(t) under alternative together with f_t. |
alpha |
Length q vector that defines success probability null curve together with g_t. |
p_t |
Length T vector of randomization probabilities at each time point |
List containing two matrices. The first is the M matrix and the second is the Sigma matrix.
compute_m_sigma(tau_t_1, f_t_1, g_t_1, beta_1, alpha_1,
p_t_1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.