edu.ucla.stat.SOCR.analyses.jri.result
Class LogisticRegressionResult

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

public class LogisticRegressionResult
extends LinearModelResult


Nested Class Summary
 
Nested classes/interfaces inherited from class edu.ucla.stat.SOCR.analyses.jri.result.LinearModelResult
LinearModelResult.Intercept, LinearModelResult.PlotData, LinearModelResult.Predictor
 
Field Summary
 double alpha
           
static java.lang.String ALPHA
          estimated intercept of The model.
static java.lang.String ALPHA_P_VALUE
          The p-value of testing if ALPHA equals to zero.
static java.lang.String ALPHA_SE
          estimated standard deviation of The intercept ALPHA.
static java.lang.String ALPHA_T_STAT
          The p-value of testing if ALPHA equals to zero.
 java.lang.String alphaPValue
           
 double alphaSE
           
 double alphaTStat
           
 double beta
           
static java.lang.String BETA
          estimated slope of The model.
static java.lang.String BETA_NAME
          The name of BETA variable.
static java.lang.String BETA_P_VALUE
          The p-value of testing if BETA equals to zero.
static java.lang.String BETA_SD
          estimated standard deviation of The slope BETA.
static java.lang.String BETA_T_STAT
          The t-statistic of testing if BETA equals to zero.
 java.lang.String betaName
           
 java.lang.String betaPValue
           
 double betaSE
           
 double betaTStat
           
static java.lang.String MEAN_X
          The mean of The independent varialbe's data.
static java.lang.String MEAN_Y
          The mean of The dependent varialbe's data.
static java.lang.String PREDICTED
          The predicted value of The model.
static java.lang.String RESIDUALS
          The predicted residuals of The model.
static java.lang.String SORTED_NORMAL_QUANTILES
          Normal quantiles of the sorted residuals.
static java.lang.String SORTED_RESIDUALS
          PREDICTED double[] after being sorted ascendantly.
static java.lang.String SORTED_RESIDUALS_INDEX
          The SORTED_RESIDUALS's mapping to the original index.
static java.lang.String SORTED_STANDARDIZED_RESIDUALS
           
static java.lang.String TAG_predicted
           
static java.lang.String TAG_z_value
           
 
Fields inherited from class edu.ucla.stat.SOCR.analyses.jri.result.LinearModelResult
ANOVA_Y_GROUP_MEANS, ANOVA_Y_MEAN, BETA_SE, BETA_VAR, DELIMINATOR, DF, DF_ERROR, 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, 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_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, VARIABLE_LIST, Z_SCORE
 
Fields inherited from class edu.ucla.stat.SOCR.analyses.jri.result.Result
dom, F_VALUE, graph, JAVA_ERROR, MEAN_DIFF, P_VALUE, 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
 
Constructor Summary
LogisticRegressionResult(org.w3c.dom.Document dom)
           
LogisticRegressionResult(java.util.HashMap<java.lang.String,java.lang.Object> texture)
          Constructors
LogisticRegressionResult(java.util.HashMap<java.lang.String,java.lang.Object> texture, java.util.HashMap<java.lang.String,java.lang.Object> graph)
           
LogisticRegressionResult(java.lang.String xmlResultString)
           
 
Method Summary
 double getAlpha()
           
 java.lang.String getAlphaPValue()
           
 double getAlphaSE()
           
 double getAlphaTStat()
           
 double getBeta()
           
 java.lang.String getBetaName()
           
 java.lang.String getBetaPValue()
           
 double getBetaSE()
           
 double getBetaTStat()
           
protected  LinearModelResult.Intercept getIntercept(org.w3c.dom.Element element)
           
 double getMeanX()
          Accessors
 double getMeanY()
           
 double[] getPredicted()
           
protected  LinearModelResult.Predictor getPredictor(org.w3c.dom.Element element)
           
 double[] getResiduals()
           
 double[] getSortedNormalQuantiles()
           
 double[] getSortedResiduals()
           
 int[] getSortedResidualsIndex()
           
 double[] getSortedStandardizedNormalQuantiles()
           
 double[] getSortedStandardizedResiduals()
           
static void main(java.lang.String[] args)
           
 void setAlpha(double input)
           
 
Methods inherited from class edu.ucla.stat.SOCR.analyses.jri.result.LinearModelResult
getPlotData, parseIntercept, parsePlotData, parsePredictors
 
Methods inherited from class edu.ucla.stat.SOCR.analyses.jri.result.Result
getGraph, getTexture
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_z_value

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

MEAN_X

public static final java.lang.String MEAN_X
The mean of The independent varialbe's data.

See Also:
Constant Field Values

MEAN_Y

public static final java.lang.String MEAN_Y
The mean of The dependent varialbe's data.

See Also:
Constant Field Values

ALPHA

public static final java.lang.String ALPHA
estimated intercept of The model.

See Also:
Constant Field Values

BETA

public static final java.lang.String BETA
estimated slope of The model.

See Also:
Constant Field Values

ALPHA_SE

public static final java.lang.String ALPHA_SE
estimated standard deviation of The intercept ALPHA.

See Also:
Constant Field Values

BETA_SD

public static final java.lang.String BETA_SD
estimated standard deviation of The slope BETA.

See Also:
Constant Field Values

ALPHA_P_VALUE

public static final java.lang.String ALPHA_P_VALUE
The p-value of testing if ALPHA equals to zero.

See Also:
Constant Field Values

BETA_P_VALUE

public static final java.lang.String BETA_P_VALUE
The p-value of testing if BETA equals to zero.

See Also:
Constant Field Values

ALPHA_T_STAT

public static final java.lang.String ALPHA_T_STAT
The p-value of testing if ALPHA equals to zero.

See Also:
Constant Field Values

BETA_T_STAT

public static final java.lang.String BETA_T_STAT
The t-statistic of testing if BETA equals to zero.

See Also:
Constant Field Values

BETA_NAME

public static final java.lang.String BETA_NAME
The name of BETA variable.

See Also:
Constant Field Values

PREDICTED

public static final java.lang.String PREDICTED
The predicted value of The model. It maps to a double[].

See Also:
Constant Field Values

RESIDUALS

public static final java.lang.String RESIDUALS
The predicted residuals of The model. It maps to a double[].

See Also:
Constant Field Values

SORTED_RESIDUALS

public static final java.lang.String SORTED_RESIDUALS
PREDICTED double[] after being sorted ascendantly. It maps to a double[].

See Also:
Constant Field Values

SORTED_RESIDUALS_INDEX

public static final java.lang.String SORTED_RESIDUALS_INDEX
The SORTED_RESIDUALS's mapping to the original index. It maps to a int[].

See Also:
Constant Field Values

SORTED_STANDARDIZED_RESIDUALS

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

SORTED_NORMAL_QUANTILES

public static final java.lang.String SORTED_NORMAL_QUANTILES
Normal quantiles of the sorted residuals. It maps to a double[].

See Also:
Constant Field Values

TAG_predicted

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

alpha

public double alpha

beta

public double beta

alphaSE

public double alphaSE

betaSE

public double betaSE

alphaTStat

public double alphaTStat

betaTStat

public double betaTStat

alphaPValue

public java.lang.String alphaPValue

betaPValue

public java.lang.String betaPValue

betaName

public java.lang.String betaName
Constructor Detail

LogisticRegressionResult

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


LogisticRegressionResult

public LogisticRegressionResult(java.util.HashMap<java.lang.String,java.lang.Object> texture,
                                java.util.HashMap<java.lang.String,java.lang.Object> graph)

LogisticRegressionResult

public LogisticRegressionResult(java.lang.String xmlResultString)

LogisticRegressionResult

public LogisticRegressionResult(org.w3c.dom.Document dom)
Method Detail

getMeanX

public double getMeanX()
Accessors


getMeanY

public double getMeanY()

getAlpha

public double getAlpha()

setAlpha

public void setAlpha(double input)

getBeta

public double getBeta()

getAlphaSE

public double getAlphaSE()

getBetaSE

public double getBetaSE()

getAlphaTStat

public double getAlphaTStat()

getBetaTStat

public double getBetaTStat()

getAlphaPValue

public java.lang.String getAlphaPValue()

getBetaPValue

public java.lang.String getBetaPValue()

getBetaName

public java.lang.String getBetaName()

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()

getIntercept

protected LinearModelResult.Intercept getIntercept(org.w3c.dom.Element element)
Overrides:
getIntercept in class LinearModelResult

getPredictor

protected LinearModelResult.Predictor getPredictor(org.w3c.dom.Element element)
Overrides:
getPredictor in class LinearModelResult

main

public static void main(java.lang.String[] args)