JointProbabilityState
jhplot.stat

Class JointProbabilityState



  • public class JointProbabilityStateextends Object
    Calculates the probabilities of each state in a joint random variable. Provides the base for all functions of two variables.
    • Field Detail

      • jointMaxVal

        public final int jointMaxVal
      • firstMaxVal

        public final int firstMaxVal
      • secondMaxVal

        public final int secondMaxVal
    • Constructor Detail

      • JointProbabilityState

        public JointProbabilityState(double[] firstVector,                     double[] secondVector)
        Constructor for the JointProbabilityState class. Takes two data vectors and calculates the joint and marginal probabilities, before storing them in HashMaps.
        Parameters:
        firstVector - Input vector. It is discretised to the floor of each value.
        secondVector - Input vector. It is discretised to the floor of each value.

SCaVis 2.0 © jWork.ORG