terr: terr function is used to generate a dataset where the error term follows a T-distribution
Description
This terr function generates a dataset with a specified number of observations and predictors, along with a response vector that has an error term following a T-distribution.
Usage
terr(n, nr, p, dist_type, ...)
Value
X,Y,e
Arguments
n
is the number of observations
nr
is the number of observations with a different error T distribution
p
is the dimension of the observation
dist_type
is the type where the error term obeys a T-distribution
...
is additional arguments for the T-distribution function