lundi 16 mai 2016

Adding extreme value distributed noise (with µ=0,σ=10) to a vector of numbers in R

I have the following matrix

Measurement Treatment
38 A
14 A
54 A
69 A
20 B
36 B
35 B
10 B
11 C
98 C
88 C
14 C

I want to add extreme value distributed noise (with mean=0 and sd=10) to the Measurement values. How can I achieve that in R?

I found revd in extRemes package, but it does not work as expected. Does devd from the same package do what I want to do? (but it does not allow for mean and sd to be defined)




Aucun commentaire:

Enregistrer un commentaire