hydroScalingAPI.tools
Class XYStats

java.lang.Object
  extended by hydroScalingAPI.tools.XYStats

public class XYStats
extends java.lang.Object

An object that calculates statistics between two time series

Author:
Ricardo Mantilla

Field Summary
 float Covariance
           
 float intercept
           
 float R2
           
 float slope
           
 Stats xStats
           
 Stats yStats
           
 
Constructor Summary
XYStats(float[] Xs, float[] Ys, boolean takeLogs)
          Creates a new instance of XYStats
 
Method Summary
static void main(java.lang.String[] args)
          Tests for the class
 java.lang.String toString()
          Composes a String with the statistics for the data
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Covariance

public float Covariance

slope

public float slope

intercept

public float intercept

R2

public float R2

yStats

public Stats yStats

xStats

public Stats xStats
Constructor Detail

XYStats

public XYStats(float[] Xs,
               float[] Ys,
               boolean takeLogs)
Creates a new instance of XYStats

Method Detail

toString

public java.lang.String toString()
Composes a String with the statistics for the data

Overrides:
toString in class java.lang.Object
Returns:
The string with statistics

main

public static void main(java.lang.String[] args)
Tests for the class

Parameters:
args - The command line parameters


CUENCAS was initially developed by Ricardo Mantilla at the University of Colorado under the supervision of Dr. Vijay K. Gupta. We wish to recognize the support from the National Science Fundation.