- Bug fix: use of
standardize = "scale"
insem.coefs
withcbind
inglmer
- Warning: use of
poly
polynomials in model formula - Feature addition: support for models of class
rq
- Bug fix: error in scaling of transformed variables in
get.scaled.data
- Bug fix:
sem.basis.set
failed to remove variables regressed against their interaction - Bug fix: multiple levels of
grouping.vars
insem.fit
- Feature addition: new function
acyclic
to test for acyclic DAGs - Feature addition: new function
rsquared
for easier calling ofsem.model.fits
- Bug fix: order of adjacency matrix in
get.sort.dag
- Feature addition: model class
glmmTMB
- Bug fix: inclusion of transformed variables as additional boxes in
sem.plot
- Bug fix: specification of invalid models in
endogenous.reverse
- Feature addition: implemented two-column binding as response in GLM(M)s
- Bug fix: memory allocation error in
sem.model.fits
- Bug fix: inclusion of entries in the basis set without corresponding models in the model list in
endogenous.reverse
- Bug fix: crossed random effects in
get.random.formula
not returning correct random slopes - Bug fix:
gls
models insem.missing.paths
could not update basis model
- Feature addition: report of intercepts in
sem.coefs
- Bug fix: warning with random slopes not present as fixed effects in
sem.model.fits
- Feature addition: new function
endogenous.reverse
to assist with independence claims among intermediate endogenous variables not fit to a normal distribution - Bug fix: negative binomial models fail to return R2s in
sem.model.fits
- Bug fix: Failed to index correct P-value in
sem.missing.paths
when categorical variables are present - Bug fix: intermediate endogenous variables not properly removed from the basis set in
sem.missing.paths
- Feature addition: significance indicators for P-value outputs
- Bug fix: remove random effects from
get.scaled.data
- Feature addition: Use
KRmodcomp
frompbkrtest
instead ofget_LB_dff
to calculate P-values forlmer
models - Bug fix: transformations for scaled coefficients no longer fails in
sem.coefs
- Bug fix: all interactions now show up in
sem.coefs
when scaled - Bug fix: random slopes as fixed effects not registering properly in
sem.model.fits
- Bug fix: added \dontrun{} to all help files
- Reduced time it takes examples to run
- Stop: if duplicate responses are detected in the model list
- Temporary bug fix: returns lowest P-value for when d-sep tests include non-linear intermediate endogenous variables, only if family is not Gaussian
- Bug fix: reversed order of conditioning variables so they come first
- Bug fix: removed entries from the basis set that attempt to predict an interaction that does not appear in the model list
- Feature addition: rudimentary plotting using
sem.plot
- Feature addition: support for
glmmadmb
models - Feature addition:
pbkrtest
to reliably extract p-values fromlme4
models - Major Bug Fix: incorrect basis set specified by
ggm::topSort
; introducedsort.dag
function, removed dependency onggm
- Major Bug Fix:
sem.basis.set
now treats transformed variables as untransformed, resolving duplicate vars in the basis set - Bug fix: resolved switched interactions (e.g., x1:x2 vs x2:x1) leading to duplicate vars in the basis set using
get.dag
- Bug fix: fixed long standing bug with
lmer
models not returning p-values
- Bug fix: correlated errors among exogenous variables in
sem.coefs
- Bug fix: correctly scale data from
pgls
models usingget.scaled.data
- Bug fix: corrected basis set for models created with
gls
- Feature addition: helper function
get.scaled.model
to get model from scaled coefficients - Feature addition: (partial) correlations in sem.coefs
- Bug fix: passing of correlated errors to lavaan
- Bug fix: standardized coefficients for variables transformed in model formula
- Bug fix: get.model.control updated for latest versions of lme4 and nlme
- Bug fix: hand compute interactions in
sem.lavaan
using argumentcompute.int = TRUE
- Feature addition: function
get.scaled.data
to handle transformed variables insem.coefs
when standardize = "scale"
- Feature addition: added additional plotting arguments for partial.residuals
- Feature addition: AICc and delta AIC to sem.model.fits
- Bug fix: Offsets in model formula treated as predictors in d-sep tests
- Feature addition: AICc and delta AIC to sem.model.fits
- Bug fix: issue with interactions in basis set and d-sep tests in sem.missing.paths
- Bug fix: issue with fixed intercept models and calculating the basis set
- Bug fix: issue with offset() variables in sem.missing.paths
- Bug fix: transformed responses for partial residuals
- Bug fix: duplicated values in basis set (function DAG in ggm package)
- First release to CRAN
- Added vignette
- Fixed issue with design matrix including omitted observations and dropped levels in sem.model.fits
- Incorporated interactions into partial.resid
- Fixed bug with lme residuals in partial.resid and predict.sem
- Modified sem.coefs to return NA for standardized interactions
- Added functions get.dag and get.basis.set
- Fixed issue with interactions in sem.missing.paths
- Fixed issue in sem.missing.paths where only 1 missing path returned NA instead of p-value
- Removed argument filter.exog = TRUE
- Fixed error for add.vars in get.dag
- Fixed issue with transformed variables and sem.coefs
- Fixed issue with lme4 models and sem.model.fits
- Fixed issue with incorrect independence claims in get.basis.set
- Fixed (nlme) merging error in partial.resid
- Fixed issue with glmmPQL and get.random.structure
- Added new citation (arXiv)
- Implemented workaround in sem.basis.set where output changed based on order of variables in formula with interactions
- Saturated models now return AIC (and AICc) values (with warning)
- Added standard errors on predictions for mixed models in predict.sem()
- Fixed typo in output for sem.fisher.c with incorrect df
- Fixed error with lme4 and gls models in partial.resid()
- Fixed error with lmerTest returning "merMod" objects
- New function predict.sem returns model predictions
- Fixed "unsupported model class" error for merModTest
- Major revisions and annotations to all functions to improve transparency and efficiency
- Included new helper functions get.random.formula() and get.model.control()
- Now reports df for all model types except glmer
- Included support for "gls" and phylogenetically independent contrast ("pgls") models
- Fixed deparse error in get.random.struture()
- Improved handling of gls() models
- Fixed issue with transformed corr.errors in get.basis.set
- get.sem.coefs now does range standardization
- get.sem.coefs now returns single table with significance values
- Improved handling of uneven observations in get.partial.resid
- get.partial.resid now accepts a single model in addition to a list of models
- get.lavaan.sem now supports additional arguments from lavaan
- Added new function to return R^2 and AIC values for component models in SEM
- get.partial.resid now returns residuals plot with fitted line
- get.missing.paths now returns more information for d-sep tests
- get.basis.set drops independence claims in the basis set where interactions predict their corresponding main effects
- get.fisher.c now reports k df and get.aic now reports K and n df
- Fixed rounding error that misreported Fisher's C
- Allow user-specified rounding using
sig=
argument in get.sem.fit, get.fisher.c, and get.aic
- Fixed minor bug in get.partial.resid where random effects threw an error for lme models
- Fixed interaction bug in filter.exogenous which was returning incompatible models from the basis set
- Fixed bug in get.sem.coefs where missing values returned NA for corr.errors
- Fixed issue with transformed/untransformed variables predicting one another in the basis set
- Fixed interaction bug in get.missing.paths, filter.exogenous, get.partial.resiod
- Now can supply single model control or list
- Fixed bug for transformed variables in get.partial.resid
- Can now specify an equation as input into get.partial.resid
- Fixed bug for transformed interaction terms in structured equations for get.basis.set
- Fixed bug for transformed variables when also specifying raw variables in corr.error
- Added model control arguments to get.sem.fit and get.partial.resid
- Added optional switch to display conditional variables in get.missing.paths
- Removed logLik df from get.aic output
- Incorporated multilevel data into get.sem.fit
- Fixed error when length(basis.set) = 1 and .progressBar = T
- Expanded interaction term in get.basis.set to include 20 letters instead of 10, and run them backwards
- Renamed variable names in filter.exogenous to better reflect what they are
- Incorporated transformed variables and multiple interactions into get.sem.coefs
- Fixed but with add.vars; many functions now require the user to supply a data.frame
- Standardized argument order across functions
- Improved handling of correlated errors in get.sem.coefs
- Incorporated correlated errors into get.sem.lavaan
- Fixed return of standardized coefficients in get.sem.coefs
- Added argument to define and quantify correlated errors
- Added new function get.partial.resid
- Added new function get.basis.set (replaced dag.updated)
- Improved handling of interactions in the basis set
- Improved handling of p-value rownames in get.missing.paths
- get.aic now returns df
- Added new functions get.aic, get.fisher.c, get.sem.coefs, get.lavaan.sem
- Added README.md
- Completed all existing .Rd files
- Updated .progressBar as to not conflict with existing function progressBar
- Altered handling of model formulae to collapse to a single character string
- Initial build of package
- Added CHANGELOG