org.statcato.statistics.inferential
Class CI2PopVar
- java.lang.Object
-
- org.statcato.statistics.inferential.CI2PopVar
-
public class CI2PopVar extends java.lang.ObjectConfidence interval class for two population mean, sigma (population standard deviation) known.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor and Description CI2PopVar(double confidenceLevel, int n1, int n2, double var1, double var2)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringCIStdev()Returns a string representation of the confidence interval for standard deviation.java.lang.StringCIVar()Returns a string representation of the confidence interval for variance.doublecriticalValueLeft()Returns the left-tail critical value (F_L).doublecriticalValueRight()Returns the right-tail critical value (F_R).doublelowerLimit()Returns the lower limit of the confidence interval.doubleupperLimit()Returns the upper limit of the confidence interval.
-
-
-
Constructor Detail
-
CI2PopVar
public CI2PopVar(double confidenceLevel, int n1, int n2, double var1, double var2)Constructor.- Parameters:
confidenceLevel- confidence level, between 0 and 1n1- sample size 1n2- sample size 2var1- sample variance 1var2- sample variance 2
-
-
Method Detail
-
criticalValueRight
public double criticalValueRight()
Returns the right-tail critical value (F_R).- Returns:
- F_R
-
criticalValueLeft
public double criticalValueLeft()
Returns the left-tail critical value (F_L).- Returns:
- F_L
-
lowerLimit
public double lowerLimit()
Returns the lower limit of the confidence interval.- Returns:
- lower limit
-
upperLimit
public double upperLimit()
Returns the upper limit of the confidence interval.- Returns:
- upper limit
-
CIVar
public java.lang.String CIVar()
Returns a string representation of the confidence interval for variance.- Returns:
- string
-
CIStdev
public java.lang.String CIStdev()
Returns a string representation of the confidence interval for standard deviation.- Returns:
- string
-
-
DMelt 3.0 © DataMelt by jWork.ORG