edu.ucla.stat.SOCR.analyses.model
Class NormalPower
java.lang.Object
edu.ucla.stat.SOCR.analyses.model.NormalPower
- All Implemented Interfaces:
- Analysis
public class NormalPower
- extends java.lang.Object
- implements Analysis
Constructor Summary |
NormalPower()
|
NormalPower(double mu0,
double x,
double sigma)
|
NormalPower(double power,
double sigma,
double alpha,
double mu0,
double muA,
java.lang.String hypothesisType)
|
NormalPower(int sampleSize,
double sigma,
double alpha,
double mu0,
double muA,
java.lang.String hypothesisType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Y_DATA_TYPE
public static final java.lang.String Y_DATA_TYPE
- See Also:
- Constant Field Values
HYPOTHESIS_TYPE_LT
public static final java.lang.String HYPOTHESIS_TYPE_LT
- See Also:
- Constant Field Values
HYPOTHESIS_TYPE_GT
public static final java.lang.String HYPOTHESIS_TYPE_GT
- See Also:
- Constant Field Values
HYPOTHESIS_TYPE_NE
public static final java.lang.String HYPOTHESIS_TYPE_NE
- See Also:
- Constant Field Values
numberPointsHalf
public int numberPointsHalf
numberPoints
public int numberPoints
numberOfCurves
public int numberOfCurves
sampleSize
public int sampleSize
sigma
public double sigma
alpha
public double alpha
power
public double power
z
public double z
pv
public double pv
hypothesisType
public java.lang.String hypothesisType
beta
public double beta
mu0
public double mu0
muA
public double muA
meanPlotPoints
public double[] meanPlotPoints
powerPlotPoints
public double[] powerPlotPoints
multipleMeanPlotPoints
public double[][] multipleMeanPlotPoints
multiplePowerPlotPoints
public double[][] multiplePowerPlotPoints
criticalPoints
public static double[] criticalPoints
NormalPower
public NormalPower()
NormalPower
public NormalPower(double mu0,
double x,
double sigma)
NormalPower
public NormalPower(int sampleSize,
double sigma,
double alpha,
double mu0,
double muA,
java.lang.String hypothesisType)
NormalPower
public NormalPower(double power,
double sigma,
double alpha,
double mu0,
double muA,
java.lang.String hypothesisType)
getAnalysisType
public java.lang.String getAnalysisType()
- Specified by:
getAnalysisType
in interface Analysis
getNormalAnalysis
public Result getNormalAnalysis()
analyze
public Result analyze(Data data,
short analysisType)
throws WrongAnalysisException,
DataIsEmptyException
- Specified by:
analyze
in interface Analysis
- Throws:
WrongAnalysisException
DataIsEmptyException
getPowerOneSidedGT
public double getPowerOneSidedGT()
getPowerOneSidedLT
public double getPowerOneSidedLT()
getPowerTwoSidedNE
public double getPowerTwoSidedNE()
getMeanPlotPoints
public double[] getMeanPlotPoints()
getPowerPlotPoints
public double[] getPowerPlotPoints()
getMultipleMeanPlotPoints
public double[][] getMultipleMeanPlotPoints()
getMultiplePowerPlotPoints
public double[][] getMultiplePowerPlotPoints()
getSampleSizeResult
public NormalPowerResult getSampleSizeResult()
getEnhancePlotParameter
public double getEnhancePlotParameter(int sampleSize)
getPowerResult
public NormalPowerResult getPowerResult()
setNumberOfCurves
public void setNumberOfCurves(int input)
main
public static void main(java.lang.String[] args)