Learn R Programming

⚠️There's a newer version (0.9.20) of this package.Take me there.

semtree

What is this?

An R package for estimating Structural Equation Model Trees and Forests.

Install

To install the latest semtree package directly from GitHub, copy the following line into R:

library(devtools)
devtools::install_github("semtree","brandmaier")

Usage

Please see official semtree website: http://brandmaier.de/semtree

References

Theory and method:

Brandmaier, A. M., Driver, C., & Voelkle, M. C. (in press). Recursive partitioning in continuous time analysis. In K. van Montfort, J. Oud, & M. C. Voelkle (Eds.), Continuous time modeling in the behavioral and related sciences. New York: Springer.

Brandmaier, A. M., Prindle, J. J., McArdle, J. J., & Lindenberger, U. (2016). Theory-guided exploration with structural equation model forests. Psychological Methods, 21, 566-582.

Brandmaier, A. M., von Oertzen, T., McArdle, J. J., & Lindenberger, U. (2014). Exploratory data mining with structural equation model trees. In J. J. McArdle & G. Ritschard (Eds.), Contemporary issues in exploratory data mining in the behavioral sciences (pp. 96-127). New York: Routledge.

Brandmaier, A. M., von Oertzen, T., McArdle, J. J., & Lindenberger, U. (2013). Structural equation model trees. Psychological Methods, 18, 71-86.

Applied examples:

Brandmaier, A. M., Ram, N., Wagner, G. G., & Gerstorf, D. (in press). Terminal decline in well-being: The role of multi-indicator constellations of physical health and psychosocial correlates. Developmental Psychology.

Copy Link

Version

Install

install.packages('semtree')

Monthly Downloads

389

Version

0.9.12

License

GPL-3

Maintainer

Andreas M. Brandmaier andy@brandmaier.de

Last Published

February 13th, 2018

Functions in semtree (0.9.12)

getNodeById

Get Node By Id
getNumNodes

Tree Size
findOtherSplits

Find Other Node Split Values
lgcm

Simulated Linear Latent Growth Curve Data
getTerminalNodes

Returns all leafs of a tree
semtree

SEM Tree: Recursive Partitioning for Structural Equation Models
parameters

SEMtrees Parameter Estimates Table
outliers

Find outliers based on case proximity
semforest

Create a SEM Forest
semtree.constraints

SEM Tree Constraints Object
semforest.control

SEM Forest Control Object
biodiversity

Quantify bio diversity of a SEM Forest
evaluateDataLikelihood

Evaluate Data Likelihood
diversityMatrix

Diversity Matrix
Distances

Distances
modelEstimates

Returns all estimates of a tree
merge

Merge two SEM forests
evaluateTree

Evaluate Tree -2LL
evaluate

Average Deviance of a Dataset given a Forest
partialDependence

Partial Dependence Plot
varimp

SEM Forest Variable Importance
prune

Prune a SEM Tree or SEM Forest
proximity

SEM Forest Case Proximity
subtree

SEMtree Partitioning Tool
se.semtree

SEMtrees Parameter Estimates Standard Error Table
semtree.control

SEM Tree Control Object
toTable

Tabular Representation of a SEM Tree
subforest

Creates subsets of trees from forests
getHeight

Determine Height of a Tree