Last data update: 2014.03.03

R: Summary method for class "med_iden".
summary.med_idenR Documentation

Summary method for class "med_iden".

Description

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

Usage

## S3 method for class 'med_iden'
summary(object,...) 
## S3 method for class 'summary.med_iden'
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.

Details

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

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.

Author(s)

Qingzhao Yu qyu@lsuhsc.edu

References

Yu, Q., Fan, Y., and Wu, X. (2014) <doi: 10.4172/2155-6180.1000189>. "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

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)

Results