CreateTotalSummary: Summarizes and Averages Total Effects

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

View source: R/CreateTotalSummary.R

Description

this is a helper function for AllTotEffOutput which is better for the regular user

Usage

1
CreateTotalSummary(AllTots, GreaterThanNum)

Arguments

AllTots

is output from CreateTotalEffMat applied to each imputed data sets so it is a list of length number of imputed data sets (or length 1 if no imputed data sets) cotaining in each list a list of dataframes where each data frame is total effects, standard errors, p-values, path designation respectively

GreaterThanNum

number of output files containing path over which to average which must be less than the number of imputations and is only used if multiple imputations are performed.

Details

not necessary for regular user

Value

output is same as AllTotalEffOutput which is easier to run

Note

must run backwards selection first and some other necessary functions see example

Author(s)

William Terry

References

M Plus

See Also

AllTotalEffOutput

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 


InitD=Simulate(MissingYN=1)
xxx=Initialize(InitD,NumImpute=3,WhichCat=c(1,1,1,1,0))
ggg=AllBackwardSelect(xxx[[1]])
yyy=AllSummary2(xxx[[1]])
zzz=AllSummary(xxx[[1]])[[2]]
qqq=AddOnAllInd(xxx[[1]],zzz)
AllDat1=ConvertData2(xxx[[1]],xxx[[2]],yyy[[1]])
AllFileNames1=sapply(AllDat1,OnlyNumberElement,1)
Tots1=lapply(AllFileNames1,CreateTotalEffMat,Directry=getwd())	
AllTotEffOutput1=CreateTotalSummary(Tots1,GreaterThanNum=0)

## End(Not run)

PathSelectMP documentation built on May 2, 2019, 3:15 a.m.