apaTsim(nSims, Degrees, Mean, StandardDeviation)
Excel
=apaTsim(nSims, Degrees, Mean, StandardDeviation)Result
Returns a matrix of random numbers drawn from Student’s t distributions with given location and scale parameters.
Syntax
nSims: number of observations to simulate
Degrees: degrees of freedom
Mean: 1 x c vector of location parameters
StandardDeviation: 1 x c vector of scale parameters
Remarks
The function is volatile, i.e. it is recalculated whenever a change occurs, even if not related to the function’s output. The function is also recalculated when pressing F9.
