Questions tagged as 'rnorm'

1
answer

How to generate correlated variables in R?

I was able to create the uniform variables X and W , both with normal distribution, through the formula rnorm and R . However, I wanted to create the variables so that they had a -0.8 correlation value. What command...
asked by 23.03.2014 / 02:24
1
answer

How to combine two vectors and get all results from a given account with them

I'm trying to do a calculation and I need your help. First I make a normal distribution sequence with 420 numbers, then I make a sequence of numbers that I call mci with 42 numbers, then the next calculation has a if condition....
asked by 20.02.2016 / 03:20