Description Usage Arguments Details Value See Also Examples
View source: R/PrepInferenceAssumption.R
Given an object returned from salbmCombine this function prepares results for presentation in a table.
1 | PrepInferenceAssumption(M, CItp=2, qt = c(0.025, 0.975), SampCIType=1, carm=2)
|
M |
is an object returned by the salbm function salbmCombine. It should contain confidence bands ECI and SCI and means and standard deviations from bootstraps (Main1wts, Main2wts, Samp1wts and Samp2wts). |
CItp |
a number ranging from 1 to 4, indicating which confidence interval to use. |
qt |
two values passed to quantile in producing confidence intervals. |
SampCIType |
type of CI for samples |
carm |
comparison arm |
PrepInferenceAssumption is used in conjunction with influenceAssumption to produce a summary of an salmb results object,
It produces summeries for each arm of the study and the difference in estimates between arms under various assumptions:
MCAR when the mean value is substituted for missing at each timepoint
missing=0 when 0 is substituted for missing at each timepoint
missing=1 when 1 is substituted for missing at each timepoint
benchmark results returned from salbm or salbmM
a matrix which inferenceAssumption can display.
salbm, salbmM, influenceAssumption
1 2 3 4 | # M is an object returned from salbm's salbmCombine function
prep <- PrepInferenceAssumption( M )
inferenceAssumption(prep)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.