Difference between revisions of "SOCR EduMaterials Activities BallotExperiment"

From SOCR
Jump to: navigation, search
(Goals)
(Applications)
 
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
To provide an insightful method for probability between two distinct events (e.g. A/B, weekday/weekend, chocolate/vanilla, etc.) and create a general perception about presumption and chance.
 
To provide an insightful method for probability between two distinct events (e.g. A/B, weekday/weekend, chocolate/vanilla, etc.) and create a general perception about presumption and chance.
  
'''*Experiment:'''
+
==Experiment==
  
Go to the SOCR Experiments [[http://www.socr.ucla.edu/htmls/SOCR_Experiments.html]] and select the Ballot Experiment from the drop-down list of experiments on the top left. The image below shows the initial view of this experiment:
+
Go to the [http://www.socr.ucla.edu/htmls/SOCR_Experiments.html SOCR Experiments] and select the Ballot Experiment from the drop-down list of experiments on the top left. The image below shows the initial view of this experiment:
  
<center>[[Image:SOCR_Activities_BallotExperiment_SubTopic_Chui_050307_Fig1.jpg|300px]]</center>
+
<center>[[Image:SOCR_Activities_BallotExperiment_SubTopic_Chui_050307_Fig1.jpg|400px]]</center>
  
 
Parameters ''a'' and ''b'' can be modified by adjusting the two scrolls on top of the graphs, where W represents the number of trials won, and L represents the number of trials lost. Above the scrolls are two categories. The left denotes the number of trials that are to be executed when pressing the fast-forward symbol and the right denotes the number of trials to be carried out within an experiment. When pressing the play button, the experiment will run exactly one trial. The outcome is then displayed in the tables below, where 1 symbolizes success and 0 as failure. Selecting the fast-forward button will automatically update the experiment every 1, 10, 100, or 1000 trial as selected by the experimenter. It will then stop once it has reached 10, 100, 1000, or 10000 trials, or continue until the experimenter clicks on the stop symbol. The fourth represents a reset button in which it will clear all data and information of the current experiment. Lastly, the most right button, illustrated with an “I” informs users of the summary and main purpose of the ballot experiment.
 
Parameters ''a'' and ''b'' can be modified by adjusting the two scrolls on top of the graphs, where W represents the number of trials won, and L represents the number of trials lost. Above the scrolls are two categories. The left denotes the number of trials that are to be executed when pressing the fast-forward symbol and the right denotes the number of trials to be carried out within an experiment. When pressing the play button, the experiment will run exactly one trial. The outcome is then displayed in the tables below, where 1 symbolizes success and 0 as failure. Selecting the fast-forward button will automatically update the experiment every 1, 10, 100, or 1000 trial as selected by the experimenter. It will then stop once it has reached 10, 100, 1000, or 10000 trials, or continue until the experimenter clicks on the stop symbol. The fourth represents a reset button in which it will clear all data and information of the current experiment. Lastly, the most right button, illustrated with an “I” informs users of the summary and main purpose of the ballot experiment.
Line 18: Line 18:
 
When setting the parameter ''a'' and ''b'' where the distribution table (right) displays the probability outcome of 1 to be greater than 0, the probability density function will also graphically display the settings of the parameter in which 1 will be greater than 0.After many trials, the empirical density of I (red) will eventually ‘match’ the probability density function (blue), as shown in the figure below:
 
When setting the parameter ''a'' and ''b'' where the distribution table (right) displays the probability outcome of 1 to be greater than 0, the probability density function will also graphically display the settings of the parameter in which 1 will be greater than 0.After many trials, the empirical density of I (red) will eventually ‘match’ the probability density function (blue), as shown in the figure below:
  
<center>[[Image:SOCR_Activities_BallotExperiment_SubTopic_Chui_050307_Fig2.jpg.jpg|300px]]</center>
+
<center>[[Image:SOCR_Activities_BallotExperiment_SubTopic_Chui_051207_Fig2.jpg|400px]]</center>
  
 
Similarly, when parameters are set in which the probability distribution of 0 is greater than 1, graphically, 0 will also be greater than 1. After many trials, the empirical density will begin to ‘match’ the probability density function.
 
Similarly, when parameters are set in which the probability distribution of 0 is greater than 1, graphically, 0 will also be greater than 1. After many trials, the empirical density will begin to ‘match’ the probability density function.
Line 25: Line 25:
  
 
== Applications ==
 
== Applications ==
This applet will not only develop a process to predict outcomes of ballots but it also relates to real life experiences. For instance, in order to determine what kinds of materials are suitable to develop a structure in a tropical environment may be analyzed by this applet. The specific material strength for building will either break (failure) or not (success) after every hurricane (trial). The SOCR Ballot Experiment allows us to simulate natural phenomena on the computer.
+
This applet will not only develop a process to predict outcomes of ballots but it also relates to real life experiences. The following examples show its relativity to many different situations:
 +
 
 +
A constructor wants to determine what types of materials are suitable to develop a structure in a humid and windy environment. Using this applet may be of an assistance for him. The specific material strength for building will either break (failure) or not (success) after every hurricane (trial).  
 +
 
 +
Experimenters are interested to know if consumers are more likely to purchase tropical fruits or seasonal fruits during summer. By using this applet, a success will represent the proportion of consumers who purchase tropical fruits during the summer and a failure as those who purchase seasonal fruits. At the end of the experiment, data may be analyzed and if it is accurate, it could be used as a generalization.
 +
 
 +
A manager wants to expand his company by opening another store in a new location. He is given two options of location: in the mall or at the corner in down town. He uses this java applet by recording the population of customers every other hour and comparing these values with each other. From the study, he determines that the corner in down town has a higher population than in the mall. He then concludes to open a new location in down town.
 +
 
 +
The SOCR Ballot Experiment allows us to simulate natural phenomena on the computer.
  
 
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=SOCR_EduMaterials_Activities_BallotExperiment}}
 
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=SOCR_EduMaterials_Activities_BallotExperiment}}

Latest revision as of 19:26, 15 May 2007

Ballot Experiment

Description

The ballot experiment involves candidate A receiving a votes and candidate B receiving b votes. Assuming randomly ordered votes, a must be greater than b. The event of interest is for A to be equal to or greater than B in the vote count. Graphically, the first diagram will illustrate the difference between the number of votes between A and B during the trials, thus it is always above the horizontal axis, except at the origin. The indicator variable I of every event is recorded on the left most table of the experiment. In the distribution graph, the probability density function of I is shown, as well as its recording in the distribution table on the right. The empirical density of I is illustrated in the second graph as red on each update and recorded in the second table.

Goals

To provide an insightful method for probability between two distinct events (e.g. A/B, weekday/weekend, chocolate/vanilla, etc.) and create a general perception about presumption and chance.

Experiment

Go to the SOCR Experiments and select the Ballot Experiment from the drop-down list of experiments on the top left. The image below shows the initial view of this experiment:

SOCR Activities BallotExperiment SubTopic Chui 050307 Fig1.jpg

Parameters a and b can be modified by adjusting the two scrolls on top of the graphs, where W represents the number of trials won, and L represents the number of trials lost. Above the scrolls are two categories. The left denotes the number of trials that are to be executed when pressing the fast-forward symbol and the right denotes the number of trials to be carried out within an experiment. When pressing the play button, the experiment will run exactly one trial. The outcome is then displayed in the tables below, where 1 symbolizes success and 0 as failure. Selecting the fast-forward button will automatically update the experiment every 1, 10, 100, or 1000 trial as selected by the experimenter. It will then stop once it has reached 10, 100, 1000, or 10000 trials, or continue until the experimenter clicks on the stop symbol. The fourth represents a reset button in which it will clear all data and information of the current experiment. Lastly, the most right button, illustrated with an “I” informs users of the summary and main purpose of the ballot experiment.

When setting the parameter a and b where the distribution table (right) displays the probability outcome of 1 to be greater than 0, the probability density function will also graphically display the settings of the parameter in which 1 will be greater than 0.After many trials, the empirical density of I (red) will eventually ‘match’ the probability density function (blue), as shown in the figure below:

SOCR Activities BallotExperiment SubTopic Chui 051207 Fig2.jpg

Similarly, when parameters are set in which the probability distribution of 0 is greater than 1, graphically, 0 will also be greater than 1. After many trials, the empirical density will begin to ‘match’ the probability density function.

All the trials are kept in record and it is helpful when executing large numbers of trials with no specified maximum number of runs.

Applications

This applet will not only develop a process to predict outcomes of ballots but it also relates to real life experiences. The following examples show its relativity to many different situations:

A constructor wants to determine what types of materials are suitable to develop a structure in a humid and windy environment. Using this applet may be of an assistance for him. The specific material strength for building will either break (failure) or not (success) after every hurricane (trial).

Experimenters are interested to know if consumers are more likely to purchase tropical fruits or seasonal fruits during summer. By using this applet, a success will represent the proportion of consumers who purchase tropical fruits during the summer and a failure as those who purchase seasonal fruits. At the end of the experiment, data may be analyzed and if it is accurate, it could be used as a generalization.

A manager wants to expand his company by opening another store in a new location. He is given two options of location: in the mall or at the corner in down town. He uses this java applet by recording the population of customers every other hour and comparing these values with each other. From the study, he determines that the corner in down town has a higher population than in the mall. He then concludes to open a new location in down town.

The SOCR Ballot Experiment allows us to simulate natural phenomena on the computer.



Translate this page:

(default)
Uk flag.gif

Deutsch
De flag.gif

Español
Es flag.gif

Français
Fr flag.gif

Italiano
It flag.gif

Português
Pt flag.gif

日本語
Jp flag.gif

България
Bg flag.gif

الامارات العربية المتحدة
Ae flag.gif

Suomi
Fi flag.gif

इस भाषा में
In flag.gif

Norge
No flag.png

한국어
Kr flag.gif

中文
Cn flag.gif

繁体中文
Cn flag.gif

Русский
Ru flag.gif

Nederlands
Nl flag.gif

Ελληνικά
Gr flag.gif

Hrvatska
Hr flag.gif

Česká republika
Cz flag.gif

Danmark
Dk flag.gif

Polska
Pl flag.png

România
Ro flag.png

Sverige
Se flag.gif