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

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
Direct Known Subclasses:
AnovaOneWayResult, ClusteringResult, LogisticRegressionResult, MultiLinearRegressionResult, SimpleLinearRegressionResult

public class LinearModelResult
extends AnalysisResult


Nested Class Summary
protected  class LinearModelResult.Intercept
           
protected  class LinearModelResult.PlotData
           
protected  class LinearModelResult.Predictor
           
 
Field Summary
static java.lang.String ALPHA
           
static java.lang.String ANOVA_Y_GROUP_MEANS
           
static java.lang.String ANOVA_Y_MEAN
           
static java.lang.String BETA
           
static java.lang.String BETA_SE
           
static java.lang.String BETA_VAR
           
static java.lang.String DF
           
static java.lang.String DF_ERROR
           
static java.lang.String DF_GROUP
           
static java.lang.String DF_MODEL
           
static java.lang.String DF_TOTAL
           
static java.lang.String F_VALUE_GROUP
           
protected  LinearModelResult.Intercept intercept
           
static java.lang.String MSE_GROUP
           
static java.lang.String MSS_ERROR
           
static java.lang.String MSS_MODEL
           
static java.lang.String P_VALUE_GROUP
           
protected  LinearModelResult.PlotData plotData
           
protected  LinearModelResult.Predictor predictor
           
protected  java.util.ArrayList<org.w3c.dom.Element> predictorList
           
static java.lang.String R_SQUARED
           
static java.lang.String RSS_ERROR
           
static java.lang.String RSS_GROUP
           
static java.lang.String RSS_MODEL
           
static java.lang.String RSS_TOTAL
           
static java.lang.String SCORE
           
static java.lang.String SLR_MEAN_X
           
static java.lang.String SLR_MEAN_Y
           
static java.lang.String SORTED_NORMAL_QUANTILES
           
static java.lang.String SORTED_RESIDUALS
          BEGIN RESIDUALS FROM MODELING RESULTS: MOSTLY FOR PLOTTING
static java.lang.String SORTED_RESIDUALS_INDEX
           
static java.lang.String SORTED_STANDARDIZED_NORMAL_QUANTILES
           
static java.lang.String SORTED_STANDARDIZED_RESIDUALS
           
static java.lang.String TAG_adjusted_r_squared
           
static java.lang.String TAG_analysis_output
          FOR THE REMOTE SERVER VERSION
static java.lang.String TAG_coefficients
           
static java.lang.String TAG_cooks_distance
           
static java.lang.String TAG_degrees_freedom
           
static java.lang.String TAG_degrees_freedom_error
           
static java.lang.String TAG_degrees_freedom_model
           
static java.lang.String TAG_estimate
           
static java.lang.String TAG_f_statistics
           
static java.lang.String TAG_intercept
           
static java.lang.String TAG_linear_regression_result
           
static java.lang.String TAG_multiple_r_squared
           
static java.lang.String TAG_normal_scores
           
static java.lang.String TAG_p_value
           
static java.lang.String TAG_plot_data
           
static java.lang.String TAG_predicted
           
static java.lang.String TAG_predictor
           
static java.lang.String TAG_residual_standard_error
           
static java.lang.String TAG_residuals
           
static java.lang.String TAG_root_standardized_residuals
           
static java.lang.String TAG_standard_error
           
static java.lang.String TAG_standardized_residuals
           
static java.lang.String TAG_statistics
           
static java.lang.String TAG_t_value
           
static java.lang.String TAG_theoretical_quantiles
           
static java.lang.String TAG_value
           
static java.lang.String TAG_variable_name
           
static java.lang.String VARIABLE_LIST
           
static java.lang.String 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, PREDICTED, R_SQUARE, RESIDUALS, 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
LinearModelResult(org.w3c.dom.Document dom)
           
LinearModelResult(java.util.HashMap<java.lang.String,java.lang.Object> texture)
           
LinearModelResult(java.util.HashMap<java.lang.String,java.lang.Object> texture, java.util.HashMap<java.lang.String,java.lang.Object> graph)
           
LinearModelResult(java.lang.String xmlResultString)
           
 
Method Summary
protected  LinearModelResult.Intercept getIntercept(org.w3c.dom.Element element)
           
protected  LinearModelResult.PlotData getPlotData(org.w3c.dom.Element element)
           
protected  LinearModelResult.Predictor getPredictor(org.w3c.dom.Element element)
           
protected  void parseIntercept()
           
protected  void parsePlotData()
           
protected  void 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

ALPHA

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

BETA

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

BETA_VAR

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

BETA_SE

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

R_SQUARED

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

DF

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

DF_TOTAL

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

DF_ERROR

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

DF_MODEL

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

SLR_MEAN_X

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

SLR_MEAN_Y

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

RSS_TOTAL

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

RSS_ERROR

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

RSS_MODEL

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

MSS_ERROR

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

MSS_MODEL

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

ANOVA_Y_MEAN

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

ANOVA_Y_GROUP_MEANS

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

SCORE

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

Z_SCORE

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

VARIABLE_LIST

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

DF_GROUP

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

RSS_GROUP

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

MSE_GROUP

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

F_VALUE_GROUP

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

P_VALUE_GROUP

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

SORTED_RESIDUALS

public static final java.lang.String SORTED_RESIDUALS
BEGIN RESIDUALS FROM MODELING RESULTS: MOSTLY FOR PLOTTING

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

SORTED_STANDARDIZED_RESIDUALS

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

SORTED_STANDARDIZED_NORMAL_QUANTILES

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

TAG_analysis_output

public static final java.lang.String TAG_analysis_output
FOR THE REMOTE SERVER VERSION

See Also:
Constant Field Values

TAG_linear_regression_result

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

TAG_coefficients

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

TAG_intercept

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

TAG_estimate

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

TAG_standard_error

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

TAG_t_value

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

TAG_p_value

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

TAG_predictor

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

TAG_variable_name

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

TAG_statistics

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

TAG_residual_standard_error

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

TAG_value

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

TAG_degrees_freedom

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

TAG_multiple_r_squared

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

TAG_adjusted_r_squared

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

TAG_f_statistics

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

TAG_degrees_freedom_model

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

TAG_degrees_freedom_error

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

TAG_plot_data

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

TAG_predicted

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

TAG_residuals

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

TAG_normal_scores

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

TAG_theoretical_quantiles

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

TAG_standardized_residuals

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

TAG_root_standardized_residuals

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

TAG_cooks_distance

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

intercept

protected LinearModelResult.Intercept intercept

predictor

protected LinearModelResult.Predictor predictor

plotData

protected LinearModelResult.PlotData plotData

predictorList

protected java.util.ArrayList<org.w3c.dom.Element> predictorList
Constructor Detail

LinearModelResult

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

LinearModelResult

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

LinearModelResult

public LinearModelResult(java.lang.String xmlResultString)

LinearModelResult

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

parseIntercept

protected void parseIntercept()

parsePredictors

protected void parsePredictors()

parsePlotData

protected void parsePlotData()

getIntercept

protected LinearModelResult.Intercept getIntercept(org.w3c.dom.Element element)

getPredictor

protected LinearModelResult.Predictor getPredictor(org.w3c.dom.Element element)

getPlotData

protected LinearModelResult.PlotData getPlotData(org.w3c.dom.Element element)