AllSummary2: Direct Effect Summary

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

View source: R/AllSummary2.R

Description

summarizes direct effects from path anaysis for all imputed datasets

Usage

1
AllSummary2(AllNames, Directry = getwd(), GreaterThanNum = 0)

Arguments

AllNames

AllNames is a list of the filenames as strings where the M Plus.inp and .out files are located which is length 1 if no imputations

Directry

this the path where the folder specified by AllNames is located and default is working directory

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. Default 0 which is to use all data sets in mean calculations.

Details

this function is essentially the same as AllSummary except it does not return the indirect effect list

Value

list of length 2:

DirectEffects

Direct Effects of each imputed data set or just direct effects of one data set if no imputation

Average

list with the following objects:

DirectEffectCounts

count matrix for number of times path appears which will be 1's and 0's if no imputed data sets are used

MeanDirectEffects

mean values of direct effects for paths which are just the direct effects if no imputations are performed

MeanStandardError

the mean square error of the effect parameters averaged over imputed data sets if they exist

MeanPValue

mean p values of these direct effects

MinPVals

minimum p values of these direct effects

MaxPVals

maximum p value of these direct effects

MedianPVals

median p value of these direct effects

Note

Must initialize and run backwards selection before using this function

Author(s)

William Terry

References

M Plus

See Also

AllSummary

Examples

1
2
3
4
5
6
7
8
9
## 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]])


## End(Not run)

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