edu.ucla.stat.SOCR.analyses.example
Class SimpleLinearRegressionExamples

java.lang.Object
  extended by edu.ucla.stat.SOCR.analyses.example.ExampleData
      extended by edu.ucla.stat.SOCR.analyses.example.SimpleLinearRegressionExamples

public class SimpleLinearRegressionExamples
extends ExampleData

Example data generator for ANOVA & other statistical applets.


Field Summary
static boolean[] availableExamples
           
 java.lang.String[] columnNames
           
 javax.swing.JTable dataTable
           
 java.lang.String[][] example
           
 
Fields inherited from class edu.ucla.stat.SOCR.analyses.example.ExampleData
ANOVA_ONE_WAY_1, ANOVA_ONE_WAY_2, ANOVA_ONE_WAY_3, ANOVA_ONE_WAY_4, ANOVA_ONE_WAY_5, ANOVA_ONE_WAY_6, ANOVA_ONE_WAY_7, ANOVA_TWO_WAY_1, ANOVA_TWO_WAY_2, ANOVA_TWO_WAY_3, ANOVA_TWO_WAY_4, ANOVA_TWO_WAY_5, ANOVA_TWO_WAY_6, ANOVA_TWO_WAY_7, CHI_SQUARE_MODEL_FIT_1, CI_1, CI_2, CI_3, Clustering_1, DEFAULT_SAMPLE_SIZE, DEFAULT_VARIABLE_SIZE, DICHOTOMOUS_PROPORTION_1, FK_1, FK_2, FK_3, FK_4, FK_5, FK_6, FK_7, FK_8, KS_1, KS_2, KS_3, KS_4, KS_5, KS_6, KS_7, KS_8, LOGISTIC_REGRESSION_1, LOGISTIC_REGRESSION_2, LOGISTIC_REGRESSION_3, MULTI_LINEAR_REGRESSION_1, MULTI_LINEAR_REGRESSION_2, MULTI_LINEAR_REGRESSION_3, MULTI_LINEAR_REGRESSION_4, MULTI_LINEAR_REGRESSION_5, MULTI_LINEAR_REGRESSION_6, MULTI_LINEAR_REGRESSION_7, NULL_EXAMPLE, ONE_T_1, ONE_T_2, ONE_T_3, ONE_T_4, ONE_T_5, ONE_T_6, ONE_T_7, ONEZ_1, SIMPLE_LINEAR_REGRESSION_1, SIMPLE_LINEAR_REGRESSION_2, SIMPLE_LINEAR_REGRESSION_3, SIMPLE_LINEAR_REGRESSION_4, SIMPLE_LINEAR_REGRESSION_5, SIMPLE_LINEAR_REGRESSION_6, SIMPLE_LINEAR_REGRESSION_7, SURVIVAL_1, SURVIVAL_2, SURVIVAL_3, SURVIVAL_4, SURVIVAL_5, SURVIVAL_6, SURVIVAL_7, TWO_INDEPENDENT_FRIEDMAN_1, TWO_INDEPENDENT_FRIEDMAN_2, TWO_INDEPENDENT_KW_1, TWO_INDEPENDENT_KW_2, TWO_INDEPENDENT_KW_3, TWO_INDEPENDENT_KW_4, TWO_INDEPENDENT_KW_5, TWO_INDEPENDENT_KW_6, TWO_INDEPENDENT_KW_7, TWO_INDEPENDENT_T_1, TWO_INDEPENDENT_T_2, TWO_INDEPENDENT_T_3, TWO_INDEPENDENT_T_4, TWO_INDEPENDENT_T_5, TWO_INDEPENDENT_T_6, TWO_INDEPENDENT_T_7, TWO_INDEPENDENT_WILCOXON_1, TWO_INDEPENDENT_WILCOXON_2, TWO_INDEPENDENT_WILCOXON_3, TWO_INDEPENDENT_WILCOXON_4, TWO_INDEPENDENT_WILCOXON_5, TWO_INDEPENDENT_WILCOXON_6, TWO_INDEPENDENT_WILCOXON_7, TWO_PAIRED_T_1, TWO_PAIRED_T_2, TWO_PAIRED_T_3, TWO_PAIRED_T_4, TWO_PAIRED_T_5, TWO_PAIRED_T_6, TWO_PAIRED_T_7
 
Constructor Summary
SimpleLinearRegressionExamples()
          Constructor method for simple data generation for regression/correlation tests
SimpleLinearRegressionExamples(int analysisType, int exampleID)
          Constructor method for sampel data for ANOVA analysis.
 
Method Summary
 javax.swing.JTable getExample()
          returns a JTable object containing the Example Data
static java.lang.String getExampleSource()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class edu.ucla.stat.SOCR.analyses.example.ExampleData
getNullExample
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

example

public java.lang.String[][] example

columnNames

public java.lang.String[] columnNames

dataTable

public javax.swing.JTable dataTable

availableExamples

public static boolean[] availableExamples
Constructor Detail

SimpleLinearRegressionExamples

public SimpleLinearRegressionExamples()
Constructor method for simple data generation for regression/correlation tests


SimpleLinearRegressionExamples

public SimpleLinearRegressionExamples(int analysisType,
                                      int exampleID)
Constructor method for sampel data for ANOVA analysis.

Method Detail

getExample

public javax.swing.JTable getExample()
returns a JTable object containing the Example Data

Overrides:
getExample in class ExampleData

getExampleSource

public static java.lang.String getExampleSource()

main

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