Learn R Programming

mma (version 2.0-4)

summary.med_iden: Summary method for class "med_iden".

Description

Compute the estimations, standard deviations and confidence intervals of the mediation effects.

Usage

"summary"(object,...) "print"(x,...)

Arguments

object
a med_iden object created initially call to data.org.
x
a summary.med_iden object created initially call to summary.med_iden
...
other arguments passed to the print function.

Value

The function summary.med_iden return a list of covariates and mediators as identified by a series tests.
mediator
variable names of the identified mediators, either siginicant in both full model and in relate to the predictor, or being a member of the pre-identified joint mediators.
covariate
variable names of covariates: being significant in the full model but not significantly relate with the predictor.
tests
statistical test results.
results
the original object.

Details

summary.med_iden gives a list of identified mediators, covariates and the test results.

References

Yu, Q., Fan, Y., and Wu, X. (2014) . "General Multiple Mediation Analysis With an Application to Explore Racial Disparity in Breast Cancer Survival," Journal of Biometrics & Biostatistics,5(2): 189.

See Also

"mma","boot.med.binx" , "boot.met.contx"

Examples

Run this code
data("weight_behavior")
x=weight_behavior[,2:14]
y=weight_behavior[,15]
data.b.b.2<-data.org(x,y,pred=2,contmed=c(8:10,12:13),binmed=c(7,11),
   binref=c(1,1),catmed=6,catref=1,jointm=list(n=1,j1=c(6,8,10)),
   predref="M",alpha=0.4,alpha2=0.4)
summary(data.b.b.2)

Run the code above in your browser using DataLab