samonECompleterStatus {samon} | R Documentation |
Computes the difference in the expected value of non-completers and completers
Description
Computes the difference in the expected value of non-completers and completers
Usage
samonECompleterStatus( Y, BC )
Arguments
Y |
vector of outcomes |
BC |
a vector of estimates for the mean of Y |
Details
Computes the expected value for completers and non-completers and hence the difference between the two.
Value
Returns a vector of expected differences.
Examples
data("samonPANSS1")
data( "PSummary1" )
PSummary1 <- (PSummary1$TM)[,c("alpha","IFEst")]
Pdiff1 <- samonECompleterStatus( samonPANSS1[,ncol(samonPANSS1)],
PSummary1[,2] )
data("VAS1")
data("VSummary1" )
VSummary1 <- (VSummary1$TM)[,c("alpha","IFEst")]
Vdiff1 <- samonECompleterStatus( VAS1[,ncol(VAS1)], VSummary1[,2] )
[Package samon version 4.0.2 Index]