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

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/mma.r

Description

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

Usage

1
2
3
4
## 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 [email protected]

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"

Examples

1
2
3
4
5
6
7
data("weight_behavior")
 x=weight_behavior[,c(2,4:14)]
 pred=weight_behavior[,3]
 y=weight_behavior[,15]
 data.b.b.2<-data.org(x,y,mediator=5:12,jointm=list(n=1,j1=c(5,7,9)),
                        pred=pred,predref="M", alpha=0.4,alpha2=0.4)
 summary(data.b.b.2)

mma documentation built on Jan. 20, 2018, 9:09 a.m.