ctmaEqual | R Documentation |
test if the two or more invariant drift parameters in the CoTiMAFit object supplied are equal. The supplied CoTiMA fit-object
(ctmaInvariantFit) has to be a model fitted with ctmaFit
where at least two parameters were set invariant across primary studies (e.g., 2 cross
effects). All parameters that are set invariant in the supplied model are then constrained to be equal by ctmaEqual (no user action
required), the model is fitted, and a log-liklihood ratio test is performed informing about the probability that equality applies.
ctmaEqual(
ctmaInvariantFit = NULL,
activeDirectory = NULL,
activateRPB = FALSE,
digits = 4,
coresToUse = 2
)
ctmaInvariantFit |
object to which a CoTiMA fit has been assigned to (i.e., what has been returned by |
activeDirectory |
defines another active directory than the one used in ctmaInvariantFit |
activateRPB |
set to TRUE to receive push messages with CoTiMA notifications on your phone |
digits |
Number of digits used for rounding (in outputs) |
coresToUse |
If neg., the value is subtracted from available cores, else value = cores to use |
returns a model where two or more parameters were set equal across primary studies and a log-likelihood difference test informing about the probability that the equality assumption is correct.
# Fit a CoTiMA with a set of parameters set equal that were set
# invariant in a previous model (of which the fit object is
# supplied in argument ctmaInvariantFit)
## Not run:
CoTiMAFullInv23Fit_6$activeDirectory <- "/Users/tmp/" # adapt!
CoTiMAFullInvEq23Fit_6 <- ctmaEqual(ctmaInvariantFit=CoTiMAFullInv23Fit_6)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.