有两道简单的练习题:
(a) the 30th and 60th percentiles forN(10,17^2).
(b) the 0.10 and 0.90 quantile forN(25,32^2).
用R来做的如下:
(a)
> pnorm( 0.3,10,17 )
[1] 0.2841394
> pnorm( 0.6,10,17 )
[1] 0.2901518
(b)
> qnorm( 0.1,25,32 )
[1] -16.00965
> qnorm( 0.9,25,32 )
[1] 66.00965
请问,上面的R code对不对?


雷达卡






京公网安备 11010802022788号







