edu.ucla.stat.SOCR.experiments
Class SampleMeanExperiment
java.lang.Object
   edu.ucla.stat.SOCR.core.SOCRValueSettable
edu.ucla.stat.SOCR.core.SOCRValueSettable
       edu.ucla.stat.SOCR.core.MultiplePartsPanel
edu.ucla.stat.SOCR.core.MultiplePartsPanel
           edu.ucla.stat.SOCR.core.Experiment
edu.ucla.stat.SOCR.core.Experiment
               edu.ucla.stat.SOCR.experiments.SampleMeanExperiment
edu.ucla.stat.SOCR.experiments.SampleMeanExperiment
- All Implemented Interfaces: 
- IExperiment, IValueSettable, Pluginable, java.awt.event.ActionListener, java.awt.event.ItemListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.lang.Runnable, java.util.EventListener, java.util.Observer
- public class SampleMeanExperiment 
- extends Experiment
This class models the sample mean experiment. A random sample of a specified
 size is drawn from a specified distribution. The density of the sampling
 distribution and of the distribution of the sample mean are shown.
 
 
 
 
 
 
| Method Summary | 
|  void | doExperiment()This method defines the experiment.
 | 
|  void | itemStateChanged(java.awt.event.ItemEvent event)This method handles the choice events associated with changing the
 sampling distribution.
 | 
|  void | reset()This method resets the distribution.
 | 
|  void | setDistributions()This method sets the distribution following changes in the parameters of
 the sampling distribution.
 | 
|  void | update()This method updates the experiment.
 | 
|  void | update(java.util.Observable o,
       java.lang.Object arg)This method handles the scroll events associated with changes in the
 sample size or the parameters of the sampling distribution.
 | 
 
| Methods inherited from class edu.ucla.stat.SOCR.core.Experiment | 
| actionPerformed, getAppletInfo, getDisplayPane, getInstance, getName, getOnlineDescription, getResultTable, getStopChoice, getStopFreq, getTime, getUpdateChoice, graphUpdate, initialize, pasteData, resetUpdateCount, run, setShowModelDistribution, setStopFreq, setStopNow, step, stop | 
 
| Methods inherited from class edu.ucla.stat.SOCR.core.MultiplePartsPanel | 
| addGraph, addTable, addTool, addTool2, addToolbar, format, getMainPanel, getRecordTable, getTextPanel, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, play, removeToolbar, setApplet, setName | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
SampleMeanExperiment
public SampleMeanExperiment()
- This method initializes the experiment.
 
itemStateChanged
public void itemStateChanged(java.awt.event.ItemEvent event)
- This method handles the choice events associated with changing the
 sampling distribution.
 
- 
- Specified by:
- itemStateChangedin interface- java.awt.event.ItemListener
- Overrides:
- itemStateChangedin class- Experiment
 
- 
 
update
public void update(java.util.Observable o,
                   java.lang.Object arg)
- This method handles the scroll events associated with changes in the
 sample size or the parameters of the sampling distribution.
 
- 
- Specified by:
- updatein interface- java.util.Observer
- Overrides:
- updatein class- MultiplePartsPanel
 
- 
 
reset
public void reset()
- This method resets the distribution.
 
- 
- Specified by:
- resetin interface- IExperiment
- Overrides:
- resetin class- Experiment
 
- 
 
setDistributions
public void setDistributions()
- This method sets the distribution following changes in the parameters of
 the sampling distribution.
 
- 
 
doExperiment
public void doExperiment()
- This method defines the experiment.
 
- 
- Specified by:
- doExperimentin interface- IExperiment
- Overrides:
- doExperimentin class- Experiment
 
- 
 
update
public void update()
- This method updates the experiment.
 
- 
- Specified by:
- updatein interface- IExperiment
- Overrides:
- updatein class- Experiment
 
-