simsem: SIMulated Structural Equation Modeling
Version 0.5-13

Provides an easy framework for Monte Carlo simulation in structural equation modeling, which can be used for various purposes, such as such as model fit evaluation, power analysis, or missing data handling and planning.

AuthorSunthud Pornprasertmanit [aut, cre], Patrick Miller [aut], Alexander Schoemann [aut], Corbin Quick [ctb], Terry Jorgensen [ctb]
Date of publication2016-06-07 13:53:30
MaintainerSunthud Pornprasertmanit <psunthud@gmail.com>
LicenseGPL (>= 2)
Version0.5-13
URL http://www.simsem.org
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("simsem")

Popular man pages

draw: Draw parameters from a 'SimSem' object.
generate: Generate data using SimSem template
likRatioFit: Find the likelihood ratio (or Bayes factor) based on the...
miss: Specifying the missing template to impose on a dataset
model: Data generation template and analysis template for...
plotPowerFit: Plot sampling distributions of fit indices that visualize...
sim: Run a monte carlo simulation with a structural equation...
See all...

All man pages Function index File listing

Man pages

analyze: Data analysis using the model specification
anova: Provide a comparison of nested models and nonnested models...
bind: Specify matrices for Monte Carlo simulation of structural...
bindDist: Create a data distribution object.
coef: Extract parameter estimates from a simulation result
combineSim: Combine result objects
continuousCoverage: Find coverage rate of model parameters when simulations have...
continuousPower: Find power of model parameters when simulations have randomly...
createData: Create data from a set of drawn parameters.
draw: Draw parameters from a 'SimSem' object.
estmodel: Shortcut for data analysis template for simulation.
exportData: Export data sets for analysis with outside SEM program.
findCoverage: Find a value of independent variables that provides a given...
findFactorIntercept: Find factor intercept from regression coefficient matrix and...
findFactorMean: Find factor total means from regression coefficient matrix...
findFactorResidualVar: Find factor residual variances from regression coefficient...
findFactorTotalCov: Find factor total covariance from regression coefficient...
findFactorTotalVar: Find factor total variances from regression coefficient...
findIndIntercept: Find indicator intercepts from factor loading matrix, total...
findIndMean: Find indicator total means from factor loading matrix, total...
findIndResidualVar: Find indicator residual variances from factor loading matrix,...
findIndTotalVar: Find indicator total variances from factor loading matrix,...
findPossibleFactorCor: Find the appropriate position for freely estimated...
findPower: Find a value of independent variables that provides a given...
findRecursiveSet: Group variables regarding the position in mediation chain
generate: Generate data using SimSem template
getCIwidth: Find confidence interval width
getCoverage: Find coverage rate of model parameters
getCutoff: Find fit indices cutoff given a priori alpha level
getCutoffNested: Find fit indices cutoff for nested model comparison given a...
getCutoffNonNested: Find fit indices cutoff for non-nested model comparison given...
getExtraOutput: Get extra outputs from the result of simulation
getPopulation: Extract the data generation population model underlying a...
getPower: Find power of model parameters
getPowerFit: Find power in rejecting alternative models based on fit...
getPowerFitNested: Find power in rejecting nested models based on the...
getPowerFitNonNested: Find power in rejecting non-nested models based on the...
imposeMissing: Impose MAR, MCAR, planned missingness, or attrition on a data...
inspect: Extract information from a simulation result
likRatioFit: Find the likelihood ratio (or Bayes factor) based on the...
miss: Specifying the missing template to impose on a dataset
model: Data generation template and analysis template for...
modelLavaan: Build the data generation template and analysis template from...
multipleAllEqual: Test whether all objects are equal
plotCIwidth: Plot a confidence interval width of a target parameter
plotCoverage: Make a plot of confidence interval coverage rates
plotCutoff: Plot sampling distributions of fit indices with fit indices...
plotCutoffNested: Plot sampling distributions of the differences in fit indices...
plotCutoffNonNested: Plot sampling distributions of the differences in fit indices...
plotDist: Plot a distribution of a data distribution object
plotLogitMiss: Visualize the missing proportion when the logistic regression...
plotMisfit: Plot the population misfit in the result object
plotPower: Make a power plot of a parameter given varying parameters
plotPowerFit: Plot sampling distributions of fit indices that visualize...
plotPowerFitNested: Plot power of rejecting a nested model in a nested model...
plotPowerFitNonNested: Plot power of rejecting a non-nested model based on a...
popDiscrepancy: Find the discrepancy value between two means and covariance...
popMisfitMACS: Find population misfit by sufficient statistics
pValue: Find p-values (1 - percentile) by comparing a single analysis...
pValueNested: Find p-values (1 - percentile) for a nested model comparison
pValueNonNested: Find p-values (1 - percentile) for a non-nested model...
rawDraw: Draw values from vector or matrix objects
setPopulation: Set the data generation population model underlying an object
sim: Run a monte carlo simulation with a structural equation...
SimDataDist-class: Class '"SimDataDist"': Data distribution object
SimMatrix-class: Matrix object: Random parameters matrix
SimMissing-class: Class '"SimMissing"'
SimResult-class: Class '"SimResult"': Simulation Result Object
SimSem-class: Class '"SimSem"'
SimVector-class: Vector object: Random parameters vector
summaryConverge: Provide a comparison between the characteristics of...
summaryFit: Provide summary of model fit across replications
summaryMisspec: Provide summary of the population misfit and...
summaryParam: Provide summary of parameter estimates and standard error...
summaryPopulation: Summarize the population model used for data generation...
summarySeed: Summary of a seed number
summaryShort: Provide short summary of an object.
summaryTime: Time summary

Functions

CopSEM Source code
HeadrickSawilowsky1999 Source code
SimDataDist-class Man page
SimMatrix-class Man page
SimMissing-class Man page
SimResult-class Man page
SimSem-class Man page
SimVector-class Man page
addeqcon Source code
allocate_column Source code
anal Source code
analyze Man page Source code
analyzeLavaan Source code
analyzeMx Source code
analyzeSimSem Source code
anova,SimResult-method Man page
applyConScript Source code
attachConPt Source code
attrition Source code
bind Man page Source code
bindDist Man page Source code
binds Man page Source code
btwGroupCons Source code
buildModel Source code
buildPT Source code
calcCoverMatrix Source code
changeDupLab Source code
changeScaleFactor Source code
checkCov Source code
checkCovLv Source code
checkVar Source code
clean Source code
cleanSimResult Source code
cleanUsedFit Source code
coef,SimResult-method Man page
collapseExtraParam Source code
combineParamSetCov Source code
combineSim Man page Source code
compact Source code
continuousCoverage Man page Source code
continuousLogical Source code
continuousPower Man page Source code
cov2corMod Source code Source code
createData Man page Source code
createImpliedConditionalMACS Source code
createImpliedMACS Source code
dataGen Source code
draw Man page Source code
drawParam Source code
easyFitMx Source code
eqIdx Source code
equalCon Source code
estmodel Man page Source code
estmodel.cfa Man page Source code
estmodel.path Man page Source code
estmodel.sem Man page Source code
exportData Man page Source code
extractLab Source code
extractSimDataDist Source code
fillParam Source code
find2Dhist Source code
findCoverage Man page Source code
findDefVars Source code
findFactorIntercept Man page Source code
findFactorMean Man page Source code
findFactorResidualVar Man page Source code
findFactorTotalCov Man page Source code
findFactorTotalVar Man page Source code
findIndIntercept Man page Source code
findIndMean Man page Source code
findIndResidualVar Man page Source code
findIndTotalVar Man page Source code
findPossibleFactorCor Man page Source code
findPower Man page Source code
findRecursiveSet Man page Source code
findRowZero Source code
findTargetPower Source code
findphist Source code
fleishman1978_abcd Source code
freeIdx Source code
generate Man page Source code
generateIndices Source code
generateMx Source code
generateMxSingleGroup Source code
generateSimSem Source code
getCIwidth Man page Source code
getCondQtile Source code
getCondValuePredictorVal Source code
getCoverage Man page Source code
getCutoff Man page Source code
getCutoffDataFrame Source code
getCutoffNested Man page Source code
getCutoffNonNested Man page Source code
getExtraOutput Man page Source code
getImpliedStatML Source code
getInnerObjects Source code
getKeywords Source code
getPopulation Man page Source code
getPower Man page Source code
getPowerFit Man page Source code
getPowerFitCutoff Source code
getPowerFitDataFrame Source code
getPowerFitNested Man page Source code
getPowerFitNestedCutoff Source code
getPowerFitNestedNullObj Source code
getPowerFitNonNested Man page Source code
getPowerFitNonNested,SimResult,SimResult,missing-method Man page
getPowerFitNonNested,SimResult,SimResult,vector-method Man page
getPowerFitNonNested-methods Man page
getPowerFitNonNestedCutoff Source code
getPowerFitNonNestedNullObj Source code
getPowerFitNullObj Source code
getPred Source code
getXandPred Source code
impose Man page Source code
imposeMis Source code
imposeMissing Man page Source code
inspect,SimResult-method Man page
interpolate Source code
intersection Source code
is.empty Source code
is.free Source code
is.label Source code
is.lavaancall Source code
is.partable Source code
is.random Source code
labelFree Source code
lavaanSimulateData Source code
lavaanValeMaurelli1983 Source code
lazyCor Source code
lazyCov Source code
likRatioFit Man page Source code
logitMiss Source code
makeMAR Source code
makeMCAR Source code
make_assignment_call Source code
make_names Source code
matchLavaanName Source code
miss Man page Source code
misspecOrder Source code
model Man page Source code
model.cfa Man page Source code
model.lavaan Man page Source code
model.path Man page Source code
model.sem Man page Source code
multipleAllEqual Man page Source code
multipleAllEqualList Source code
multipleAnyEqual Source code
multipleAnyEqualList Source code
mvrnorm Source code
onAttach Source code
output_template Source code
overlapHist Source code
pValue Man page Source code
pValueCondCutoff Source code
pValueDataFrame Source code
pValueNested Man page Source code
pValueNonNested Man page Source code
pValueVariedCutoff Source code
pValueVector Source code
parseCovCovToPsi Source code
parseCovToTheta Source code
parseFree Source code
parseGammaToBeta Source code
parseKappaToLambda Source code
parsePopulation Source code
parseSyntaxCon Source code
parseSyntaxLogitMiss Source code
patMerge Source code
permn Source code
plannedMissing Source code
plot3DQtile Source code
plotCIwidth Man page Source code
plotCoverage Man page Source code
plotCutoff Man page Source code
plotCutoffDataFrame Source code
plotCutoffNested Man page Source code
plotCutoffNonNested Man page Source code
plotDist Man page Source code
plotDist,SimDataDist-method Man page
plotDist1D Source code
plotDist2D Source code
plotIndividualScatter Source code
plotLogisticFit Source code
plotLogitMiss Man page Source code
plotMisfit Man page Source code
plotOverHist Source code
plotPower Man page Source code
plotPowerFit Man page Source code
plotPowerFitDf Source code
plotPowerFitNested Man page Source code
plotPowerFitNonNested Man page Source code
plotPowerSig Source code
plotQtile Source code
plotScatter Source code
popDiscrepancy Man page Source code
popMisfitMACS Man page Source code
popMisfitParams Source code
predProb Source code
printIfNotNull Source code
quickdf Source code
rawDraw Man page Source code
rbind.fill Source code
reduceMatrices Source code
reduceMisspecSet Source code
renameExtraParam Source code
reshuffleParam Source code
reshuffleParamGroup Source code
revText Source code
runRep Source code
semMACS Source code
setPopulation Man page Source code
sim Man page Source code
sortList Source code
standardize Source code
startingVal Source code
summary,SimDataDist-method Man page
summary,SimMatrix-method Man page
summary,SimMissing-method Man page
summary,SimResult-method Man page
summary,SimSem-method Man page
summary,SimVector-method Man page
summaryConverge Man page Source code
summaryFit Man page Source code
summaryMisspec Man page Source code
summaryParam Man page Source code
summaryPopulation Man page Source code
summarySeed Man page Source code
summaryShort Man page
summaryShort,ANY-method Man page
summaryShort,SimMatrix-method Man page
summaryShort,SimResult-method Man page
summaryShort,SimVector-method Man page
summaryShort,matrix-method Man page
summaryShort,vector-method Man page
summaryShort-methods Man page
summaryTime Man page Source code
switchLavaanName Source code
temp.unstandardize.est.ov Source code
twoTailedPValue Source code
uncoIdx Source code
validConstraints Source code
validateCovariance Source code
validateObject Source code
validatePath Source code
vech2Corr Source code
vectorizeMx Source code
whichMonotonic Source code

Files

inst
inst/tests
inst/tests/test_analyze.R
inst/tests/test_missing.R
inst/tests/test_drawParam.R
inst/tests/test_global.R
inst/tests/test_adjust-methods.R
inst/tests/test_model.R
inst/tests/test_bind.R
NAMESPACE
R
R/AllGenerics.R
R/cov2corMod.R
R/plotCutoffNested.R
R/getCutoffNested.R
R/show-methods.R
R/model.R
R/plotCIWidth.R
R/getCIWidth.R
R/clean.R
R/plotPowerFitNonNested.R
R/getPowerFit.R
R/AllClass.R
R/plotPowerFit.R
R/summary-methods.R
R/miss.R
R/exportData.R
R/findPowerCoverage.R
R/getPowerCoverage.R
R/plotCutoff.R
R/analyze.R
R/getPowerFitNonNested.R
R/plotCutoffNonNested.R
R/plotPowerCoverage.R
R/getCutoff.R
R/bind.R
R/pValueNonNested.R
R/anova-methods.R
R/pValueNested.R
R/plotDist.R
R/generate.R
R/openMx.R
R/drawParam.R
R/mvrnorm.R
R/pValue.R
R/summaryShort-methods.R
R/sim.R
R/getCutoffNonNested.R
R/plotMisfit.R
R/getPowerFitNested.R
R/validate.R
R/summarySimResult.R
R/find.R
R/zzz.R
R/imposeMissing.R
R/combineSim.R
R/likRatioFit.R
R/getKeywords.R
R/plotPowerFitNested.R
R/createData.R
R/bindDist.R
MD5
DESCRIPTION
man
man/plotMisfit.Rd
man/plotCIwidth.Rd
man/getCutoffNonNested.Rd
man/summaryShort.Rd
man/summaryTime.Rd
man/findRecursiveSet.Rd
man/SimDataDist-class.Rd
man/anova.Rd
man/findFactorTotalCov.Rd
man/getCoverage.Rd
man/getPowerFitNested.Rd
man/summaryMisspec.Rd
man/getPopulation.Rd
man/SimMissing-class.Rd
man/findFactorTotalVar.Rd
man/getExtraOutput.Rd
man/findIndResidualVar.Rd
man/popDiscrepancy.Rd
man/plotCutoffNonNested.Rd
man/bindDist.Rd
man/SimVector-class.Rd
man/popMisfitMACS.Rd
man/findIndTotalVar.Rd
man/getPowerFit.Rd
man/findPossibleFactorCor.Rd
man/model.Rd
man/findFactorResidualVar.Rd
man/findIndMean.Rd
man/estmodel.Rd
man/plotPower.Rd
man/summaryParam.Rd
man/bind.Rd
man/exportData.Rd
man/modelLavaan.Rd
man/analyze.Rd
man/SimSem-class.Rd
man/getCIwidth.Rd
man/draw.Rd
man/findIndIntercept.Rd
man/pValue.Rd
man/SimResult-class.Rd
man/setPopulation.Rd
man/findFactorMean.Rd
man/getPowerFitNonNested.Rd
man/plotCutoff.Rd
man/getCutoff.Rd
man/likRatioFit.Rd
man/summaryConverge.Rd
man/pValueNested.Rd
man/miss.Rd
man/getPower.Rd
man/plotPowerFitNonNested.Rd
man/findPower.Rd
man/findFactorIntercept.Rd
man/rawDraw.Rd
man/generate.Rd
man/createData.Rd
man/imposeMissing.Rd
man/plotCutoffNested.Rd
man/combineSim.Rd
man/plotLogitMiss.Rd
man/summaryFit.Rd
man/summaryPopulation.Rd
man/summarySeed.Rd
man/plotCoverage.Rd
man/plotPowerFit.Rd
man/plotDist.Rd
man/continuousCoverage.Rd
man/findCoverage.Rd
man/SimMatrix-class.Rd
man/inspect.Rd
man/getCutoffNested.Rd
man/pValueNonNested.Rd
man/coef.Rd
man/sim.Rd
man/plotPowerFitNested.Rd
man/continuousPower.Rd
man/multipleAllEqual.Rd
simsem documentation built on May 19, 2017, 7:44 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.