NCL Home>
Application examples>
Data Analysis ||
Data files for some examples
regress_1.ncl: Demonstrates
the use of the ncl built-in function regline,
which calculates the least squared regression for a one
dimensional array.
regress_2.ncl: Demonstrates the
use of the ncl built-in function regCoef, which
calculates the least squared regression for a mulit-dimensional
array.
Example pages containing: tidbits | resources | functions/procedures
Regression
There are two regression functions,
regline which works on one-dimensional arrays and
regcoef which works on multi-dimensional arrays.
regress_1.ncl: Demonstrates
the use of the ncl built-in function regline,
which calculates the least squared regression for a one
dimensional array.
regress_2.ncl: Demonstrates the
use of the ncl built-in function regCoef, which
calculates the least squared regression for a mulit-dimensional
array.