Description Usage Arguments Value
ssimFMR draws sample from model FMR in the paper. That is a mixiture where given component k X_i\vert Zik=1 is a normal distribution of mean mu_k and variance \Sigma_k and given X_i and Z_ik Y is normal distribution with mean t(X_i) \beta_k and variance \sigma^Y_k
1 |
n |
the number of observations |
K |
the number of cluster |
parameters |
the parameter for the FMR model, that is a list with component pik the mixture proportion foreach k in 1,..., K muX_k, \SigmaX_k, \beta_k and \sigmaY_k if parameters == NULL, then the set of parameters is drawn |
d |
the dimension for X |
a list with Y, X the observations, Z and parameters the list of parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.