Suppose you have a standard normal variable So its Gaussian

Suppose you have a standard normal variable. So it\'s Gaussian with mean zero and variance 1. What is the probability that it will be negative ?
Suppose you have a standard normal variable. So it\'s Gaussian with mean zero and variance 1. What is the probability that it will be negative ?

Solution

mu=0;
std=1;
s=10000;
v=normrnd(mu,std,s,1);
n=0;
for i=1:s
if v(i)<0
n=n+1;
end
end
prob=n/s

prob =

0.4985

probability is varying between 0.49 to 0.51

 Suppose you have a standard normal variable. So it\'s Gaussian with mean zero and variance 1. What is the probability that it will be negative ? Suppose you ha

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site