edu.ucla.stat.SOCR.analyses.result
Class ClusteringResult

java.lang.Object
  extended by edu.ucla.stat.SOCR.analyses.result.Result
      extended by edu.ucla.stat.SOCR.analyses.result.AnalysisResult
          extended by edu.ucla.stat.SOCR.analyses.result.LinearModelResult
              extended by edu.ucla.stat.SOCR.analyses.result.ClusteringResult

public class ClusteringResult
extends LinearModelResult


Nested Class Summary
 
Nested classes/interfaces inherited from class edu.ucla.stat.SOCR.analyses.result.LinearModelResult
LinearModelResult.Intercept, LinearModelResult.PlotData, LinearModelResult.Predictor
 
Field Summary
static java.lang.String BETA
           
static java.lang.String BETA_P_VALUE
           
static java.lang.String BETA_SE
           
static java.lang.String BETA_T_STAT
           
static java.lang.String DF_ERROR
           
static java.lang.String PREDICTED
           
static java.lang.String RESIDUALS
           
static java.lang.String SORTED_NORMAL_QUANTILES
           
static java.lang.String SORTED_RESIDUALS
           
static java.lang.String SORTED_RESIDUALS_INDEX
           
static java.lang.String VARIABLE_LIST
           
 
Fields inherited from class edu.ucla.stat.SOCR.analyses.result.LinearModelResult
ALPHA, ANOVA_Y_GROUP_MEANS, ANOVA_Y_MEAN, BETA_VAR, DF, DF_GROUP, DF_MODEL, DF_TOTAL, F_VALUE_GROUP, intercept, MSE_GROUP, MSS_ERROR, MSS_MODEL, P_VALUE_GROUP, plotData, predictor, predictorList, R_SQUARED, RSS_ERROR, RSS_GROUP, RSS_MODEL, RSS_TOTAL, SCORE, SLR_MEAN_X, SLR_MEAN_Y, SORTED_STANDARDIZED_NORMAL_QUANTILES, SORTED_STANDARDIZED_RESIDUALS, TAG_adjusted_r_squared, TAG_analysis_output, TAG_coefficients, TAG_cooks_distance, TAG_degrees_freedom, TAG_degrees_freedom_error, TAG_degrees_freedom_model, TAG_estimate, TAG_f_statistics, TAG_intercept, TAG_linear_regression_result, TAG_multiple_r_squared, TAG_normal_scores, TAG_p_value, TAG_plot_data, TAG_predicted, TAG_predictor, TAG_residual_standard_error, TAG_residuals, TAG_root_standardized_residuals, TAG_standard_error, TAG_standardized_residuals, TAG_statistics, TAG_t_value, TAG_theoretical_quantiles, TAG_value, TAG_variable_name, Z_SCORE
 
Fields inherited from class edu.ucla.stat.SOCR.analyses.result.AnalysisResult
dFormat
 
Fields inherited from class edu.ucla.stat.SOCR.analyses.result.Result
dom, F_VALUE, graph, JAVA_ERROR, MEAN_DIFF, MEAN_X, MEAN_Y, P_VALUE, P_VALUE_ONE_SIDED, P_VALUE_TWO_SIDED, R_SQUARE, SAMPLE_MEAN, SAMPLE_VAR, SIGN_TEST_STAT, SIGNED_TEST_W_MEAN, SIGNED_TEST_W_SCORE, SIGNED_TEST_W_STAT, SIGNED_TEST_W_VAR, T_STAT, texture, WILCOXON_R_MIN, WILCOXON_R_PRIME, WILCOXON_RANK_SUM_SMALLER, xmlResultString, Z_STAT
 
Constructor Summary
ClusteringResult(java.util.HashMap<java.lang.String,java.lang.Object> texture)
          Constructors
ClusteringResult(java.util.HashMap<java.lang.String,java.lang.Object> texture, java.util.HashMap<java.lang.String,java.lang.Object> graph)
           
 
Method Summary
 double[] getBeta()
           
 double[] getBetaPValue()
          the reason using String[] instead of double[] is that sometimes we have characters in the results e.g.
 double[] getBetaSE()
           
 double[] getBetaTStat()
           
 int getDF()
          get the degrees of freedom, df = sample size - number of parameters (including intercept).
 double[] getFValue()
           
 double[] getPredicted()
           
 double[] getResiduals()
           
 double getRSquare()
           
 double[] getSortedNormalQuantiles()
           
 double[] getSortedResiduals()
           
 int[] getSortedResidualsIndex()
           
 double[] getSortedStandardizedNormalQuantiles()
           
 double[] getSortedStandardizedResiduals()
           
 java.lang.String[] getVariableList()
          Accessors
 
Methods inherited from class edu.ucla.stat.SOCR.analyses.result.LinearModelResult
getIntercept, getPlotData, getPredictor, parseIntercept, parsePlotData, parsePredictors
 
Methods inherited from class edu.ucla.stat.SOCR.analyses.result.AnalysisResult
getFormattedDouble, getFormattedGroup, getFormattedGroupArray, setDecimalFormat
 
Methods inherited from class edu.ucla.stat.SOCR.analyses.result.Result
getGraph, getTexture
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VARIABLE_LIST

public static final java.lang.String VARIABLE_LIST
See Also:
Constant Field Values

BETA

public static final java.lang.String BETA
See Also:
Constant Field Values

BETA_SE

public static final java.lang.String BETA_SE
See Also:
Constant Field Values

DF_ERROR

public static final java.lang.String DF_ERROR
See Also:
Constant Field Values

BETA_T_STAT

public static final java.lang.String BETA_T_STAT
See Also:
Constant Field Values

BETA_P_VALUE

public static final java.lang.String BETA_P_VALUE
See Also:
Constant Field Values

PREDICTED

public static final java.lang.String PREDICTED
See Also:
Constant Field Values

RESIDUALS

public static final java.lang.String RESIDUALS
See Also:
Constant Field Values

SORTED_RESIDUALS

public static final java.lang.String SORTED_RESIDUALS
See Also:
Constant Field Values

SORTED_RESIDUALS_INDEX

public static final java.lang.String SORTED_RESIDUALS_INDEX
See Also:
Constant Field Values

SORTED_NORMAL_QUANTILES

public static final java.lang.String SORTED_NORMAL_QUANTILES
See Also:
Constant Field Values
Constructor Detail

ClusteringResult

public ClusteringResult(java.util.HashMap<java.lang.String,java.lang.Object> texture)
Constructors


ClusteringResult

public ClusteringResult(java.util.HashMap<java.lang.String,java.lang.Object> texture,
                        java.util.HashMap<java.lang.String,java.lang.Object> graph)
Method Detail

getVariableList

public java.lang.String[] getVariableList()
Accessors


getBeta

public double[] getBeta()

getBetaSE

public double[] getBetaSE()

getDF

public int getDF()
get the degrees of freedom, df = sample size - number of parameters (including intercept).


getBetaTStat

public double[] getBetaTStat()

getBetaPValue

public double[] getBetaPValue()
the reason using String[] instead of double[] is that sometimes we have characters in the results e.g. " < 10E-10 " and R especially likes doing those things.


getFValue

public double[] getFValue()

getResiduals

public double[] getResiduals()

getPredicted

public double[] getPredicted()

getSortedResiduals

public double[] getSortedResiduals()

getSortedStandardizedResiduals

public double[] getSortedStandardizedResiduals()

getSortedResidualsIndex

public int[] getSortedResidualsIndex()

getSortedNormalQuantiles

public double[] getSortedNormalQuantiles()

getSortedStandardizedNormalQuantiles

public double[] getSortedStandardizedNormalQuantiles()

getRSquare

public double getRSquare()