edu.ucla.stat.SOCR.util
Class normalMixture
java.lang.Object
edu.ucla.stat.SOCR.util.normalMixture
public class normalMixture
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
normalMixture
public normalMixture(int mixCt,
float[] rawDat,
double tol)
normalMixture
public normalMixture(int mixCt,
double[] rawDat,
double tol)
mixInit
public void mixInit(int mixCt,
double[] rawDat,
double tol)
updateEStep
public void updateEStep()
updateMStep
public void updateMStep()
getMixDensity
public double getMixDensity(double y)
getKernalDensity
public double getKernalDensity(int i,
double y)
getMean
public double getMean(int i)
getVariance
public double getVariance(int i)
getCount
public int getCount()
getWeight
public double getWeight(int i)
getWeights
public double[] getWeights()
maxDouble
public double maxDouble(double[] X)
minDouble
public double minDouble(double[] X)