x <-seq(-4,8,0.01) y <-dnorm(x, 2.2, 1.9) plot(x,y,type = "1") polygon(c(x[x>0], 0),c(y[x>0],y[x = = -4]),col = "honeydew2")

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

There are two Gaussian curves below (Plots A and B), along with the respective R source codes.
Looking at the plots and the source codes provided, identify the parameters of respective 
Gaussian pdf's (probability density functions) and the numeric value of x in the PDF  F(x) to 
express the  areas under the curves in terms of F(x). ( Do not calculate those areas. The answers must be like F(x) or 1-F(x)  for a relevant value of x.) 

Below is the source code and image for part a

X
-2
0
N
6
CO
0.00
T
0.05
0.10
0.15
0.20
Transcribed Image Text:X -2 0 N 6 CO 0.00 T 0.05 0.10 0.15 0.20
PLOT-A
X<-seq(-4,8,0.01)
y <-dnorm(x, 2.2, 1.9)
plot(x,y,type = "1")
polygon(c(x[x>0], 0),c(y[x>0],y[x = = -4]),col = "honeydew2")
Transcribed Image Text:PLOT-A X<-seq(-4,8,0.01) y <-dnorm(x, 2.2, 1.9) plot(x,y,type = "1") polygon(c(x[x>0], 0),c(y[x>0],y[x = = -4]),col = "honeydew2")
Expert Solution
Step 1:-

From the first line of the code we can see that, 

x<- seq(-4,8,0.01) 

The lower limit of x is -4 and upper limit is 8. 
The value of x is between- and 8. 
From the second line, 

y<- dnorm(x,2.2,1.9)

we know that, y<-dnorm(x,mean,standard deviation)

So, mean= 2.2 and standard deviation = 1.9

 

steps

Step by step

Solved in 3 steps

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman