Description Usage Arguments Value
Function for calculating best treatment probabilitites based on sampling from estimated treatments effect with SEs. Can also calculate best treatment based on random_sampling (randsam) variable with dim of NumTreatments x iNumPosteriorSamples.
1 2 | GetNewRandomizationProbabilities(trtcoeff, trtse, iNumPosteriorSamples,
randsam = NULL)
|
trtcoeff |
Treatment coefficients |
trtse |
Standard errors of the treatment coefficients |
iNumPosteriorSamples |
Number of samples to use for computing the posterior probability |
randsam |
An object |
A vector of the same length as the trtcoeff
with the updated posterior probabilities for each treatment to be the best treatment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.