edu.ucla.stat.SOCR.analyses.gui
Class ConfidenceIntervalAnalysis

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Panel
              extended by java.applet.Applet
                  extended by javax.swing.JApplet
                      extended by edu.ucla.stat.SOCR.analyses.gui.Analysis
                          extended by edu.ucla.stat.SOCR.analyses.gui.ConfidenceIntervalAnalysis
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.WindowListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.beans.PropertyChangeListener, java.io.Serializable, java.lang.Runnable, java.util.EventListener, java.util.Observer, javax.accessibility.Accessible, javax.swing.RootPaneContainer

public class ConfidenceIntervalAnalysis
extends Analysis
implements java.beans.PropertyChangeListener, java.util.Observer

Confidence Interval

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JApplet
javax.swing.JApplet.AccessibleJApplet
 
Nested classes/interfaces inherited from class java.applet.Applet
java.applet.Applet.AccessibleApplet
 
Nested classes/interfaces inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
protected  java.lang.String[] dependentHeaders
           
protected  int dependentVarLength
           
protected  java.lang.String[][] depValues
           
protected  java.lang.String[] independentHeaders
           
protected  int independentVarLength
           
protected  java.lang.String[][] indepValues
           
 javax.swing.JTabbedPane tabbedPanelContainer
           
protected  java.lang.String[][] values_storage
           
protected  int xyLength
           
 
Fields inherited from class edu.ucla.stat.SOCR.analyses.gui.Analysis
ADD, addButton1, addButton2, addButton3, analysis, analysisDescription1, analysisDescription2, analysisDescription3, analysisDescription4, analysisDescription5, analysisDescription6, analysisDescription7, analysisName, analysisType, bPanel, CALCULATE, callServerAction, censorIndex, chartFactory, CLEAR, clearAction, columnModel, columnNames, columnNumber, computeAction, controlPanel, currentDepIndex, currentIndepIndex, data, DATA, DATA_COLINEAR_MESSAGE, DATA_ERROR_MESSAGE, DATA_MISSING_MESSAGE, dataObject, dataPanel, dataTable, dataText, DEFAULT_DATA_PANEL_HEIGHT, DEFAULT_DATA_PANEL_WIDTH, DEFAULT_HEADER, DEFAULT_HEADER_1, DEFAULT_HEADER_2, DEFAULT_MAX_COLUMN_NUMBER, DEFAULT_PANE_HEIGHT, DEFAULT_PANE_WIDTH, DEFAULT_RESULT_PANEL_HEIGHT, DEFAULT_RESULT_PANEL_WIDTH, DENDRO, dendroPanel, dependentIndex, dependentPane, depLabel, depMax, dFormat, dTableHeader, EXAMPLE_1, EXAMPLE_2, EXAMPLE_3, EXAMPLE_4, EXAMPLE_5, EXAMPLE_6, EXAMPLE_7, exampleID, exampleInputAction, exampleLocalAction, exampleRandomAction, exampleRemoteAction, exampleSampleSize, exampleStaticAction1, exampleStaticAction2, exampleStaticAction3, exampleStaticAction4, exampleStaticAction5, exampleStaticAction6, exampleStaticAction7, fileLoadAction, FIRST_BUTTON_LABEL, font, FORMAT00001, FORMAT001, FORMATALL, GRAPH, graphPanel, graphRawData, graphSampleMean, graphZScore, groupNamesIndex, hasExample, hasInput, headerTable, hModel, hypothesisType, independentHeaderArray, independentIndex, independentLength, independentList, independentListCursor, indLabel, indMax, INPUT, inputPanel, inputXMLString, isInitialInput, leftAnalysisChoicePanel, leftPanel, listAdded, listCensor, listDepRemoved, listGroupNames, listIndepRemoved, listIndex, listTime, LOAD_FILE, mapDep, mapIndep, MAPPING, mappingInnerPanel, mappingPanel, NULL_VARIABLE_MESSAGE, onlineDescription, onlineHelp, outputFontFace, outputFontSize, plotHeight, plotWidth, RANDOM_EXAMPLE, randomDataStep, REMOVE, removeButton1, removeButton2, removeButton3, RESULT, RESULT_PANEL_COL_SIZE, RESULT_PANEL_ROW_SIZE, resultPanel, resultPanelTextArea, rightPanel, rowNumber, SECOND_BUTTON_LABEL, SELECT, selectedInd, selectPanel, SHOW_ALL, showData, showDendro, showGraph, showInput, showMapping, showSelect, showVisualize, stopNow, SURVIVAL_LIST_LENGTH, timeIndex, tModel, USE_SERVER, useGraph, useInputExample, useLocalExample, USER_INPUT, useRandomExample, userDataAction, useServerExample, useStaticExample, VARIABLE, VARIABLE_1, VARIABLE_2, VARIABLE_MISSING_MESSAGE, varLabel, VISUALIZE, visualizePanel, xmlInputString, xmlOutputString
 
Fields inherited from class javax.swing.JApplet
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
ConfidenceIntervalAnalysis()
           
 
Method Summary
 void doAnalysis()
          This method defines what the analysis really does, and should be overridden by the specific analysis tools.
protected  void doGraph()
           
 java.awt.Container getDisplayPane()
           
 java.lang.String getOnlineDescription()
          This method returns an online description of this Statistical Analysis.
 void init()
          Initialize the Analysis
 void propertyChange(java.beans.PropertyChangeEvent e)
          Implementation of PropertyChageListener.
protected  void resetGraph()
           
protected  void setArrayFromTable()
           
protected  void setInputPanel()
           
protected  void showError(java.lang.String errorString)
           
 void update(java.util.Observable ob, java.lang.Object arg1)
           
 void updateResults()
           
 
Methods inherited from class edu.ucla.stat.SOCR.analyses.gui.Analysis
actionPerformed, addButtonCensor, addButtonDependent, addButtonGroupNames, addButtonTime, addTabbedPane, addTabbedPane, appendTableColumns, appendTableRows, chkDataIntegrity, createActionComponents, format, getAppletInfo, getDistinctElements, getInstance, getOnlineHelp, getSelectedHeaderColumn, getStaticExample, getTime, hookTableAction, initialize, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paintTable, removeButtonCensor, removeButtonDependent, removeButtonDependentAll, removeButtonGroupNames, removeButtonIndependent, removeButtonIndependentAll, removeButtonTime, removeTabbedPane, reset, resetDendro, resetMappingList, resetMappingListGUI, resetParameterSelect, resetTable, resetTableColumns, resetTableColumns, resetTableRows, resetVisualize, run, setDataPanel, setDecimalFormat, setDendroPanel, setFormat, setGraphPanel, setMainPanel, setMappingPanel, setResultPanel, setSelectPanel, setStopNow, setTabbedPaneComponent, setVisualizePanel, step, stop, update, updateEditableHeader, updateExample, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class javax.swing.JApplet
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
 
Methods inherited from class java.applet.Applet
destroy, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tabbedPanelContainer

public javax.swing.JTabbedPane tabbedPanelContainer

dependentHeaders

protected java.lang.String[] dependentHeaders

independentHeaders

protected java.lang.String[] independentHeaders

independentVarLength

protected int independentVarLength

dependentVarLength

protected int dependentVarLength

indepValues

protected java.lang.String[][] indepValues

depValues

protected java.lang.String[][] depValues

xyLength

protected int xyLength

values_storage

protected java.lang.String[][] values_storage
Constructor Detail

ConfidenceIntervalAnalysis

public ConfidenceIntervalAnalysis()
Method Detail

init

public void init()
Initialize the Analysis

Overrides:
init in class Analysis

setInputPanel

protected void setInputPanel()
Overrides:
setInputPanel in class Analysis

setArrayFromTable

protected void setArrayFromTable()

doAnalysis

public void doAnalysis()
Description copied from class: Analysis
This method defines what the analysis really does, and should be overridden by the specific analysis tools.

Overrides:
doAnalysis in class Analysis

updateResults

public void updateResults()
Overrides:
updateResults in class Analysis

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent e)
Implementation of PropertyChageListener.

Specified by:
propertyChange in interface java.beans.PropertyChangeListener

getDisplayPane

public java.awt.Container getDisplayPane()
Overrides:
getDisplayPane in class Analysis

getOnlineDescription

public java.lang.String getOnlineDescription()
Description copied from class: Analysis
This method returns an online description of this Statistical Analysis. It should be overwritten by each specific analysis method.

Overrides:
getOnlineDescription in class Analysis

doGraph

protected void doGraph()
Overrides:
doGraph in class Analysis

resetGraph

protected void resetGraph()
Overrides:
resetGraph in class Analysis

showError

protected void showError(java.lang.String errorString)

update

public void update(java.util.Observable ob,
                   java.lang.Object arg1)
Specified by:
update in interface java.util.Observer