>http://ngwww.ucar.edu/ngdoc/ng/ref/ncl/functions/rtest.html
>
>function rtest (
> r : numeric,
> Nr : integer,
> opt : integer
> )
>
>some question about this function:
>1. Is the significance test applied here T-test(Student's t-test)?
yes ... very similar to Numerical Recipies.
Use SLATEC to comute the beta function.
>2. Is there a corresponding function like "test_Wrap"?
No but if the "r" has meta data associated with it,
u can readily do it.
function rtest_Wrap (r:numeric, Nr:integer, opt:integer)
begin
result = r ; variable-o-variable transfer of
; values and meta data
result = rtest(r, Nr, opt)
result@long_name = "cor. coef. sifnificance"
if (isatt(result,"units")) then
delete(result@units) ; no units
end if
return(result)
end
_______________________________________________
ncl-talk mailing list
ncl-talk AT ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Fri Oct 15 2004 - 14:14:03 MDT