power4mome 0.1.1.29
Improve the function for extending the initial interval before doing a bisection search. (0.1.1.1)
Changed the default method for rejection rate confidence intervals to Wilson’s (1927) method. For backward compatibility, use
options(power4mome.ci_method = "norm")to set the default method to normal approximation. (0.1.1.2)Added the
test_methodargument for tests of indirect effects and their variants to use asymmetric p-values to do the tests. (0.1.1.3)Updated test functions that used
manymometo store the number of bootstrap or Monte Carlo samples and the number of estimates less than zero. (0.1.1.4)Updated
summarize_tests()andrejection_rates()to use the extrapolation method by Boos and Zhang (2000) if the number of resamples for bootstrapping or Monte Carlo is of the supported values. (0.1.1.5, 0.1.1.6, 0.1.1.7)Improved
rejection_rates_by_n()andrejection_rates_by_es()to handle attempts with different number of columns (due to the new Boos-Zhang methods). (0.1.1.8)Boos-Zhang-2000 method is disabled by default. Enable it by setting the option
power4mome.bztoTRUE. (0.1.1.9)x_from_power()now detects whether a test has more than one result (e.g., testing two parameters butomnibusis"none"). If yes, it will throw an error. (0.1.1.10)Added two levels of effects,
smfor small-to-moderate, andmlfor moderate-to-large. (0.1.1.11)Updated
extend_interval()to handle intervals with nearly equal function values. (0.1.1.12)Improved
x_from_power()and friends (e.g.,n_from_power()andn_region_from_power()) to make use of previous trials. (0.1.1.13)Optimized the search by bisection, to make use of value already tried and store all values tried. (0.1.1.14)
Fixed duplicated values of x when extending the range. (0.1.1.15)
Functions that print a call will replace
objectwith<hidden>if it is not a symbol. (0.1.1.16)Functions that print a call will replace the function with the original function name if it is not a symbol. (0.1.1.17)
Added
q_power_mediation()and friends for common mediation models. (0.1.1.18, 0.1.1.19)The arguments
final_nrepandfinal_Rofx_from_power()and its wrappers will use stored values if available. (0.1.1.20)The bisection algorithm has been improved in handling unusual intervals. (0.1.1.21)
Disable the check for the number of elements in
number_of_indicatorsandreliabilityin theq_power_mediation_*()functions. (0.1.1.22)Skip the check for combining objects in the bisection algorithm because they must be identical in the model. (0.1.1.23)
Revised
c.power4test_by_n()to allow for minor differences in error variances when they are determined by Monte Carlo simulation. (0.1.1.24)Properly support a model with only one latent variable. (0.1.1.25)
Vertically displace the labels of sample sizes in
plot.n_region_from_power()to prevent overlapping. (0.1.1.26)Fixed the printing of effects in a multigroup model with within-group moderation. (0.1.1.27)
Added
merge_all_teststorejection_rates()to support merging all tests into one. The argumentcollapsecan then be used for collapse several different tests, not just for one test with several results. (0.1.1.28)The function
power4test()now properly reuse arguments such asparallelandncoreswhen adding a new test to apower4testobject. (0.1.1.29)
