
Last chance! 50% off unlimited learning
Sale ends in
This function is used to a plot that displays the frequencies, percentages, cumulative percentages or densities of the individual causal association (ICA) in the single-trial setting within the causal-inference framework when the surrogate endpoint is continuous (normally distributed) and the true endpoint is a binary outcome. In addition, several plots to evaluate the goodness-of-fit of the mixture model used to fit the conditional distribution of potential outcomes on the surrogate endpoint can also be provided. For details, see Alonso Abad et al. (2023).
# S3 method for ICA.BinCont
plot(x, Histogram.ICA=TRUE, Mixmean=TRUE, Mixvar=TRUE, Deviance=TRUE,
Type="Percent", Labels=FALSE, ...)
A fitted object of class ICA.BinCont
. See ICA.BinCont
or ICA.BinCont.BS
.
Logical. Should a histogram of ICA be provided? Default Histogram.ICA=TRUE
.
Logical. Should a plot of the calculated means of the fitted mixtures for Mixmean=TRUE
.
Logical. Should a plot of the calculated variances of the fitted mixtures for Mixvar=TRUE
.
Logical. Should a boxplot of the deviances for the fitted mixtures of Deviance=TRUE
.
The type of plot that is produced for the histogram of ICA. When Type="Freq"
or Type="Percent"
, the Y-axis shows frequencies or percentages of Type="CumPerc"
, the Y-axis shows cumulative percentages. When Type="Density"
, the density is shown.
Logical. When Labels=TRUE
, the percentage of Labels=FALSE
.
Extra graphical parameters to be passed to plot()
or hist()
.
Wim Van der Elst, Fenny Ong, Ariel Alonso, and Geert Molenberghs
Alonso Abad, A., Ong, F., Stijven, F., Van der Elst, W., Molenberghs, G., Van Keilegom, I., Verbeke, G., & Callegaro, A. (2023). An information-theoretic approach for the assessment of a continuous outcome as a surrogate for a binary true endpoint based on causal inference: Application to vaccine evaluation.
ICA.BinCont
, ICA.BinCont.BS
if (FALSE) # Time consuming code part
data(Schizo)
Fit <- ICA.BinCont.BS(Dataset = Schizo, Surr = BPRS, True = PANSS_Bin, nb = 10,
Theta.S_0=c(-10,-5,5,10,10,10,10,10), Theta.S_1=c(-10,-5,5,10,10,10,10,10),
Treat=Treat, M=50, Seed=1)
summary(Fit)
plot(Fit)
Run the code above in your browser using DataLab