Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started