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

java.lang.Object
  extended by edu.ucla.stat.SOCR.analyses.example.ExampleData
Direct Known Subclasses:
AnovaOneWayExamples, AnovaTwoWayExamples, ChiSquareContingencyTableExamples, ChiSquareModelFitExamples, CIExamples, ClusteringExamples, DichotomousProportionExamples, ExampleDataRandom, FlignerKilleenExamples, KolmogorovSmirnoffExamples, LogisticRegressionExamples, MultiLinearRegressionExamples, OneTExamples, OneZExamples, SimpleLinearRegressionExamples, SurvivalExamples, TwoIndependentFriedmanExamples, TwoIndependentKruskalWalliesExamples, TwoIndependentTExamples, TwoIndependentWilcoxonExamples, TwoPairedSignedRankExamples, TwoPairedSignTestExamples, TwoPairedTExamples

public class ExampleData
extends java.lang.Object

Example data generator for ANOVA & other statistical applets.


Field Summary
static char ANOVA_ONE_WAY_1
           
static char ANOVA_ONE_WAY_2
           
static char ANOVA_ONE_WAY_3
           
static char ANOVA_ONE_WAY_4
           
static char ANOVA_ONE_WAY_5
           
static char ANOVA_ONE_WAY_6
           
static char ANOVA_ONE_WAY_7
           
static char ANOVA_TWO_WAY_1
           
static char ANOVA_TWO_WAY_2
           
static char ANOVA_TWO_WAY_3
           
static char ANOVA_TWO_WAY_4
           
static char ANOVA_TWO_WAY_5
           
static char ANOVA_TWO_WAY_6
           
static char ANOVA_TWO_WAY_7
           
static boolean[] availableExamples
           
static char CHI_SQUARE_MODEL_FIT_1
           
static char CI_1
           
static char CI_2
           
static char CI_3
           
static char Clustering_1
           
 java.lang.String[] columnNames
           
 javax.swing.JTable dataTable
           
static int DEFAULT_SAMPLE_SIZE
           
 int DEFAULT_VARIABLE_SIZE
           
static char DICHOTOMOUS_PROPORTION_1
           
 java.lang.String[][] example
           
static char FK_1
           
static char FK_2
           
static char FK_3
           
static char FK_4
           
static char FK_5
           
static char FK_6
           
static char FK_7
           
static char FK_8
           
static char KS_1
           
static char KS_2
           
static char KS_3
           
static char KS_4
           
static char KS_5
           
static char KS_6
           
static char KS_7
           
static char KS_8
           
static char LOGISTIC_REGRESSION_1
           
static char LOGISTIC_REGRESSION_2
           
static char LOGISTIC_REGRESSION_3
           
static char MULTI_LINEAR_REGRESSION_1
           
static char MULTI_LINEAR_REGRESSION_2
           
static char MULTI_LINEAR_REGRESSION_3
           
static char MULTI_LINEAR_REGRESSION_4
           
static char MULTI_LINEAR_REGRESSION_5
           
static char MULTI_LINEAR_REGRESSION_6
           
static char MULTI_LINEAR_REGRESSION_7
           
static short NULL_EXAMPLE
           
static char ONE_T_1
           
static char ONE_T_2
           
static char ONE_T_3
           
static char ONE_T_4
           
static char ONE_T_5
           
static char ONE_T_6
           
static char ONE_T_7
           
static char ONEZ_1
           
static char SIMPLE_LINEAR_REGRESSION_1
           
static char SIMPLE_LINEAR_REGRESSION_2
           
static char SIMPLE_LINEAR_REGRESSION_3
           
static char SIMPLE_LINEAR_REGRESSION_4
           
static char SIMPLE_LINEAR_REGRESSION_5
           
static char SIMPLE_LINEAR_REGRESSION_6
           
static char SIMPLE_LINEAR_REGRESSION_7
           
static char SURVIVAL_1
           
static char SURVIVAL_2
           
static char SURVIVAL_3
           
static char SURVIVAL_4
           
static char SURVIVAL_5
           
static char SURVIVAL_6
           
static char SURVIVAL_7
           
static char TWO_INDEPENDENT_FRIEDMAN_1
           
static char TWO_INDEPENDENT_FRIEDMAN_2
           
static char TWO_INDEPENDENT_KW_1
           
static char TWO_INDEPENDENT_KW_2
           
static char TWO_INDEPENDENT_KW_3
           
static char TWO_INDEPENDENT_KW_4
           
static char TWO_INDEPENDENT_KW_5
           
static char TWO_INDEPENDENT_KW_6
           
static char TWO_INDEPENDENT_KW_7
           
static char TWO_INDEPENDENT_T_1
           
static char TWO_INDEPENDENT_T_2
           
static char TWO_INDEPENDENT_T_3
           
static char TWO_INDEPENDENT_T_4
           
static char TWO_INDEPENDENT_T_5
           
static char TWO_INDEPENDENT_T_6
           
static char TWO_INDEPENDENT_T_7
           
static char TWO_INDEPENDENT_WILCOXON_1
           
static char TWO_INDEPENDENT_WILCOXON_2
           
static char TWO_INDEPENDENT_WILCOXON_3
           
static char TWO_INDEPENDENT_WILCOXON_4
           
static char TWO_INDEPENDENT_WILCOXON_5
           
static char TWO_INDEPENDENT_WILCOXON_6
           
static char TWO_INDEPENDENT_WILCOXON_7
           
static char TWO_PAIRED_T_1
           
static char TWO_PAIRED_T_2
           
static char TWO_PAIRED_T_3
           
static char TWO_PAIRED_T_4
           
static char TWO_PAIRED_T_5
           
static char TWO_PAIRED_T_6
           
static char TWO_PAIRED_T_7
           
 
Constructor Summary
ExampleData()
          Constructor method for simple data generation for regression/correlation tests
ExampleData(int analysisType, int dummy)
          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()
           
 void 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

NULL_EXAMPLE

public static final short NULL_EXAMPLE
See Also:
Constant Field Values

DEFAULT_SAMPLE_SIZE

public static final int DEFAULT_SAMPLE_SIZE
See Also:
Constant Field Values

DEFAULT_VARIABLE_SIZE

public final int DEFAULT_VARIABLE_SIZE

availableExamples

public static boolean[] availableExamples

SIMPLE_LINEAR_REGRESSION_1

public static final char SIMPLE_LINEAR_REGRESSION_1
See Also:
Constant Field Values

SIMPLE_LINEAR_REGRESSION_2

public static final char SIMPLE_LINEAR_REGRESSION_2
See Also:
Constant Field Values

SIMPLE_LINEAR_REGRESSION_3

public static final char SIMPLE_LINEAR_REGRESSION_3
See Also:
Constant Field Values

SIMPLE_LINEAR_REGRESSION_4

public static final char SIMPLE_LINEAR_REGRESSION_4
See Also:
Constant Field Values

SIMPLE_LINEAR_REGRESSION_5

public static final char SIMPLE_LINEAR_REGRESSION_5
See Also:
Constant Field Values

SIMPLE_LINEAR_REGRESSION_6

public static final char SIMPLE_LINEAR_REGRESSION_6
See Also:
Constant Field Values

SIMPLE_LINEAR_REGRESSION_7

public static final char SIMPLE_LINEAR_REGRESSION_7
See Also:
Constant Field Values

MULTI_LINEAR_REGRESSION_1

public static final char MULTI_LINEAR_REGRESSION_1
See Also:
Constant Field Values

MULTI_LINEAR_REGRESSION_2

public static final char MULTI_LINEAR_REGRESSION_2
See Also:
Constant Field Values

MULTI_LINEAR_REGRESSION_3

public static final char MULTI_LINEAR_REGRESSION_3
See Also:
Constant Field Values

MULTI_LINEAR_REGRESSION_4

public static final char MULTI_LINEAR_REGRESSION_4
See Also:
Constant Field Values

MULTI_LINEAR_REGRESSION_5

public static final char MULTI_LINEAR_REGRESSION_5
See Also:
Constant Field Values

MULTI_LINEAR_REGRESSION_6

public static final char MULTI_LINEAR_REGRESSION_6
See Also:
Constant Field Values

MULTI_LINEAR_REGRESSION_7

public static final char MULTI_LINEAR_REGRESSION_7
See Also:
Constant Field Values

ANOVA_ONE_WAY_1

public static final char ANOVA_ONE_WAY_1
See Also:
Constant Field Values

ANOVA_ONE_WAY_2

public static final char ANOVA_ONE_WAY_2
See Also:
Constant Field Values

ANOVA_ONE_WAY_3

public static final char ANOVA_ONE_WAY_3
See Also:
Constant Field Values

ANOVA_ONE_WAY_4

public static final char ANOVA_ONE_WAY_4
See Also:
Constant Field Values

ANOVA_ONE_WAY_5

public static final char ANOVA_ONE_WAY_5
See Also:
Constant Field Values

ANOVA_ONE_WAY_6

public static final char ANOVA_ONE_WAY_6
See Also:
Constant Field Values

ANOVA_ONE_WAY_7

public static final char ANOVA_ONE_WAY_7
See Also:
Constant Field Values

ANOVA_TWO_WAY_1

public static final char ANOVA_TWO_WAY_1
See Also:
Constant Field Values

ANOVA_TWO_WAY_2

public static final char ANOVA_TWO_WAY_2
See Also:
Constant Field Values

ANOVA_TWO_WAY_3

public static final char ANOVA_TWO_WAY_3
See Also:
Constant Field Values

ANOVA_TWO_WAY_4

public static final char ANOVA_TWO_WAY_4
See Also:
Constant Field Values

ANOVA_TWO_WAY_5

public static final char ANOVA_TWO_WAY_5
See Also:
Constant Field Values

ANOVA_TWO_WAY_6

public static final char ANOVA_TWO_WAY_6
See Also:
Constant Field Values

ANOVA_TWO_WAY_7

public static final char ANOVA_TWO_WAY_7
See Also:
Constant Field Values

ONE_T_1

public static final char ONE_T_1
See Also:
Constant Field Values

ONE_T_2

public static final char ONE_T_2
See Also:
Constant Field Values

ONE_T_3

public static final char ONE_T_3
See Also:
Constant Field Values

ONE_T_4

public static final char ONE_T_4
See Also:
Constant Field Values

ONE_T_5

public static final char ONE_T_5
See Also:
Constant Field Values

ONE_T_6

public static final char ONE_T_6
See Also:
Constant Field Values

ONE_T_7

public static final char ONE_T_7
See Also:
Constant Field Values

TWO_INDEPENDENT_T_1

public static final char TWO_INDEPENDENT_T_1
See Also:
Constant Field Values

TWO_INDEPENDENT_T_2

public static final char TWO_INDEPENDENT_T_2
See Also:
Constant Field Values

TWO_INDEPENDENT_T_3

public static final char TWO_INDEPENDENT_T_3
See Also:
Constant Field Values

TWO_INDEPENDENT_T_4

public static final char TWO_INDEPENDENT_T_4
See Also:
Constant Field Values

TWO_INDEPENDENT_T_5

public static final char TWO_INDEPENDENT_T_5
See Also:
Constant Field Values

TWO_INDEPENDENT_T_6

public static final char TWO_INDEPENDENT_T_6
See Also:
Constant Field Values

TWO_INDEPENDENT_T_7

public static final char TWO_INDEPENDENT_T_7
See Also:
Constant Field Values

TWO_PAIRED_T_1

public static final char TWO_PAIRED_T_1
See Also:
Constant Field Values

TWO_PAIRED_T_2

public static final char TWO_PAIRED_T_2
See Also:
Constant Field Values

TWO_PAIRED_T_3

public static final char TWO_PAIRED_T_3
See Also:
Constant Field Values

TWO_PAIRED_T_4

public static final char TWO_PAIRED_T_4
See Also:
Constant Field Values

TWO_PAIRED_T_5

public static final char TWO_PAIRED_T_5
See Also:
Constant Field Values

TWO_PAIRED_T_6

public static final char TWO_PAIRED_T_6
See Also:
Constant Field Values

TWO_PAIRED_T_7

public static final char TWO_PAIRED_T_7
See Also:
Constant Field Values

TWO_INDEPENDENT_WILCOXON_1

public static final char TWO_INDEPENDENT_WILCOXON_1
See Also:
Constant Field Values

TWO_INDEPENDENT_WILCOXON_2

public static final char TWO_INDEPENDENT_WILCOXON_2
See Also:
Constant Field Values

TWO_INDEPENDENT_WILCOXON_3

public static final char TWO_INDEPENDENT_WILCOXON_3
See Also:
Constant Field Values

TWO_INDEPENDENT_WILCOXON_4

public static final char TWO_INDEPENDENT_WILCOXON_4
See Also:
Constant Field Values

TWO_INDEPENDENT_WILCOXON_5

public static final char TWO_INDEPENDENT_WILCOXON_5
See Also:
Constant Field Values

TWO_INDEPENDENT_WILCOXON_6

public static final char TWO_INDEPENDENT_WILCOXON_6
See Also:
Constant Field Values

TWO_INDEPENDENT_WILCOXON_7

public static final char TWO_INDEPENDENT_WILCOXON_7
See Also:
Constant Field Values

TWO_INDEPENDENT_KW_1

public static final char TWO_INDEPENDENT_KW_1
See Also:
Constant Field Values

TWO_INDEPENDENT_KW_2

public static final char TWO_INDEPENDENT_KW_2
See Also:
Constant Field Values

TWO_INDEPENDENT_KW_3

public static final char TWO_INDEPENDENT_KW_3
See Also:
Constant Field Values

TWO_INDEPENDENT_KW_4

public static final char TWO_INDEPENDENT_KW_4
See Also:
Constant Field Values

TWO_INDEPENDENT_KW_5

public static final char TWO_INDEPENDENT_KW_5
See Also:
Constant Field Values

TWO_INDEPENDENT_KW_6

public static final char TWO_INDEPENDENT_KW_6
See Also:
Constant Field Values

TWO_INDEPENDENT_KW_7

public static final char TWO_INDEPENDENT_KW_7
See Also:
Constant Field Values

SURVIVAL_1

public static final char SURVIVAL_1
See Also:
Constant Field Values

SURVIVAL_2

public static final char SURVIVAL_2
See Also:
Constant Field Values

SURVIVAL_3

public static final char SURVIVAL_3
See Also:
Constant Field Values

SURVIVAL_4

public static final char SURVIVAL_4
See Also:
Constant Field Values

SURVIVAL_5

public static final char SURVIVAL_5
See Also:
Constant Field Values

SURVIVAL_6

public static final char SURVIVAL_6
See Also:
Constant Field Values

SURVIVAL_7

public static final char SURVIVAL_7
See Also:
Constant Field Values

DICHOTOMOUS_PROPORTION_1

public static final char DICHOTOMOUS_PROPORTION_1
See Also:
Constant Field Values

CHI_SQUARE_MODEL_FIT_1

public static final char CHI_SQUARE_MODEL_FIT_1
See Also:
Constant Field Values

TWO_INDEPENDENT_FRIEDMAN_1

public static final char TWO_INDEPENDENT_FRIEDMAN_1
See Also:
Constant Field Values

TWO_INDEPENDENT_FRIEDMAN_2

public static final char TWO_INDEPENDENT_FRIEDMAN_2
See Also:
Constant Field Values

KS_1

public static final char KS_1
See Also:
Constant Field Values

KS_2

public static final char KS_2
See Also:
Constant Field Values

KS_3

public static final char KS_3
See Also:
Constant Field Values

KS_4

public static final char KS_4
See Also:
Constant Field Values

KS_5

public static final char KS_5
See Also:
Constant Field Values

KS_6

public static final char KS_6
See Also:
Constant Field Values

KS_7

public static final char KS_7
See Also:
Constant Field Values

KS_8

public static final char KS_8
See Also:
Constant Field Values

FK_1

public static final char FK_1
See Also:
Constant Field Values

FK_2

public static final char FK_2
See Also:
Constant Field Values

FK_3

public static final char FK_3
See Also:
Constant Field Values

FK_4

public static final char FK_4
See Also:
Constant Field Values

FK_5

public static final char FK_5
See Also:
Constant Field Values

FK_6

public static final char FK_6
See Also:
Constant Field Values

FK_7

public static final char FK_7
See Also:
Constant Field Values

FK_8

public static final char FK_8
See Also:
Constant Field Values

CI_1

public static final char CI_1
See Also:
Constant Field Values

CI_2

public static final char CI_2
See Also:
Constant Field Values

CI_3

public static final char CI_3
See Also:
Constant Field Values

LOGISTIC_REGRESSION_1

public static final char LOGISTIC_REGRESSION_1
See Also:
Constant Field Values

LOGISTIC_REGRESSION_2

public static final char LOGISTIC_REGRESSION_2
See Also:
Constant Field Values

LOGISTIC_REGRESSION_3

public static final char LOGISTIC_REGRESSION_3
See Also:
Constant Field Values

Clustering_1

public static final char Clustering_1
See Also:
Constant Field Values

ONEZ_1

public static final char ONEZ_1
See Also:
Constant Field Values
Constructor Detail

ExampleData

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


ExampleData

public ExampleData(int analysisType,
                   int dummy)
Constructor method for sampel data for ANOVA analysis.

Method Detail

getExample

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


getExampleSource

public static java.lang.String getExampleSource()

getNullExample

public void getNullExample()