4. (26 points) Write a function in R Programming that show the Gaussian (Normal) probability distribution: \begin{equation*} f_x(x) = \frac{1}{\sqrt{2\pi\sigma}} \exp\left[ -\frac{(x-\mu)^2}{2\sigma^2} \right] \end{equation*} For example, if you run this function for mean $\mu$= 50, standard deviation $\sigma$= 10 and x=100, the result will be 1.48672e-07.
Added by Mark J.
Close
Step 1
This function calculates the probability density function (PDF) of a normal distribution. Show more…
Show all steps
Your feedback will help us improve your experience
Melissa Munoz and 57 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Melissa M.
16. (7 points) Let z denote a random variable having a normal distribution with μ=0 and σ=1. Determine each of the following probabilities. (You may need to use a table. Round your answers to four decimal places.) (a) P(z<0.30) (b) P(z<-0.3) (c) P(0.40<z<0.84) (d) P(-0.84<z<-0.4) (e) P(-0.4<z<0.84) (f) P(z>-1.25) (g) P(z<1.60 or z>2.40)
Nicholas H.
Find a value of the standard normal random variable z, call it z0, such that the following probabilities are satisfied. a. P(z ≤ z0) = 0.0328 b. P(-z0 ≤ z ≤ z0) = 0.95 c. P(-z0 ≤ z ≤ z0) = 0.99 d. P(-z0 ≤ z ≤ z0) = 0.8974 e. P(-z0 ≤ z ≤ 0) = 0.3308 f. P(-3 < z < z0) = 0.9876 g. P(z > z0) = 0.5 h. P(z ≤ z0) = 0.0082 a. z0 = (Round to two decimal places as needed.)
Adi S.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD