Piecewise Structural Equation Modeling
Fitting piecewise structural equation models
Remove correlated errors from the basis set
Remove data from the model list
Get residuals from innermost grouping of mixed models (replicate-level...
Residual values from fit models
Replace transformations in the basis set by cycling through neighbors ...
If intermediate endogenous variables are nonlinear, return both direct...
R^2 for gam objects
R^2 for glm objects
R^2 for glmer objects
R^2 for glmmPQL objects
R^2 for gls objects
R^2 for lm objects
R^2 for lme objects
R^2 for phylolm objects
R^2 for negbin objects
Get a sorted psem object in DAG order
Get random effects variance-covariance from lme
Operator for non-overlap in sets
Correlated error operator
Handles putting categorical variables into coefficient tables for easy...
Functions to import from dependencies
Assess significance
Recompute P-values using Kenward-Rogers approximation
Get coefficients from linear regression
Generate adjacency matrix from list of structural equations
Get data from model list
Get Left-hand side of formulae
Obtain (observation-level) random effects from a generalized linear mi...
Identify models with correlated errors and return modified versions
Get Right-hand side of formulae
Get saturated model by reinserting all excluded paths
Get standard deviation of predictor variables
Properly scale standard deviations depending on the error distribution
Get data from one model
Do not print attributes with custom functions
Print basis set
Print multigroup
Print psem
Print summary
Generic function for SEM AIC(c) score
Information criterion values for SEM
Remove random effects from all.vars
Get vector of untransformed variables
Get vector of transformed variables
ANOVA and chi-squared difference test for model comparison
Chi-square difference test
Single anova
Convert list to psem object
Derivation of the basis set
Captures output table
Bind data.frames of differing dimensions
Summarize tests of directed separation using Fisher's C statistic
Correlated errors
Check to see whether supplied data.frame matches model-extracted data
Check to see whether variables exist as transformed and untransformed
Extract path coefficients
Transform variables based on model formula and store in new data frame
Tests of directed separation
Identify duplicate output
Evaluate model classes and stop if unsupported model class
Remove existing paths from the basis set
Filter relationships among exogenous variables from the basis set (ign...
Filter interactions from the d-sep tests
First, remove claims where linear and non-linear terms appear in the s...
Get random effects from lme
Flip independence claims so categorical variables are not the response
Format for psem
Get Response Name as a Character
Get ANOVA results from merMod
Generalized chi-squared for piecewise SEM
Multigroup Analysis for Piecewise SEM
Get number of observations from a model
Get random effects from merMod
Calculate partial correlations from partial residuals
Computing partial effects
The 'piecewiseSEM` package
Plotting of Piecewise Structural Equation Models
Print anova
R-squared for linear regression
R^2 for Sarlm objects
Compute standard deviation or relevant range of response for GLMs
Calculate standard deviation or relevant range for interaction terms
Sort DAG based on ancestry
Remove duplicate items from the basis set whose direction is not a pri...
Calculate standardized regression coefficients
Stop function for unsupported methods
Strip transformations
Summarizing piecewise structural equation models
Evaluate conditional independence claim from the basis set
Get raw (undstandardized) coefficients from model
Update psem model object with additional values.
Implements piecewise structural equation modeling from a single list of structural equations, with new methods for non-linear, latent, and composite variables, standardized coefficients, query-based prediction and indirect effects. See <http://jslefche.github.io/piecewiseSEM/> for more.