- 积分
- 43
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-10-11
- 最后登录
- 1970-1-1
|
发表于 2017-12-2 16:50:28
|
显示全部楼层
Example 2
Assume aveX, varX, sX, aveY, varY, sY are dimensioned nlat x mlon. Then:
alpha = 100.*(1. - ttest(aveX,varX,sX, aveY,varY,sY, iflag, False))
will yield alpha dimensioned nlat x mlon. A significance of 0.05 returned by ttest would yield 95% for alpha. This is often done for plotting.
If tval_opt is set to True:
alphat = 100.*(1. - ttest(aveX,varX,sX, aveY,varY,sY, iflag, True))
then alphat will be 2 x nlat x mlon where the probabilities will be at (0,nlat,mlon) and the t-values will be at (1,nlat,mlon). |
|