Question: Intro to R 2 Problem 2 1. Create a function,RandomNormal(), that (a) has 1 input n; (b) generates n random values from N ( =

Intro to R

2 Problem 2

1. Create a function,RandomNormal(), that (a) has 1 input n; (b) generates n random values from N ( = 0, = 5) (Normal Distribution with mean 0 and standard deviation of 5). (If you run RandomNormal(7), you should see 7 random values from N ( = 0, = 5).) (15 Points) 2. Calculate percentage of positive random values of RandomNormal(30). (5 Points) Show both codes and results for full credits.

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!