Question: 105Peturns Question 2 Half-normal distribution Using the on random normal function, create an array of 10,000 random normal variables. The normal function takes three parameters,

 105Peturns Question 2 Half-normal distribution Using the on random normal function,

105Peturns Question 2 Half-normal distribution Using the on random normal function, create an array of 10,000 random normal variables. The normal function takes three parameters, first is the mean second, is the standard deviation. By default, it is a standard normal, so you don't need to do anything with those. The third parameter is size, which you can set equal to the number of random variables you want : normal_array Suppose we want to create halt-normal random variables. Those are just the absolute value of standard normal random variables. Go ahead and create an array of half-normal random vanables from your sample of standard normal variables - half_normal What is the mean of your sample? The mean of your random variables should be close to V7x. Using numpy functions, we can see that is around 0 798 Calculate the standard deviation In numpy, that can be done using st) Your standard deviation should be close to 1-3 which is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!