Re: help: standardize problemA

From: Dennis Shea (shea AT ucar.edu)
Date: Sat Apr 16 2005 - 08:58:11 MDT

  • Next message: Saravanan Arunachalam: "Drawing grid-lines for Lambert Conformal Grid"

    oops! THX Joel

    the old documentation is at:
    http://ngwww.ucar.edu/ngdoc/ng/ref/ncl/functions/dim_standardize.html

    the new documentation will be corrected asap.

    ---
    

    Regarding the comment that

    >>I try to use the following method to standardize my data, >>but there are a lots data whicj is larger than 1 after I standardize.

    >> tsin = fbindirread ("Nino34_Had.grd", 0 , (/1620/),"float") >> var_ts = stddev(tsin) >> avg_ts = avg(tsin) >> print(var_ts) >> print(avg_ts) >> ts=tsin/var_ts

    It is not unexpected that standardizing yields values > 1. If the data are normally distributed the 68% will be less than (+/-)1; 27% (=95-68) will be between 1 and 2 [ about 4% will be be between 2 and 3; nd 0.3% > 3.

    The point of standardizing is to get the variance=1.0

    Note: I assume u have a good reason for standardizing the data prior to using spectral analysis?

    Regadrds, Dennis Shea

    >Fri, 15 Apr 2005, Joel Norris wrote: > Apparently an error was introduced into the documentation when the new > website was set up. Try > > ts = dim_standardize(tsin,0) >> ts = dim_standardize(tsin) >> ______________________________ >> but it cann't work, the error message is following: >> >> fatal:syntax error: function dim_standardize expects 2 arguments, got 1 >> fatal:Syntax Error in block, block not executed > -- > Joel Norris Assistant Professor of Climate and Atmospheric Sciences > > Scripps Institution of Oceanography email: jnorris@ucsd.edu > University of California, San Diego phone: (858) 822-4420 > 9500 Gilman Drive DEPT 0224 fax: (858) 534-8561 > La Jolla, CA 92093-0224 http://meteora.ucsd.edu/~jnorris/ > > Delivery Address: Scripps Institution of Oceanography > 8810 Shellback Way > Room 440, Nierenberg Hall > La Jolla, CA 92037 > _______________________________________________ > ncl-talk mailing list > ncl-talk@ucar.edu > http://mailman.ucar.edu/mailman/listinfo/ncl-talk > _______________________________________________ ncl-talk mailing list ncl-talk@ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talk



    This archive was generated by hypermail 2b29 : Sun Apr 17 2005 - 20:36:24 MDT