Changelog
Source:NEWS.md
manymome 0.1.14.16
New Features
Many functions have been updated to work for multigroup models fitted by
lavaan
. Most common tasks are supported. There likely are functions that may not yet work on multigroup models. Checks will be added to them to alert users. For now, only some functions (e.g.,cond_indirect_effect()
) supports multigroup models which have one or more moderators within each group, but these models are rare. Functions that do not yet support multigroup models (e.g,mod_levels()
) will raise an error if used on a multigroup model. (0.1.14.2 to 0.1.14.5, 0.1.14.12 - 0.1.14.13)Relaxed the requirement that only different paths can be used in
+
and-
. They can now be used in these operations, as they may be paths in different groups in multigroup models. (0.1.14.2)The
plot
-method ofcond_indirect_effects
-class objects will be forced to be a tumble graph if the lines for different groups are to be plotted. In these cases, the data within each group will be used, including standardization. This approach, though leading to results different from those in single-group model using the group as a moderator, makes more sense for multigroup models, in which the distribution of variables are allowed to be different between groups. Since 0.1.14.10, by default, the model implied statistics are used to determine the means and SDs used in drawing he plot. This approach is useful when equality constraints are present. (0.1.14.2, 0.1.14.6, 0.1.14.10, 0.1.14.11)The
plot
-method ofcond_indirect_effects
-class objects now supports plotting a path that involves latent variables. The model implied statistics will always be used for the latent variables when determining the means and SDs. (0.1.14.7)Added
plot_effect_vs_w()
. It can plot an effect (direct or indirect) against a moderator, using the output ofcond_indirect_effects()
. (0.1.14.14 - 0.1.14.15)Added
pseudo_johnson_neyman()
. It used the pseudo Johnson-Neyman approach (Hayes, 2022) to find the value of a moderator at which the conditional effect (direct or indirect) changes from nonsignificant to significant (or vice versa), based on the confidence interval selected. (0.1.14.16)
Miscellaneous
If a dataset has a variable which is a product of itself and another variable (e.g.,
x*y == x
),find_products()
will be trapped in an infinite loop. This “product term” will no longer be treated as a “product term.” (0.1.14.1)Bootstrapping and Monte Carlo simulation will no longer be run once for each path in
many_indirect_effects()
. Ifdo_boot()
ordo_mc()
is not used first but bootstrapping or Monte Carlo confidence intervals are requested, this process will be done only once, and the estimates will be reused by all paths. (0.1.14.9)
manymome 0.1.14
CRAN release: 2024-02-16
New Features
- The standardizers (
scale_x
andscale_y
) for each bootstrap or simulated sample are now stored, such that the confidence interval of the unstandardized effect can be computed even if standardization is requested. (0.1.13.2)
Bug Fixes
- Fixed a nonessential bug with the math operator:
indirect_raw
, though not used for now, is now computed correctly when using+
and-
. (0.1.13.1) - Fixed a minor typo in documentation. (0.1.13.3)
- Fixed a minor issue with the print method of
delta_med
-class object. (0.1.13.4) - Fixed a bug with using
do_mc()
on a model which do not have a mean structure, has latent variables, and is estimated by multiple imputation. Error is no longer raised. (0.1.13.5) - Fixed a few more tests that should not be run if suggested packages are not installed. (0.1.13.6)
- No longer raises an error for dichotomous moderators. (0.1.13.7)
manymome 0.1.13
CRAN release: 2023-10-06
New Features
- Added
delta_med()
for computing ΔMed (Delta_Med), an R2-like measure of indirect effect proposed by Liu, Yuan, and Li (2023). Can form nonparametric bootstrap confidence interval for ΔMed. (0.1.12.1, 0.1.12.3) - Added support for paths with both latent and observed variables. (0.1.12.2, 0.1.12.4)
manymome 0.1.12
CRAN release: 2023-08-21
New Features
Can report standard errors (if requested)
- All major print methods of effects support printing standard errors (setting
se = TRUE
). They are simply the standard deviations of the bootstrap estimates (if bootstrap confidence intervals are requested) or simulated estimates (if Monte Carlo confidence intervals are requested). They should be interpreted with cautions because the sampling distribution of the effect estimates may not be symmetric. (0.1.11.2)
Miscellaneous
Customized
linters
. (0.1.11.1)Revised a test to accommodate a behavior of MKL when
MASS::mvrnorm()
is used to generate pseudo random numbers. (0.1.11.4)Finalized to 0.1.12. (0.1.12)
Bug Fixes
P-value were not computed when mathematical operations are conducted on effects using
+
and-
before version 0.1.11.2. This has been fixed. (0.1.11.2)merge_model_matrix()
failed if all variables in anlm()
output is already present in merged outputs. Fixed in 0.1.11.3. (0.1.11.3)cond_indirect()
did not hide the progress when Monte Carlo CIs were requested anddo_mc()
was called internally. Fixed. It now hides the progress ifprogress = TRUE
. (0.1.11.5)
manymome 0.1.10
CRAN release: 2023-06-08
New Features
Monte Carlo Confidence Intervals
- Added support for Monte Carlo confidence intervals. (0.1.9.3 to 0.1.9.4)
- Updated some vignettes for Monte Carlo confidence intervals. (0.1.9.5)
- Please refer to this article for an illustration on forming Monte Carlo confidence interval.
Multiple Imputation
- Added support for models fitted by
runMI()
orsem.mi()
from thesemTools
package using multiple imputation. (0.1.9.8-0.1.9.10) - Please refer to this article for an illustration on forming Monte Carlo confidence interval.
Can report p-value (if requested)
- Some print methods support printing asymmetric bootstrap p-values using the method presented in Asparouhov and Muthén (2021) if bootstrapping confidence interval is requested. By default, p-values are not printed. (0.1.9.7)
Report proportion of effect mediated
- Added
indirect_proportion()
and two methods for its output. (0.1.9.12)
Others
- Exported
get_prod()
and added an article on its workflow. (0.1.9.13). - Bootstrapping can handle the
fixed.x
argument aslavaan
does. (0.1.9.17)
Bug Fixes
- Fixed
factor2var()
to work (again) for a categorical variable with only two levels. (0.1.9.21)
Miscellaneous
- Updated badges in README.md. (0.1.9.1)
- Updated
pkgdown
site. (0.1.9.2) - Used a more reliable test for Monte Carlo CIs. (0.1.9.6)
- Updated the logo for readability. (0.1.9.6)
- Fixed an error in
pkgdown
site. (0.1.9.6) - Added progress bars to
do_mc()
. (0.1.9.11) - Added
print.mc_out()
, the print-method formc_out
-class objects. (0.1.9.14) - Updated vignettes with package name. (0.1.9.15)
- Fixed typos in NEWS.md. (0.1.9.15)
- Updated
pkgdown
GitHub action for using newer version of mermaid. (0.1.9.15) - Updated
pkgdown
website to use the new logo and color scheme. (0.1.9.16) - Modified more tests to accommodate a change in
lavaan
on handling random seed. (0.1.9.18) - No change to the main code. Added a few technical appendices as
pkgdown
articles, accessible through thepkgdown
website of the package. (0.1.9.19) - Updated the documentation of functions to state that they support
lavaan.mi
-class objects. (0.1.9.20)
manymome 0.1.6
CRAN release: 2022-11-06
New Features
Bootstrapping
- Added
lm2boot_out_parallel()
to do bootstrapping with the output oflm()
using parallel processing. This is the default whendo_boot()
is used on the outputs oflm()
. (0.1.4.4) - Added a print method for the output of
do_boot()
. (0.1.4.7)
Mediation
- Added
all_indirect_paths()
for identifying all indirect paths in a model. (0.1.4.5) - Added
many_indirect_effects()
for computing indirect effects for a list of paths. (0.1.4.5) - Added
total_indirect_effect()
for computing the total indirect effect between two variables. (0.1.4.5)
Bug Fixes
- Updated README.md with code for installing from CRAN. (0.1.4.1).
- Fixed a typo in README.md. (0.1.4.2)
- Fixed tests that should be done by
expect_equal
on numbers rather than on characters. No change in the functions. (0.1.4.3) - Noted in the vignettes that some new functions are not yet on the CRAN version and available in the GitHub version. (0.1.4.6)
- Fixed a bug in
merge_model_frame()
. (0.1.4.8)