Scripts - Miscellaneous commands
System variables commands
Use the Clear covariates command to clear the system variables $covariates to $covariates.
BoxCoxParams(var[,filter],lambda,shift) estimates an optimal value for Lambda and shift paramater for a Box-Cox or power transformation of a spreadsheet variable var and optionally a filter. See Power transformation. The estimated parameters are assigned to the corresponding workspace variables lambda and shift.
Randomize(seed) resets the MedCalc random number generator.
Two different initializations with the same seed will generate the same sequence of random numbers.
If seed is 0, the generator is reinitialized to its initial value and the random number generator produces the same sequence of random numbers.
Delay(msec) delays execution of the script during msec milliseconds, with a ± 10 to 16 milliseconds accuracy.