2016-03-01 36 views

回答

3

這個函數\ Phi是一個標準正態隨機變量的累積分佈函數,是的,R中有一個函數:dnorm。因此,

z <- seq(-2, 20, length = 1000) 
plot(z, 1 - dnorm(4.65 - z/2), type = 'l') 
# or also just curve(1 - dnorm(4.65 - x/2), -2, 20) 

enter image description here