View source: R/Time_Series_Distortions.R
TStudentNoise | R Documentation |
A vector ts.student is created where every element of _ts.student_ follow a t(df) distribution. The _prop_ selected randomly. If Y_i_ is selected then it is replaced by _Y_i_ + _ts.student_i_.
TStudentNoise(y, prob, dfr)
prob |
The probability of success of the binomial distribution. A number between 0 and 1. |
dfr |
The degrees of freedom of the t-student distribution. |
Y |
The time serie as *numeric* to be contaminated. |
The Y matrix with t-Student noise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.