http://wiki.stat.ucla.edu/socr/index.php?title=Special:Contributions&feed=atom&target=WikiSysopSocr - User contributions [en]2024-03-29T05:05:02ZFrom SocrMediaWiki 1.15.1http://wiki.stat.ucla.edu/socr/index.php/AP_Statistics_Curriculum_2007_Distrib_DistsAP Statistics Curriculum 2007 Distrib Dists2009-11-05T23:19:56Z<p>WikiSysop: /* Negative Multinomial Summary */</p>
<hr />
<div>==[[AP_Statistics_Curriculum_2007 | General Advance-Placement (AP) Statistics Curriculum]] - Geometric, HyperGeometric, Negative Binomial Random Variables and Experiments==<br />
<br />
=== Geometric===<br />
*Definition: The [http://en.wikipedia.org/wiki/Geometric_distribution Geometric Distribution] is the probability distribution of the ''number X of Bernoulli trials needed to get one success'', supported on the set {1, 2, 3, ...}. The name ''geometric'' is a direct derivative from the mathematical notion of [http://en.wikipedia.org/wiki/Geometric_series geometric series].<br />
<br />
*Mass Function: If the probability of successes on each trial is P(success)=p, then the probability that x trials are needed to get one success is <math>P(X = x) = (1 - p)^{x-1} \times p</math>, for x = 1, 2, 3, 4,....<br />
<br />
* Expectation: The [[AP_Statistics_Curriculum_2007_Distrib_MeanVar | Expected Value]] of a geometrically distributed random variable ''X'' is <math>{1\over p}.</math><br />
<br />
*Variance: The [[AP_Statistics_Curriculum_2007_Distrib_MeanVar | Variance]] is <math>{1-p\over p^2}.</math><br />
<br />
*Example: See [[SOCR_EduMaterials_Activities_Binomial_Distributions | this SOCR Geometric distribution activity]].<br />
<br />
===HyperGeometric===<br />
The [http://en.wikipedia.org/wiki/Hypergeometric_distribution hypergeometric distribution] is a discrete probability distribution that describes the number of successes in a sequence of ''n'' draws from a finite population ''without replacement''. An experimental design for using Hypergeometric distribution is illustrated in this table: <br />
<br />
<center><br />
{| class="wikitable" style="text-align:center; width:75%" border="1"<br />
|-<br />
| '''Type''' || '''Drawn''' || '''Not-Drawn''' || '''Total''' <br />
|-<br />
| '''Defective''' || k || m-k || m<br />
|-<br />
| '''Non-Defective''' || n-k || N+k-n-m || N-m<br />
|-<br />
| '''Total''' || n || N-n || N<br />
|}<br />
</center><br />
<br />
* Explanation: Suppose there is a shipment of ''N'' objects in which ''m'' are defective. The Hypergeometric Distribution describes the probability that in a sample of ''n'' distinctive objects drawn from the shipment exactly ''k'' objects are defective. <br />
<br />
*Mass function: The random variable ''X'' follows the Hypergeometric Distribution with parameters ''N'', ''m'' and ''n'', then the probability of getting exactly ''k'' successes is given by<br />
:<math> P(X=k) = {{{m \choose k} {{N-m} \choose {n-k}}}\over {N \choose n}}.</math><br />
<br />
This formula for the Hypergeometric Mass Function may be interpreted as follows: There are <math>{{N}\choose{n}}</math> possible samples (without replacement). There are <math>{{m}\choose{k}}</math> ways to obtain ''k'' defective objects and there are <math>{{N-m}\choose{n-k}}</math> ways to fill out the rest of the sample with non-defective objects.<br />
<br />
The mean and variance of the hypergeometric distribution have the following closed forms:<br />
: ''Mean'': <math>n \times m\over N</math><br />
: ''Variance'': <math>{ {nm\over N} ( 1-{m\over N} ) (N-n)\over N-1}</math><br />
<br />
====Examples====<br />
* SOCR Activity: The [[SOCR_EduMaterials_Activities_BallAndRunExperiment | SOCR Ball and Urn Experiment]] provides a hands-on demonstration of the utilization of Hypergeometric distribution in practice. This activity consists of selecting n balls at random from an urn with N balls, R of which are red and the other N - R green. The number of red balls Y in the sample is recorded on each update. The distribution and moments of Y are shown in blue in the distribution graph and are recorded in the distribution table. On each update, the empirical density and moments of Y are shown in red in the distribution graph and are recorded in the distribution table. Either of two sampling models can be selected with the list box: with replacement and without replacement. The parameters N, R, and n can be varied with scroll bars.<br />
<center>[[Image:SOCR_Activities_BallAndUrnExperiment_SubTopic_Chui_050307_Fig2.JPG|500px]]</center><br />
<br />
* A lake contains 1,000 fish; 100 are randomly caught and tagged. Suppose that later we catch 20 fish. Use [http://socr.ucla.edu/htmls/SOCR_Distributions.html SOCR Hypergeometric Distribution] to:<br />
**Compute the probability mass function of the number of tagged fish in the sample of 20.<br />
**Compute the expected value and the variance of the number of tagged fish in this sample.<br />
**Compute the probability that this random sample contains more than 3 tagged fish.<br />
<center>[[Image:SOCR_EBook_Dinov_RV_HyperGeom_013008_Fig9.jpg|500px]]</center><br />
<br />
* Hypergeometric distribution may also be used to estimate the population size: Suppose we are interested in determining the population size. Let N = number of fish in a particular isolated region. Suppose we catch, tag and release back M=200 fish. Several days later, when the fish are randomly mixed with the untagged fish, we take a sample of n=100 and observe m=5 tagged fish. Suppose p=200/N is the population proportion of tagged fish. Notice that when sampling fish we sample without replacement. Thus, hypergeometric is the exact model for this process. Assuming the sample-size (n) is < 5% of the population size(N), we can use [[AP_Statistics_Curriculum_2007_Limits_Bin2HyperG |binomial approximation to hypergeometric]]. Thus if the sample of n=100 fish had 5 tagged, the sample-proportion (estimate of the population proportion) will be <math>\hat{p}={5\over 100}=0.05</math>. Thus, we can estimate that <math>0.05=\hat{p}={200\over N}</math>, and <math>N\approx 4,000</math>, as shown on the figure below.<br />
<center>[[Image:SOCR_EBook_Dinov_Prob_HyperG_041108_Fig9a.jpg|500px]]</center><br />
<br />
* You can also see a [http://en.wikipedia.org/wiki/Hypergeometric_distribution#Application_and_example manual calculation example using the hypergeometric distribution here].<br />
<br />
===Negative Binomial===<br />
The family of [http://en.wikipedia.org/wiki/Negative_binomial_distribution Negative Binomial Distributions] is a two-parameter family; ''p'' and ''r'' with 0 &lt; ''p'' &lt; 1 and ''r'' &gt; 0. There are two (identical) combinatorial interpretations of Negative Binomial processes (''X'' or ''Y'').<br />
<br />
====''X=Trial index (''n'') of the ''r''<sup>th</sup> success'', or ''Total # of experiments (''n'') to get ''r'' successes''====<br />
* Probability Mass Function: <math> P(X=n) = {n-1 \choose r-1}\cdot p^r \cdot (1-p)^{n-r} \!</math>, for ''n'' = r,r+1,r+2,.... (n=trial number of the r<sup>th</sup> success)<br />
* Mean: <math>E(X)= {r \over p}</math><br />
* Variance: <math>Var(X)= {r(1-p) \over p^2}</math><br />
<br />
==== ''Y = Number of failures (''k'') to get ''r'' successes''====<br />
* Probability Mass Function: <math> P(Y=k) = {k+r-1 \choose k}\cdot p^r \cdot (1-p)^k \!</math>, for ''k'' = 0,1,2,.... (k=number of failures before the r<sup>th</sup> successes)<br />
* <math>Y \sim NegBin(r, p)</math>, the probability of ''k'' failures and ''r'' successes in ''n''=''k''+''r'' Bernoulli(''p'') trials with success on the last trial.<br />
* ''Mean'': <math>E(Y)= {r(1-p) \over p}</math>.<br />
* ''Variance'': <math>Var(Y)= {r(1-p) \over p^2}</math>.<br />
* Note that ''X = Y + r'', and ''E(X) = E(Y) + r'', whereas ''VAR(X)=VAR(Y)''.<br />
<br />
==== [[SOCR_EduMaterials_Activities_NegativeBinomial | SOCR Negative Binomial Experiment]]====<br />
<br />
====Application====<br />
Suppose Jane is promoting and fund-raising for a presidential candidate. She wants to visit all 50 states and she's pledged to get all electoral votes of 6 states before she and the candidate she represents are satisfied. In every state, there is a 30% chance that Jane will be able to secure all electoral votes and 70% chance that she'll fail.<br />
<br />
* ''What's the probability mass function of the number of failures (''k=n-r'') to get ''r=6'' successes''?''<br />
: In other words, ''What's the probability mass function that the last 6<sup>th</sup> state she succeeds to secure all electoral votes happens to be the at the ''n''<sup>th</sup> state she campaigns in?''<br />
<br />
NegBin(''r'', ''p'') distribution describes the probability of ''k'' failures and ''r'' successes in ''n''=''k''+''r'' Bernoulli(''p'') trials with success on the last trial. Looking to secure the electoral votes for 6 states means Jane needs to get 6 successes before she (and her candidate) is happy. The number of trials (i.e., states visited) needed is ''n''=''k+6''. The random variable we are interested in is '''X={number of states visited to achieve 6 successes (secure all electoral votes within these states)}'''. So, ''n'' = ''k+6'', and <math>X\sim NegBin(r=6, p=0.3)</math>. Thus, for <math>n \geq 6</math>, the mass function (giving the probabilities that Jane will visit n states before her ultimate success is:<br />
<br />
:<math> P(X=n) = {n-1 \choose r-1}\cdot p^r \cdot (1-p)^{n-r} = {n - 1 \choose r-1} \cdot 0.3^6 \cdot 0.7^{n-r} </math><br />
<br />
* ''What's the probability that Jane finishes her campaign in the 10<sup>th</sup> state?''<br />
: Let <math>X\sim NegBin(r=6, p=0.3)</math>, then <math>P(X=10) = {10-1 \choose 6-1}\cdot 0.3^6 \cdot 0.7^{10-6} = 0.022054.</math><br />
<br />
<center>[[Image:SOCR_EBook_Dinov_RV_NegBinomial_013008_Fig4.jpg|500px]]</center><br />
<br />
* ''What's the probability that Jane finishes campaigning on or before reaching the 8<sup>th</sup> state?''<br />
:<math> P(X\leq 8) = 0.011292</math><br />
<center>[[Image:SOCR_EBook_Dinov_RV_NegBinomial_013008_Fig5.jpg|500px]]</center><br />
<br />
* Suppose the success of getting all electoral votes within a state is reduced to only 10%, then '''X~NegBin(r=6, p=0.1)'''. Notice that the shape and domain the Negative-Binomial distribution significantly chance now (see image below)! <br />
: ''What's the probability that Jane covers all 50 states but fails to get all electoral votes in any 6 states (as she had hoped for)?''<br />
:<math> P(X\geq 50) = 0.632391</math><br />
<center>[[Image:SOCR_EBook_Dinov_RV_NegBinomial_013008_Fig6.jpg|500px]]</center><br />
<br />
* SOCR Activity: If you want to see an interactive Negative-Binomial Graphical calculator you can go to [http://socr.ucla.edu/htmls/SOCR_Experiments.html this applet (select Negative Binomial)] and see [[SOCR_EduMaterials_Activities_NegativeBinomial |this activity]].<br />
<br />
===Negative Multinomial===<br />
The ''Negative Multinomial Distribution'' is a generalization of the two-parameter [[AP_Statistics_Curriculum_2007_Distrib_Dists#Negative_Binomial|Negative Binomial distribution]] to <math>r\ge 2</math> outcomes. Suppose we have an experiment that generated <math>r\ge 2</math> outcomes, <math>\{E_0,\cdots,E_r\}</math>, each occurring with probability <math>\{p_0,\cdots,p_r\}</math>, respectively, where with <math>0<p_i<1</math> and <math>\sum_{i=0}^r{p_i}=1</math>. That is, <math>p_0 = 1-\sum_{i=1}^r{p_i}</math>. If the experiment proceeds to generate independent outcomes until <math>\{E_0, E_1, \cdots, E_r\}</math> occur exactly <math>\{k_0, k_1, \cdots, k_r\}</math> times, the distribution of the (r+1)-tuple <math>\{k_0, k_1, \cdots, k_r\}</math> is Negative Multinomial <math>(k_0,\{p_0,\cdots,p_r\})</math>. <br />
<br />
====Negative Multinomial Summary====<br />
* Probability Mass Function: <math> P(k_0, \cdots, k_r) = \left\(\sum_{i=0}^r{k_i}-1\right\)\frac{p_0^{k_0}}{\Gamma(k_0} \prod_{i=1}^r{\frac{p_i^{k_i}}{k_i!}}</math>, or equivalently:<br />
: <math> P(k_0, \cdots, k_r) = \Gamma\left\{\sum_{i=1}^r{k_i}\right\}\frac{p_0^{k_0}}{\Gamma(k_0} \prod_{i=1}^r{\frac{p_i^{k_i}}{k_i!}}</math>, where <math>\Gamma(x)</math> is the [http://en.wikipedia.org/wiki/Gamma_function Gamma function].<br />
* Mean (vector): <math>E(k_0,\cdots,k_r)= (E(k_0), \cdots, E(k_0)) = (k_0*p_0, \cdots, k_0*p_0)</math>.<br />
* Variance-Covariance (matrix): <math>Cov(k_0,\cdots,k_r)= \{cov[i][j]\}</math>, where <math> cov[i][j] = \begin{cases}k_0 * p[i] * p[j] / (p0 * p0),& i\not= j,\\<br />
k_0* p[i] * (p[i] + p0) / (p0 * p0),& i=j.\end{cases}</math>.<br />
<br />
====SOCR Negative Multinomial Distribution Calculator====<br />
* [http://socr.ucla.edu/htmls/dist/NegativeMultinomial_Distribution.html SOCR Negative Multinomial Distribution Calculator].<br />
<br />
===[[EBook_Problems_Distrib_Dists|Problems]]===<br />
<br />
===References===<br />
* [[SOCR_EduMaterials_Activities_NegativeBinomial | Negative-Binomial Activity]]<br />
* [http://dx.doi.org/10.1016/j.spl.2005.09.009 Le Gall, F. The modes of a negative multinomial distribution, Statistics & Probability Letters, 2005.]<br />
* Johnson et al., 1997 Johnson, N.L., Kotz, S., Balakrishnan, N., 1997. Discrete Multivariate Distributions. Wiley Series in Probability and Mathematical Statistics.<br />
* Kotz and Johnson, 1982 In: S. Kotz and N.L. Johnson, Editors, Encyclopedia of Statistical Sciences, Wiley, New York (1982).<br />
<br />
<hr><br />
* SOCR Home page: http://www.socr.ucla.edu<br />
<br />
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=AP_Statistics_Curriculum_2007_Distrib_Dists}}</div>WikiSysophttp://wiki.stat.ucla.edu/socr/index.php/AP_Statistics_Curriculum_2007_Distrib_DistsAP Statistics Curriculum 2007 Distrib Dists2009-11-05T23:19:35Z<p>WikiSysop: /* Negative Multinomial Summary */</p>
<hr />
<div>==[[AP_Statistics_Curriculum_2007 | General Advance-Placement (AP) Statistics Curriculum]] - Geometric, HyperGeometric, Negative Binomial Random Variables and Experiments==<br />
<br />
=== Geometric===<br />
*Definition: The [http://en.wikipedia.org/wiki/Geometric_distribution Geometric Distribution] is the probability distribution of the ''number X of Bernoulli trials needed to get one success'', supported on the set {1, 2, 3, ...}. The name ''geometric'' is a direct derivative from the mathematical notion of [http://en.wikipedia.org/wiki/Geometric_series geometric series].<br />
<br />
*Mass Function: If the probability of successes on each trial is P(success)=p, then the probability that x trials are needed to get one success is <math>P(X = x) = (1 - p)^{x-1} \times p</math>, for x = 1, 2, 3, 4,....<br />
<br />
* Expectation: The [[AP_Statistics_Curriculum_2007_Distrib_MeanVar | Expected Value]] of a geometrically distributed random variable ''X'' is <math>{1\over p}.</math><br />
<br />
*Variance: The [[AP_Statistics_Curriculum_2007_Distrib_MeanVar | Variance]] is <math>{1-p\over p^2}.</math><br />
<br />
*Example: See [[SOCR_EduMaterials_Activities_Binomial_Distributions | this SOCR Geometric distribution activity]].<br />
<br />
===HyperGeometric===<br />
The [http://en.wikipedia.org/wiki/Hypergeometric_distribution hypergeometric distribution] is a discrete probability distribution that describes the number of successes in a sequence of ''n'' draws from a finite population ''without replacement''. An experimental design for using Hypergeometric distribution is illustrated in this table: <br />
<br />
<center><br />
{| class="wikitable" style="text-align:center; width:75%" border="1"<br />
|-<br />
| '''Type''' || '''Drawn''' || '''Not-Drawn''' || '''Total''' <br />
|-<br />
| '''Defective''' || k || m-k || m<br />
|-<br />
| '''Non-Defective''' || n-k || N+k-n-m || N-m<br />
|-<br />
| '''Total''' || n || N-n || N<br />
|}<br />
</center><br />
<br />
* Explanation: Suppose there is a shipment of ''N'' objects in which ''m'' are defective. The Hypergeometric Distribution describes the probability that in a sample of ''n'' distinctive objects drawn from the shipment exactly ''k'' objects are defective. <br />
<br />
*Mass function: The random variable ''X'' follows the Hypergeometric Distribution with parameters ''N'', ''m'' and ''n'', then the probability of getting exactly ''k'' successes is given by<br />
:<math> P(X=k) = {{{m \choose k} {{N-m} \choose {n-k}}}\over {N \choose n}}.</math><br />
<br />
This formula for the Hypergeometric Mass Function may be interpreted as follows: There are <math>{{N}\choose{n}}</math> possible samples (without replacement). There are <math>{{m}\choose{k}}</math> ways to obtain ''k'' defective objects and there are <math>{{N-m}\choose{n-k}}</math> ways to fill out the rest of the sample with non-defective objects.<br />
<br />
The mean and variance of the hypergeometric distribution have the following closed forms:<br />
: ''Mean'': <math>n \times m\over N</math><br />
: ''Variance'': <math>{ {nm\over N} ( 1-{m\over N} ) (N-n)\over N-1}</math><br />
<br />
====Examples====<br />
* SOCR Activity: The [[SOCR_EduMaterials_Activities_BallAndRunExperiment | SOCR Ball and Urn Experiment]] provides a hands-on demonstration of the utilization of Hypergeometric distribution in practice. This activity consists of selecting n balls at random from an urn with N balls, R of which are red and the other N - R green. The number of red balls Y in the sample is recorded on each update. The distribution and moments of Y are shown in blue in the distribution graph and are recorded in the distribution table. On each update, the empirical density and moments of Y are shown in red in the distribution graph and are recorded in the distribution table. Either of two sampling models can be selected with the list box: with replacement and without replacement. The parameters N, R, and n can be varied with scroll bars.<br />
<center>[[Image:SOCR_Activities_BallAndUrnExperiment_SubTopic_Chui_050307_Fig2.JPG|500px]]</center><br />
<br />
* A lake contains 1,000 fish; 100 are randomly caught and tagged. Suppose that later we catch 20 fish. Use [http://socr.ucla.edu/htmls/SOCR_Distributions.html SOCR Hypergeometric Distribution] to:<br />
**Compute the probability mass function of the number of tagged fish in the sample of 20.<br />
**Compute the expected value and the variance of the number of tagged fish in this sample.<br />
**Compute the probability that this random sample contains more than 3 tagged fish.<br />
<center>[[Image:SOCR_EBook_Dinov_RV_HyperGeom_013008_Fig9.jpg|500px]]</center><br />
<br />
* Hypergeometric distribution may also be used to estimate the population size: Suppose we are interested in determining the population size. Let N = number of fish in a particular isolated region. Suppose we catch, tag and release back M=200 fish. Several days later, when the fish are randomly mixed with the untagged fish, we take a sample of n=100 and observe m=5 tagged fish. Suppose p=200/N is the population proportion of tagged fish. Notice that when sampling fish we sample without replacement. Thus, hypergeometric is the exact model for this process. Assuming the sample-size (n) is < 5% of the population size(N), we can use [[AP_Statistics_Curriculum_2007_Limits_Bin2HyperG |binomial approximation to hypergeometric]]. Thus if the sample of n=100 fish had 5 tagged, the sample-proportion (estimate of the population proportion) will be <math>\hat{p}={5\over 100}=0.05</math>. Thus, we can estimate that <math>0.05=\hat{p}={200\over N}</math>, and <math>N\approx 4,000</math>, as shown on the figure below.<br />
<center>[[Image:SOCR_EBook_Dinov_Prob_HyperG_041108_Fig9a.jpg|500px]]</center><br />
<br />
* You can also see a [http://en.wikipedia.org/wiki/Hypergeometric_distribution#Application_and_example manual calculation example using the hypergeometric distribution here].<br />
<br />
===Negative Binomial===<br />
The family of [http://en.wikipedia.org/wiki/Negative_binomial_distribution Negative Binomial Distributions] is a two-parameter family; ''p'' and ''r'' with 0 &lt; ''p'' &lt; 1 and ''r'' &gt; 0. There are two (identical) combinatorial interpretations of Negative Binomial processes (''X'' or ''Y'').<br />
<br />
====''X=Trial index (''n'') of the ''r''<sup>th</sup> success'', or ''Total # of experiments (''n'') to get ''r'' successes''====<br />
* Probability Mass Function: <math> P(X=n) = {n-1 \choose r-1}\cdot p^r \cdot (1-p)^{n-r} \!</math>, for ''n'' = r,r+1,r+2,.... (n=trial number of the r<sup>th</sup> success)<br />
* Mean: <math>E(X)= {r \over p}</math><br />
* Variance: <math>Var(X)= {r(1-p) \over p^2}</math><br />
<br />
==== ''Y = Number of failures (''k'') to get ''r'' successes''====<br />
* Probability Mass Function: <math> P(Y=k) = {k+r-1 \choose k}\cdot p^r \cdot (1-p)^k \!</math>, for ''k'' = 0,1,2,.... (k=number of failures before the r<sup>th</sup> successes)<br />
* <math>Y \sim NegBin(r, p)</math>, the probability of ''k'' failures and ''r'' successes in ''n''=''k''+''r'' Bernoulli(''p'') trials with success on the last trial.<br />
* ''Mean'': <math>E(Y)= {r(1-p) \over p}</math>.<br />
* ''Variance'': <math>Var(Y)= {r(1-p) \over p^2}</math>.<br />
* Note that ''X = Y + r'', and ''E(X) = E(Y) + r'', whereas ''VAR(X)=VAR(Y)''.<br />
<br />
==== [[SOCR_EduMaterials_Activities_NegativeBinomial | SOCR Negative Binomial Experiment]]====<br />
<br />
====Application====<br />
Suppose Jane is promoting and fund-raising for a presidential candidate. She wants to visit all 50 states and she's pledged to get all electoral votes of 6 states before she and the candidate she represents are satisfied. In every state, there is a 30% chance that Jane will be able to secure all electoral votes and 70% chance that she'll fail.<br />
<br />
* ''What's the probability mass function of the number of failures (''k=n-r'') to get ''r=6'' successes''?''<br />
: In other words, ''What's the probability mass function that the last 6<sup>th</sup> state she succeeds to secure all electoral votes happens to be the at the ''n''<sup>th</sup> state she campaigns in?''<br />
<br />
NegBin(''r'', ''p'') distribution describes the probability of ''k'' failures and ''r'' successes in ''n''=''k''+''r'' Bernoulli(''p'') trials with success on the last trial. Looking to secure the electoral votes for 6 states means Jane needs to get 6 successes before she (and her candidate) is happy. The number of trials (i.e., states visited) needed is ''n''=''k+6''. The random variable we are interested in is '''X={number of states visited to achieve 6 successes (secure all electoral votes within these states)}'''. So, ''n'' = ''k+6'', and <math>X\sim NegBin(r=6, p=0.3)</math>. Thus, for <math>n \geq 6</math>, the mass function (giving the probabilities that Jane will visit n states before her ultimate success is:<br />
<br />
:<math> P(X=n) = {n-1 \choose r-1}\cdot p^r \cdot (1-p)^{n-r} = {n - 1 \choose r-1} \cdot 0.3^6 \cdot 0.7^{n-r} </math><br />
<br />
* ''What's the probability that Jane finishes her campaign in the 10<sup>th</sup> state?''<br />
: Let <math>X\sim NegBin(r=6, p=0.3)</math>, then <math>P(X=10) = {10-1 \choose 6-1}\cdot 0.3^6 \cdot 0.7^{10-6} = 0.022054.</math><br />
<br />
<center>[[Image:SOCR_EBook_Dinov_RV_NegBinomial_013008_Fig4.jpg|500px]]</center><br />
<br />
* ''What's the probability that Jane finishes campaigning on or before reaching the 8<sup>th</sup> state?''<br />
:<math> P(X\leq 8) = 0.011292</math><br />
<center>[[Image:SOCR_EBook_Dinov_RV_NegBinomial_013008_Fig5.jpg|500px]]</center><br />
<br />
* Suppose the success of getting all electoral votes within a state is reduced to only 10%, then '''X~NegBin(r=6, p=0.1)'''. Notice that the shape and domain the Negative-Binomial distribution significantly chance now (see image below)! <br />
: ''What's the probability that Jane covers all 50 states but fails to get all electoral votes in any 6 states (as she had hoped for)?''<br />
:<math> P(X\geq 50) = 0.632391</math><br />
<center>[[Image:SOCR_EBook_Dinov_RV_NegBinomial_013008_Fig6.jpg|500px]]</center><br />
<br />
* SOCR Activity: If you want to see an interactive Negative-Binomial Graphical calculator you can go to [http://socr.ucla.edu/htmls/SOCR_Experiments.html this applet (select Negative Binomial)] and see [[SOCR_EduMaterials_Activities_NegativeBinomial |this activity]].<br />
<br />
===Negative Multinomial===<br />
The ''Negative Multinomial Distribution'' is a generalization of the two-parameter [[AP_Statistics_Curriculum_2007_Distrib_Dists#Negative_Binomial|Negative Binomial distribution]] to <math>r\ge 2</math> outcomes. Suppose we have an experiment that generated <math>r\ge 2</math> outcomes, <math>\{E_0,\cdots,E_r\}</math>, each occurring with probability <math>\{p_0,\cdots,p_r\}</math>, respectively, where with <math>0<p_i<1</math> and <math>\sum_{i=0}^r{p_i}=1</math>. That is, <math>p_0 = 1-\sum_{i=1}^r{p_i}</math>. If the experiment proceeds to generate independent outcomes until <math>\{E_0, E_1, \cdots, E_r\}</math> occur exactly <math>\{k_0, k_1, \cdots, k_r\}</math> times, the distribution of the (r+1)-tuple <math>\{k_0, k_1, \cdots, k_r\}</math> is Negative Multinomial <math>(k_0,\{p_0,\cdots,p_r\})</math>. <br />
<br />
====Negative Multinomial Summary====<br />
* Probability Mass Function: <math> P(k_0, \cdots, k_r) = \left\(\sum_{i=0}^r{k_i}-1\right\)\frac{p_0^{k_0}}{\Gamma(k_0} \prod_{i=1}^r{\frac{p_i^{k_i}}{k_i!}}</math>, or equivalently:<br />
: <math> P(k_0, \cdots, k_r) = \Gamma\left\{\sum_{i=1}^r{k_i}\right\}\frac{p_0^{k_0}}{\Gamma(k_0} \prod_{i=1}^r{\frac{p_i^{k_i}}{k_i!}}</math>, where <math>\Gamma(x)</math> is the [http://en.wikipedia.org/wiki/Gamma_function Gamma function].<br />
* Mean (vector): <math>E(k_0,\cdots,k_r)= (E(k_0), \cdots, E(k_0)) = (k_0*p_0, \cdots, k_0*p_0)</math>.<br />
* Variance-Covariance (matrix): <math>Cov(k_0,\cdots,k_r)= \{cov[i][j]\}</math>, where <math> cov[i][j] = \begin{cases}k_0 * p[i] * p[j] / (p0 * p0),& i\not= j,\\<br />
k_0* p[i] * (p[i] + p0) / (p0 * p0),& i=j.\end{cases}</math>.<br />
<br />
<math>\pi</math><br />
<br />
====SOCR Negative Multinomial Distribution Calculator====<br />
* [http://socr.ucla.edu/htmls/dist/NegativeMultinomial_Distribution.html SOCR Negative Multinomial Distribution Calculator].<br />
<br />
===[[EBook_Problems_Distrib_Dists|Problems]]===<br />
<br />
===References===<br />
* [[SOCR_EduMaterials_Activities_NegativeBinomial | Negative-Binomial Activity]]<br />
* [http://dx.doi.org/10.1016/j.spl.2005.09.009 Le Gall, F. The modes of a negative multinomial distribution, Statistics & Probability Letters, 2005.]<br />
* Johnson et al., 1997 Johnson, N.L., Kotz, S., Balakrishnan, N., 1997. Discrete Multivariate Distributions. Wiley Series in Probability and Mathematical Statistics.<br />
* Kotz and Johnson, 1982 In: S. Kotz and N.L. Johnson, Editors, Encyclopedia of Statistical Sciences, Wiley, New York (1982).<br />
<br />
<hr><br />
* SOCR Home page: http://www.socr.ucla.edu<br />
<br />
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=AP_Statistics_Curriculum_2007_Distrib_Dists}}</div>WikiSysophttp://wiki.stat.ucla.edu/socr/index.php/CVS_log_for_developerCVS log for developer2009-11-04T22:12:09Z<p>WikiSysop: </p>
<hr />
<div>* 10/23/2009 (Jenny Cui)<br />
* MulitNomialDistribution update<br />
* files changed: <br />
core.GraphPanel(1.18)<br />
core.SOCRDistributions(1.20)<br />
distributions.MultiNormialDistribution(1.3)<br />
------------------<br />
<br />
* 10/20/2009 (Jenny Cui) <br />
* CI analysis update<br />
* files changed: <br />
analyses.gui.ConfidenceIntervalAnalysis(1.2)<br />
analyses.model.ConfidenceInterval(1.2)<br />
analyses.util.ConfidenceCanvasGeneral(1.2)<br />
analyses.util.ConfidenceCanvasGeneralUpper(1.2)<br />
analyses.util.ConfidenceControlPanel(1.2)<br />
analyses.util.IntervalType(1.2)<br />
jars.implementedAnalysis.txt(1.15)<br />
<br />
------------------<br />
<br />
* 10/20/2009 (Jenny Cui) <br />
* distributome update, fixed the showneighbor bug, improved the debug, just turn debug to ture in ViewerApplet will turn on all debugging statements in all classes<br />
* files changed: <br />
distributome.EditorApplet(1.3)<br />
distributome.ViewerrApplet(1.15)<br />
distributome.data.Edge(1.6)<br />
distributome.data.Formula(1.5)<br />
distributome.data.Reference(1.5)<br />
distributome.data.SOCRNode(1.3)<br />
distributome.data.ViewerPanelInfo(1.10)<br />
distributome.editor.DistributomeEditor(1.3)<br />
distributome.editor.TreeTableCodec(1.3)<br />
jars.distributome_short.xml(1.1)<br />
------------------<br />
* 10/1/2009 (Jenny Cui) <br />
* extend column number when pasting<br />
* files changed: <br />
core.SOCRAnalysis(1.20)<br />
core.SOCRChart(1.25)<br />
---------------<br />
* 9/16/2009 (Jenny Cui) <br />
* Analysis fix for adding bisecting line to the AnovaOneWay/ AnovaTwoWay QQ graph<br />
* files changed: <br />
analyses.gui.AnovaOneWay(1.19)<br />
analyses.gui.AnovaTwoWay(1.20)<br />
------------------<br />
* 8/27/2009 (Jenny Cui) <br />
* Analysis fix for pasting heading<br />
* files changed: <br />
core.SOCRAnalyses(1.19)<br />
analyses.gui.Analysis(1.47)<br />
------------------<br />
* 8/27/2009 (Jenny Cui) <br />
* Chart fix for pasting heading<br />
* files changed: <br />
core.SOCRChart(1.24)<br />
chart.Chart(1.40)<br />
----------------<br />
<br />
* 8/26/2009 (Jenny Cui) <br />
* CI fixed the right side green panel resizing problem <br />
* files changed: <br />
experiments.ConfidenceIntervalExperimentGeneral(1.10)<br />
----------------<br />
<br />
* 7/21/2009 (Jenny Cui) <br />
* CI check in(with correct calculation for Varience2), ready for using different implemented file for MLE, not fully done for MLE<br />
* files changed: <br />
experiments.ConfidenceIntervalExperimentGeneral(1.7)<br />
experiments.util.ConfidenceCanvasGeneral(1.4)<br />
experiments.util.ConfidenceCanvasGeneraBase(1.4)<br />
experiments.util.ConfidenceCanvasGeneralLower(1.4)<br />
experiments.util.ConfidenceCanvasGeneralUpper(1.4)<br />
experiments.util.ConfidenceControlPanelGeneral(1.4)<br />
experiments.util.IntervalTypel(1.5)<br />
-------------<br />
<br />
* 7/14/2009 (Jenny Cui) <br />
* CI check in(with correct calculation)<br />
* files changed: <br />
experiments.ConfidenceIntervalExperimentGeneral(1.6)<br />
experiments.util.ConfidenceCanvasGeneral(1.3)<br />
experiments.util.ConfidenceCanvasGeneraBasel(1.3)<br />
experiments.util.ConfidenceCanvasGeneralLower(1.3)<br />
experiments.util.ConfidenceCanvasGeneralUpper(1.3)<br />
experiments.util.ConfidenceControlPanelGeneral(1.3)<br />
experiments.util.IntervalTypel(1.4)<br />
<br />
-------------<br />
* 6/29/2009 (Jenny Cui) <br />
* remove HistogramChart legend<br />
* files changed: <br />
chart.SuperHistogramChart(1.19)<br />
chart.demo.Histogram*.java<br />
<br />
-------------<br />
* 6/29/2009 (Jenny Cui) <br />
* CI check in<br />
* files changed: <br />
core.Experiment(1.7)<br />
core.GraphPanel(1.14)<br />
core.SOCRDistributions(1.16)<br />
experiments.ConfidenceIntervalExperimentGeneral(1.5)<br />
experiments.util.ConfidenceCanvasGeneral(1.2)<br />
experiments.util.ConfidenceCanvasGeneraBasel(1.2)<br />
experiments.util.ConfidenceCanvasGeneralLower(1.2)<br />
experiments.util.ConfidenceCanvasGeneralUpper(1.2)<br />
experiments.util.ConfidenceControlPanelGeneral(1.2)<br />
experiments.util.IntervalTypel(1.2)<br />
<br />
-------------<br />
* 6/29/2009 (Jenny Cui) <br />
* Fix IndexChart exception thrown caused by null rangeLabel<br />
* files changed: <br />
chart.SuperIndexChart(1.13)<br />
<br />
-------------<br />
* 6/10/2009 (Jenny Cui) <br />
* Chart demo YIntervalChartDemo1a, StatisticalBarChartDemo1a, StatisticalLineChartDemo1a added, split (mean, stdDev) into 2 columns<br />
* files changed: <br />
jars.implementedCharts.txt(1.20)<br />
htmls.Chart_html.zip(1.2)<br />
chart.data.DataConvertor(1.16)<br />
chart.demo.YIntervalChartDemo1a(1.1)<br />
chart.demo.StatisticalBarChartDemo1a(1.1)<br />
chart.demo.StatisticalLineChartDemo1a(1.1)<br />
chart.SuperYIntervalChartA(1.1)<br />
chart.SuperCategoryChart_StatA(1.1)<br />
--------------<br />
* 6/1/2009 (Jenny Cui) <br />
* confidenceIntervalGeneral check in<br />
* files changed: <br />
core.SOCRDistributions(1.15), getGraphPanel() added, also notify the observer when slider value changed<br />
distributions.NormalDistribution(1.17) minor change in name etc<br />
experiments.util.* (1.1) <br />
experiments.ConfidenceIntervalExperimentGeneral(1.4)<br />
experiments.ConfidenceIntervalExperimentSimple(1.4)<br />
<br />
--------------<br />
* 4/28/2009 (Jenny Cui) <br />
* fixed bad UTF8 chars in copyright heading, also this checking including the half done Confidence interval General<br />
* files changed: <br />
src.edu.*<br />
building.xml(1.30) added a commented out example of using ant to do global repalcement<br />
<br />
--------------<br />
* 4/22/2009 (Jenny Cui) <br />
* all charts can take init data from the html file now<br />
* files changed: <br />
htmls/chart_html.zip (including all html files for all existing SOCR chart)<br />
chart.data.DataConvertor(1.14)<br />
chart.demo.*<br />
chart.*<br />
core.SOCRChart(1.22)<br />
<br />
--------------<br />
* 4/6/2009 (Jenny Cui) <br />
* add more html parameters for Histogram charts<br />
* files changed: <br />
jars.implementedCharts.txt(1.19)<br />
chart.Chart(1.36)<br />
chart.SuperCagetoryChart_Bar(1.3)<br />
chart.SuperCagetoryChart(1.10)<br />
chart.SuperHistogramChart(1.16)<br />
chart.SuperIntervalXYChart_Time(1.10)<br />
chart.SuperIntervalChart(1.8)<br />
chart.demo.HistogramChartDemo(1.6)<br />
chart.demo.HistogramChartDemo2(1.5)<br />
chart.demo.HistogramChartDemo4(1.6)<br />
chart.demo.HistogramChartDemo5(1.5)<br />
chart.demo.HistogramChartDemo6(1.4)<br />
chart.demo.HistogramChartDemo7(1.5)<br />
<br />
--------------<br />
* 3/26/2009 (Jenny Cui) <br />
* add more Parameter to html for Chart, such chartTitle, selectedView, inputData etc, so far this only works for HistogramDemos, will extend this to other chart later.<br />
* files changed: <br />
SOCR_Charts.html(1.8) added example. commented out<br />
core.SOCRChart (1.21)<br />
chart.Chart(1.35)<br />
chart.SuperIntervalXYChart_Time(1.10)<br />
chart.demo.HistogramChartDemo3(1.9)<br />
chart.demo.LineChartDemo1a(1.8)<br />
chart.demo.LineChartDemo1b(1.6)<br />
<br />
--------------<br />
* 3/9/2009 (Jenny Cui) <br />
* getParameter from html function added for Chart<br />
* files changed: <br />
SOCR_Charts.html(1.7) added example. commented out<br />
SOCR_Modeler.html(1.5)<br />
core.SOCRChart.java(1.20)<br />
<br />
--------------<br />
* 3/6/2009 (Jenny Cui) <br />
* confidenceIntervalExperiment update -- more changes later<br />
* files changed: <br />
core.Experiment(1.5)<br />
core.SOCRDistributions(1.13) -- make it observable<br />
distributions.CauchyDistribution(1.7) -- set name for the following <br />
distributions.CouponDistribution(1.6)<br />
distributions.FiniteOrderStatisticDistribution(1.3)<br />
distributions.HyperbolicSecantDistribution(1.3)<br />
distributions.PointMassDistribution(1.7)<br />
experiments.ConfidenceIntervalExperimentGeneral(1.2)<br />
experiments.ConfidenceIntervalExperimentSimple(1.2)<br />
util.ConfidenceCanvasGeneral(1.2)<br />
util.ConfidenceCanvasSimple(1.2)<br />
util.ConfidenceControlPanelGeneral(1.2)<br />
<br />
--------------<br />
* 2/20/2009 (Jenny Cui) <br />
* Split the confidenceIntervalExperiment into 2<br />
* files changed: <br />
experiments. ConfidenceIntervalExperimentGeneral(1.1)-- this is Rahul's version<br />
experiments. ConfidenceIntervalExperimentSimple(1.1) -- this is the older version of ConfidenceIntervalExperiment(1.6)<br />
util.ConfidenceCanvasGeneral(1.1)<br />
util.ConfidenceCanvasSimple(1.1) -- old ConfidenceCanva(1.5)<br />
util.ConfidenceControlPanelSimple(1.1)-- old ConfidenceControlPanel(1.4)<br />
util.ConfidenceControlPanelGeneral(1.1)<br />
util.ConfidenceCanvasCalculator(1.2)<br />
jars.implementedExperiments.txt(1.7) -- with Rahul's version commented out<br />
<br />
<br />
--------------<br />
* 2/19/2009 (Jenny Cui) <br />
* adding distributome editor<br />
* files changed: <br />
build.xml(1.27)<br />
SOCR_DistributomeEditor.html(1.1)<br />
jars/loniEdiotr.jar(1.1)<br />
jars/distributome.xsd(1.3)<br />
distributome.editor.DistributomeEditor.java(1.1)<br />
distributome.editor.ElementPanel.java(1.1)<br />
distributome.editor.ElementTableModel.java(1.1)<br />
distributome.editor.ExampleFileFilter.java(1.1)<br />
distributome.editor.FileParser.java(1.1)<br />
distributome.editor.TreeTableCodec.java(1.1)<br />
distributome.editor.XmlValidator.java(1.1)<br />
distributome.xml.Distributome_XMLReader.java(1.4)<br />
distributome.data.SOCRNode.java(1.1)<br />
distributome.data.Edge.java(1.4)<br />
distributome.data.Formula.java(1.3)<br />
distributome.data.Reference.java(1.3)<br />
distributome.data.ViewerPanelInfo.java(1.6)<br />
distributome.EditorApplet.java(1.1)<br />
distributome.ViewerApplet.java(1.13)<br />
<br />
<br />
--------------<br />
* 2/17/2009 (Jenny Cui) <br />
* fix the problem Analysis "Interaction On or Off" button will bring up the data missing dialog, put reset() in front of updateExample()<br />
* files changed: <br />
gui.Analysis(1.44)<br />
<br />
--------------<br />
* 2/13/2009 (Jenny Cui) <br />
* Rahul's code for ConfidenceIntervalExperiment<br />
* files changed: <br />
util.ConfidenceCanvas(1.6)<br />
util.ConfidenceCanvasCalculator(1.1)<br />
util.ConfidenceControlPanel(1.5)<br />
experiments.ConfidenceIntervalExperiment(1.6)<br />
core.SOCRApplet(1.16)<br />
SOCR_Distributions.html(1.5)<br />
<br />
--------------<br />
* 2/6/2009 (Jenny Cui) <br />
* XML for distributome bug fix <br />
* files changed: <br />
jars.distributome.xsd(1.2)<br />
distributome.ViewerApplet(1.10)<br />
distributome.xml.Distributom_XMLReader(1.2)<br />
<br />
--------------<br />
* 2/3/2009 (Jenny Cui) <br />
* change input file to XML for distributome <br />
* files changed: <br />
distributome.ViewerApplet(1.9)<br />
distributome.data.Edge(1.3)<br />
distributome.data.Formula(1.2)<br />
distributome.data.Node(1.4)<br />
distributome.data.Reference(1.2)<br />
distributome.data.ViewerPanelInfo(1.5)<br />
distributome.xml.Distributom_XMLReader(1.1)<br />
distributome.xml.SOCRXMLErrorHandler(1.1)<br />
jars.distributome.xml(1.1)<br />
jars.distributome.xsd(1.1)<br />
<br />
--------------<br />
* 1/13/2009 (Jenny Cui) <br />
* added ctrl+/- as zoom in/out for distributome <br />
* files changed: <br />
distributome.ViewerApplet(1.7)<br />
distributome.data.ViewerPanelInfo(1.4)<br />
<br />
--------------<br />
* 12/23/2008 (Jenny Cui) <br />
* jfreechart source code checked in<br />
* files changed: <br />
src.jfreechart.*<br />
build.xml(1.22)<br />
<br />
--------------<br />
* 12/23/2008 (Jenny Cui) <br />
* added editor/LocalizationBundle.class editor/LocalizationBundle_en.class editor/LocalizationBundle_en_US.class<br />
* files changed: <br />
jars.jfreechart-1.0.11.jar(1.3)<br />
<br />
-----<br />
* 12/22/2008 (Jenny Cui) <br />
* allow empty cells in input JTable for Charts<br />
* files changed: <br />
jars.jfreechart-1.0.11.jar(1.2)<br />
jars.jcommon-1.0.14.jar(1.2)<br />
analysis.gui.Chart(1.13)<br />
chart.*<br />
chart.demo.*<br />
chart.gui.*<br />
chart.data.*<br />
<br />
--------------<br />
* 12/17/2008 (Jenny Cui) <br />
* upgrade to jfreechart 1.0.11, jcommon 1.0.14<br />
* files changed: <br />
jars.jfreechart-1.0.11.jar(1.1)<br />
jars.jcommon-1.0.14.jar(1.1)<br />
build.xml(1.20)<br />
SOCR_Analyses.html(1.6)<br />
SOCR_Charts.html(1.5)<br />
chart.gui.SOCRPolarItemRenderer(1.3)<br />
chart.gui.ExtendedStackedBarRenderer(1.3)<br />
chart.*<br />
chart.demo.*<br />
application.demo.*<br />
<br />
-------------<br />
* 12/11/2008 (Jenny Cui) <br />
* update analysis' gui to clear result panel when a new example is choosen<br />
* Classes changed: <br />
analysis.gui.Analysis(1.43)<br />
analysis.gui.AnovaOneWay(1.15)<br />
<br />
-------------<br />
<br />
* 12/10/2008 (Jenny Cui) <br />
* update distributome package to add show_parent/show_children<br />
* Classes changed: <br />
distributome.ViewerApplet(1.6)<br />
distributome.data.Node(1.3)<br />
distributome.data.ViewerPanelInfo(1.3)<br />
--------------<br />
the new cvs server from now on<br />
--------------<br />
* 12/2/2008 (Jenny Cui)<br />
* reset chiSquareStat to 0 each time, this is to fix the Chi-Square Goodness of model return wrong result after first calculation<br />
* Classes changed: <br />
analysis.gui.ChiSquareModelFit.java(1.11)<br />
------------<br />
* 12/1/2008 (Jenny Cui)<br />
*Added Fliger-Killeen and Kolmogorov-Smirnoff to analysis commandline packag, added test files and update the testing script<br />
* Classes changed: <br />
analysis.command.KolmogorovSmirnoffCSV(1.1)<br />
analysis.command.FlignerKilleenCSV(1.1)<br />
jars.CSVtesting.zip(1.3) <br />
<br />
---------<br />
* 11/18/2008 (Jenny Cui)<br />
*Added Distributome code<br />
* Classes changed: <br />
distributome.data.Edge.java(1.1)<br />
distributome.data.Node.java(1.1)<br />
distributome.data.Formula.java(1.1)<br />
distributome.data.HighLightedType.java(1.1)<br />
distributome.data.Reference.java(1.1)<br />
distributome.data.Type.java(1.1)<br />
distributome.data.ViewerPanelInfo.java(1.1)<br />
distributome.gui.LinkLabel.java(1.1)<br />
distributome.gui.LoadAndShowFormula.java(1.1)<br />
distributome.gui.SOCROptionPane.java(1.1)<br />
distributome.ViewerApplet.java(1.1)<br />
jars.implementedDistributome.txt(1.4)<br />
jars.SOCR_JGraph.jar(1.1)<br />
SOCR_Distributome.html(1.1)<br />
build.xml(1.17)<br />
<br />
---------<br />
* 11/5/2008 (Jenny Cui)<br />
*some gui changes to make sure the entire tabe is visiable to user<br />
* Classes changed: <br />
analysis.gui.Analysis(1.41)<br />
<br />
---------<br />
* 10/27/2008 (Jenny Cui)<br />
* Fixing summary calculation error for DotChart and Index Chart, also add SampleSize to all summary report<br />
* Classes changed: <br />
chart.data.Summary(1.9)<br />
chart.SuperDotChart(1.14)<br />
chart.SuperIndexChart(1.8)<br />
<br />
---------<br />
* 10/23/2008 (Jenny Cui)<br />
* Adding manual kernel function to the SOCR_EM_MixtureModelChart<br />
* Classes changed: <br />
chart.demo.SOCR_EM_MixtureModelChartDemo(1.17)<br />
chart.gui.SOCRChartPanel(1.1)<br />
chart.util.CurvedGaussian(1.10)<br />
chart.util.CurvedGaussMixture(1.6)<br />
chart.util.GaussLineMixture(1.5)<br />
chart.util.Mixture(1.5)<br />
chart.util.MixtureEMExperiment(1.7)<br />
--------------<br />
* 10/16/2008 (Jenny Cui)<br />
* Adding FlignerKilleen to Analyses, update KolmogorovSmirnoff<br />
* Classes changed: <br />
util.Utility(1.2)<br />
util.QSortAlgorithm(1.11)<br />
gui.KolmogorovSmirnoff(1.2)<br />
gui.Analysis(1.40)<br />
gui.FlignerKilleen(1.1)<br />
example.ExampleData(1.16)<br />
example.KolmogorovSmirnoffExamples(1.2)<br />
example.FlignerKilleenExamples(1.1)<br />
model.KolmogorovSmirnoff(1.2)<br />
model.FlignerKilleen(1.1)<br />
result.KolmogorovSmirnoffResult(1.2)<br />
result.FlignerKilleenResult(1.1)<br />
data.DataCase(1.8)<br />
data.Data(1.19)<br />
<br />
<br />
--------------<br />
* 10/8/2008 (Jenny Cui)<br />
* Adding KolmogorovSmirnoff to Analyses<br />
* Classes changed: <br />
util.Utility(1.1)<br />
analyses.example.ExampleData(1.15)<br />
analyses.example.KolmogorovSmirnoffExampleData(1.1)<br />
analyses.gui.KolmogorovSmirnoff (1.1)<br />
analyses.gui.Analysis(1.39)<br />
analyses.model.AnalysisType(1.12)<br />
analyses.model.KolmogorovSmirnof(1.1)<br />
analyses.result.KolmogorovSmirnofResult(1.1)<br />
<br />
--------------<br />
* 8/25/2008 (Jenny Cui)<br />
* fixed a bug for 4 PowerTransformat charts, the problem is causing "Zero length 'data' array. at org.jfree.data.statistics.Statistics.getStdDev" error when the slider value is changed.<br />
* Classes changed: <br />
chart.demo.PowerTransformationFamilyChart.java(1.12)<br />
chart.demo.PowerTransformHistogramChart.java(1.12)<br />
chart.demo.PowerTransformQQNormalPlotChart.java(1.13)<br />
chart.demo.PowerTransformXYScatterChart.java(1.10)<br />
<br />
--------------<br />
* 7/9/2008 (Jenny Cui)<br />
* fixed a bug of showing "format data error" when there are empty cell in the end of the JTable<br />
* Classes changed: <br />
chart.Chart.java(1.30)<br />
chart.demo.SOCR_EM_MixtureModelChartDemo.java(1.15)<br />
--------------<br />
* 7/8/2008 (Jenny Cui)<br />
* application package updated<br />
* Classes changed: <br />
application.demo.*<br />
core.SOCRApplications.java (1.4)<br />
jars.implementedApplications.txt(1.5)<br />
jars.jgraph.jar(1.1)<br />
SOCR_Applications.html(1.2)<br />
build.xml(1.11)<br />
<br />
--------------<br />
* 7/7/2008 (Jenny Cui)<br />
* analysis command package updated<br />
* Classes changed: <br />
analysis.command.*<br />
--------------<br />
* 6/18/2008 (Jenny Cui)<br />
* Switch X/Y for BubbleChart<br />
* Classes changed: <br />
chart.data.Summary(1.4-1.5)<br />
chart.data.DataConvertor(1.11-1.12)<br />
chart.SuperXYZChart(1.6-1.7)<br />
chart.demo.BubbleChartDemo1(1.4-1.5)<br />
--------------<br />
* 6/17/2008 (Jenny Cui)<br />
* allow factor input to be string in Anova Analysis(in getDummyMatrix method)<br />
* Classes changed: <br />
util.AnalysisUtility(1.16-1.17)<br />
--------------<br />
* 5/22/2008 (Jenny Cui)<br />
* fixed bugs in Chart and Analysis package, make table headers editable after data pasting, improved data file loading<br />
* Classes changed: <br />
core.SOCRAnalyses(1.13-1.14)<br />
core.SOCRChart(1.15-1.16)<br />
--------------<br />
* 5/9/2008 (Jenny Cui)<br />
* Add the SOCR_Applications package<br />
* Classes changed: <br />
chart. ChartTree_dynamic(1.2-1.3)<br />
core.SOCRApplications(1.1)<br />
core.SOCRApplet2(1.2-1.3)<br />
core.MultiplePartsPanel(1.2-1.3)<br />
applications.Application(1.1)<br />
applications.demo.PortfolioApplication(1.1)<br />
applications.demo.PortfolioApplication2(1.1)<br />
util.FloatSlider(1.1)<br />
<br />
jars.implementedApplications.txt<br />
build.xml(1.10)<br />
SOCR_Applications.html<br />
<br />
<br />
--------------<br />
* 4/22/2008 (Jenny Cui)<br />
* fix for Bubble chart, handling the exception thrown when no ":" is found in the table heading<br />
* Classes changed: <br />
chart. SuperXYZChart(1.5-1.6)<br />
<br />
-------------<br />
* 4/22/2008 (jenny cui)<br />
* Added new classes to analyses.command pacakge<br />
* New classes added<br />
jars.CSVtesting.zip (1.1- 1.2)-- include all the input txt file and script used for testing<br />
analyses.command. *CVS.java<br />
<br />
--------------<br />
* 4/18/2008 (Jenny Cui)<br />
* fix for IE html table data copy/paste (IE use space while MAc use tab as cell separator)<br />
* Classes changed: <br />
core. SOCRChart(1.14-1.15)<br />
core. SOCRAnalyses(1.12-1.13)<br />
<br />
<br />
--------------<br />
* 4/11/2008 (Jenny Cui)<br />
* update the mapping panel for the dataTable changes after Pasting<br />
* Classes changed: <br />
core. SOCRChart(1.13-1.14)<br />
core. SOCRAnalyses(1.11-1.12)<br />
chart.Chart(1.28-1.29)<br />
analyese.gui.Analysis(1.34.1.35)<br />
<br />
<br />
--------------<br />
* 4/10/2008 (Jenny Cui)<br />
* Read in parameter from html when starting applet, this will help user to jump to the middle of the pull down list<br />
NOTE, this doesn't work for SOCR_Modeler because of some applet bug<br />
* Classes changed: <br />
core. SOCRApplet(1.10->1.11)<br />
core. SOCRApplet3(1.1->1.2)<br />
core. SOCRJComboBox1.1->1.2)<br />
SOCR_Analyses.html, SOCR_Distributions.html, SOCR_DistributionFunctors.html, SOCR_Experiments.html, SOCR_Games.html<br />
<br />
<br />
--------------<br />
* 3/17/2008 (Jenny Cui)<br />
* Add interaction for TwoWay anova<br />
* Classes changed: <br />
analyses.gui.AnovaTwoWay(1.14->1.15)<br />
analyses.model.AnovaOneWay(1.6-1.7)<br />
analyses.model.AnovaTwoWay(1.5-1.7)<br />
analyese.result.AnovaTwoWayResult(1.4-1.5)<br />
util.AnalysisUtillity(1.15-1.16)<br />
<br />
<br />
--------------<br />
* 2/5/2008 (Jenny Cui)<br />
* Fixed a bug in ConfidenceIntervalExperiment, the report of "missing intervals" was delayed by one step<br />
* Classes changed: <br />
experiment.ConfidenceIntervalExperiment(1.2->1.3)<br />
util.ConfidenceCanvas(1.2->1.3)<br />
<br />
<br />
--------------<br />
* 1/31/2008 (Jenny Cui)<br />
* Fixed a bug in NormalPower analysis, the comare curves panel was missing before<br />
* Classes changed: <br />
analyses.gui.NormalPower(1.18-1.19)<br />
<br />
--------------<br />
* 12/5/2007 (Jenny Cui)<br />
* Fixed a bug in Analysis package, reset JTable data before setting the Example data(in doAnlaysis method reset xLength=0, yLength=0).<br />
* Classes changed: <br />
analyses.gui.Analysis(1.33- 1.34)<br />
analyses.gui.AnovaTwoWay(1.13-1.14)<br />
analyses.gui.ChiSquareModelFit(1.7-1.8)<br />
analyses.gui.DichotomousProportion(1.4-1.5)<br />
analyses.gui.OneT(1.10-1.11)<br />
analyses.gui.SimpleLinearRegression(1.16-1.17)<br />
analyses.gui.Survival(1.9-1.10)<br />
analyses.gui.TwoIndependentTPooled(1.2-1.3)<br />
analyses.gui.TwoIndependentUnpooled(1.2-1.3)<br />
analyses.gui.TwoIndependentWilcoxon(1.10-1.11)<br />
* added Mean & SD for SimpleLinearRegression 's result panel<br />
* Classes changed: <br />
analyses.gui.SimpleLinearRegression(1.16-1.17)<br />
analyses.model.SimpleLinearRegression(1.7-1.8)<br />
analyses.result.SimpleLinearRegressionResult(1.8-1.9)<br />
<br />
--------------<br />
* 11/28/2007 (Jenny Cui)<br />
* Added new classes to analyses.command pacakge<br />
* New classes added<br />
jars.CSVtesting.zip -- include all the input txt file and script used for testing<br />
analyses.command. *CVS.java<br />
--------------<br />
* 11/26/2007 (Jenny Cui)<br />
*For Charts and Analysis' "File Open" functoin , allow the first line with # in the front to be treated as table heading.<br />
*Classes changed: <br />
core.SOCRChart(1.12-1.13)<br />
core.SOCRAnalysis(1.10-1.11)<br />
--------------<br />
* 11/15/2007 (Jenny Cui)<br />
* Adding 2 histogram chart demo for BarCharts/XYCharts: <br />
HistogramChartDemo6 (X value(in the form of numberA- numberB) is treated as range of number )<br />
HistogramChartDemo7 (X value is treated as string)<br />
*Classes changed: <br />
chart. Chart(1.27->1.28)<br />
chart.SuperCategoryChart(1.5-1.6)<br />
chart.superIntervalXYChart(1.4-1.5)<br />
chart.data.DataConvertor(1.10-1.11)<br />
chart.demo.PowerTransformHistogramChart(1.10-1.11)<br />
chart.demo.PowerTransformNormalPlotChart(1.11-1.12)<br />
jars.implementedCharts.txt(1.17-1.18)<br />
* New classes added<br />
chart.demo.HistogramChartDemo6<br />
chart.demo.HistogramChartDemo7<br />
--------------</div>WikiSysophttp://wiki.stat.ucla.edu/socr/index.php/CVS_log_for_developerCVS log for developer2009-11-04T22:11:58Z<p>WikiSysop: </p>
<hr />
<div>* 10/23/2009 (Jenny Cui) t<br />
* MulitNomialDistribution update<br />
* files changed: <br />
core.GraphPanel(1.18)<br />
core.SOCRDistributions(1.20)<br />
distributions.MultiNormialDistribution(1.3)<br />
------------------<br />
<br />
* 10/20/2009 (Jenny Cui) <br />
* CI analysis update<br />
* files changed: <br />
analyses.gui.ConfidenceIntervalAnalysis(1.2)<br />
analyses.model.ConfidenceInterval(1.2)<br />
analyses.util.ConfidenceCanvasGeneral(1.2)<br />
analyses.util.ConfidenceCanvasGeneralUpper(1.2)<br />
analyses.util.ConfidenceControlPanel(1.2)<br />
analyses.util.IntervalType(1.2)<br />
jars.implementedAnalysis.txt(1.15)<br />
<br />
------------------<br />
<br />
* 10/20/2009 (Jenny Cui) <br />
* distributome update, fixed the showneighbor bug, improved the debug, just turn debug to ture in ViewerApplet will turn on all debugging statements in all classes<br />
* files changed: <br />
distributome.EditorApplet(1.3)<br />
distributome.ViewerrApplet(1.15)<br />
distributome.data.Edge(1.6)<br />
distributome.data.Formula(1.5)<br />
distributome.data.Reference(1.5)<br />
distributome.data.SOCRNode(1.3)<br />
distributome.data.ViewerPanelInfo(1.10)<br />
distributome.editor.DistributomeEditor(1.3)<br />
distributome.editor.TreeTableCodec(1.3)<br />
jars.distributome_short.xml(1.1)<br />
------------------<br />
* 10/1/2009 (Jenny Cui) <br />
* extend column number when pasting<br />
* files changed: <br />
core.SOCRAnalysis(1.20)<br />
core.SOCRChart(1.25)<br />
---------------<br />
* 9/16/2009 (Jenny Cui) <br />
* Analysis fix for adding bisecting line to the AnovaOneWay/ AnovaTwoWay QQ graph<br />
* files changed: <br />
analyses.gui.AnovaOneWay(1.19)<br />
analyses.gui.AnovaTwoWay(1.20)<br />
------------------<br />
* 8/27/2009 (Jenny Cui) <br />
* Analysis fix for pasting heading<br />
* files changed: <br />
core.SOCRAnalyses(1.19)<br />
analyses.gui.Analysis(1.47)<br />
------------------<br />
* 8/27/2009 (Jenny Cui) <br />
* Chart fix for pasting heading<br />
* files changed: <br />
core.SOCRChart(1.24)<br />
chart.Chart(1.40)<br />
----------------<br />
<br />
* 8/26/2009 (Jenny Cui) <br />
* CI fixed the right side green panel resizing problem <br />
* files changed: <br />
experiments.ConfidenceIntervalExperimentGeneral(1.10)<br />
----------------<br />
<br />
* 7/21/2009 (Jenny Cui) <br />
* CI check in(with correct calculation for Varience2), ready for using different implemented file for MLE, not fully done for MLE<br />
* files changed: <br />
experiments.ConfidenceIntervalExperimentGeneral(1.7)<br />
experiments.util.ConfidenceCanvasGeneral(1.4)<br />
experiments.util.ConfidenceCanvasGeneraBase(1.4)<br />
experiments.util.ConfidenceCanvasGeneralLower(1.4)<br />
experiments.util.ConfidenceCanvasGeneralUpper(1.4)<br />
experiments.util.ConfidenceControlPanelGeneral(1.4)<br />
experiments.util.IntervalTypel(1.5)<br />
-------------<br />
<br />
* 7/14/2009 (Jenny Cui) <br />
* CI check in(with correct calculation)<br />
* files changed: <br />
experiments.ConfidenceIntervalExperimentGeneral(1.6)<br />
experiments.util.ConfidenceCanvasGeneral(1.3)<br />
experiments.util.ConfidenceCanvasGeneraBasel(1.3)<br />
experiments.util.ConfidenceCanvasGeneralLower(1.3)<br />
experiments.util.ConfidenceCanvasGeneralUpper(1.3)<br />
experiments.util.ConfidenceControlPanelGeneral(1.3)<br />
experiments.util.IntervalTypel(1.4)<br />
<br />
-------------<br />
* 6/29/2009 (Jenny Cui) <br />
* remove HistogramChart legend<br />
* files changed: <br />
chart.SuperHistogramChart(1.19)<br />
chart.demo.Histogram*.java<br />
<br />
-------------<br />
* 6/29/2009 (Jenny Cui) <br />
* CI check in<br />
* files changed: <br />
core.Experiment(1.7)<br />
core.GraphPanel(1.14)<br />
core.SOCRDistributions(1.16)<br />
experiments.ConfidenceIntervalExperimentGeneral(1.5)<br />
experiments.util.ConfidenceCanvasGeneral(1.2)<br />
experiments.util.ConfidenceCanvasGeneraBasel(1.2)<br />
experiments.util.ConfidenceCanvasGeneralLower(1.2)<br />
experiments.util.ConfidenceCanvasGeneralUpper(1.2)<br />
experiments.util.ConfidenceControlPanelGeneral(1.2)<br />
experiments.util.IntervalTypel(1.2)<br />
<br />
-------------<br />
* 6/29/2009 (Jenny Cui) <br />
* Fix IndexChart exception thrown caused by null rangeLabel<br />
* files changed: <br />
chart.SuperIndexChart(1.13)<br />
<br />
-------------<br />
* 6/10/2009 (Jenny Cui) <br />
* Chart demo YIntervalChartDemo1a, StatisticalBarChartDemo1a, StatisticalLineChartDemo1a added, split (mean, stdDev) into 2 columns<br />
* files changed: <br />
jars.implementedCharts.txt(1.20)<br />
htmls.Chart_html.zip(1.2)<br />
chart.data.DataConvertor(1.16)<br />
chart.demo.YIntervalChartDemo1a(1.1)<br />
chart.demo.StatisticalBarChartDemo1a(1.1)<br />
chart.demo.StatisticalLineChartDemo1a(1.1)<br />
chart.SuperYIntervalChartA(1.1)<br />
chart.SuperCategoryChart_StatA(1.1)<br />
--------------<br />
* 6/1/2009 (Jenny Cui) <br />
* confidenceIntervalGeneral check in<br />
* files changed: <br />
core.SOCRDistributions(1.15), getGraphPanel() added, also notify the observer when slider value changed<br />
distributions.NormalDistribution(1.17) minor change in name etc<br />
experiments.util.* (1.1) <br />
experiments.ConfidenceIntervalExperimentGeneral(1.4)<br />
experiments.ConfidenceIntervalExperimentSimple(1.4)<br />
<br />
--------------<br />
* 4/28/2009 (Jenny Cui) <br />
* fixed bad UTF8 chars in copyright heading, also this checking including the half done Confidence interval General<br />
* files changed: <br />
src.edu.*<br />
building.xml(1.30) added a commented out example of using ant to do global repalcement<br />
<br />
--------------<br />
* 4/22/2009 (Jenny Cui) <br />
* all charts can take init data from the html file now<br />
* files changed: <br />
htmls/chart_html.zip (including all html files for all existing SOCR chart)<br />
chart.data.DataConvertor(1.14)<br />
chart.demo.*<br />
chart.*<br />
core.SOCRChart(1.22)<br />
<br />
--------------<br />
* 4/6/2009 (Jenny Cui) <br />
* add more html parameters for Histogram charts<br />
* files changed: <br />
jars.implementedCharts.txt(1.19)<br />
chart.Chart(1.36)<br />
chart.SuperCagetoryChart_Bar(1.3)<br />
chart.SuperCagetoryChart(1.10)<br />
chart.SuperHistogramChart(1.16)<br />
chart.SuperIntervalXYChart_Time(1.10)<br />
chart.SuperIntervalChart(1.8)<br />
chart.demo.HistogramChartDemo(1.6)<br />
chart.demo.HistogramChartDemo2(1.5)<br />
chart.demo.HistogramChartDemo4(1.6)<br />
chart.demo.HistogramChartDemo5(1.5)<br />
chart.demo.HistogramChartDemo6(1.4)<br />
chart.demo.HistogramChartDemo7(1.5)<br />
<br />
--------------<br />
* 3/26/2009 (Jenny Cui) <br />
* add more Parameter to html for Chart, such chartTitle, selectedView, inputData etc, so far this only works for HistogramDemos, will extend this to other chart later.<br />
* files changed: <br />
SOCR_Charts.html(1.8) added example. commented out<br />
core.SOCRChart (1.21)<br />
chart.Chart(1.35)<br />
chart.SuperIntervalXYChart_Time(1.10)<br />
chart.demo.HistogramChartDemo3(1.9)<br />
chart.demo.LineChartDemo1a(1.8)<br />
chart.demo.LineChartDemo1b(1.6)<br />
<br />
--------------<br />
* 3/9/2009 (Jenny Cui) <br />
* getParameter from html function added for Chart<br />
* files changed: <br />
SOCR_Charts.html(1.7) added example. commented out<br />
SOCR_Modeler.html(1.5)<br />
core.SOCRChart.java(1.20)<br />
<br />
--------------<br />
* 3/6/2009 (Jenny Cui) <br />
* confidenceIntervalExperiment update -- more changes later<br />
* files changed: <br />
core.Experiment(1.5)<br />
core.SOCRDistributions(1.13) -- make it observable<br />
distributions.CauchyDistribution(1.7) -- set name for the following <br />
distributions.CouponDistribution(1.6)<br />
distributions.FiniteOrderStatisticDistribution(1.3)<br />
distributions.HyperbolicSecantDistribution(1.3)<br />
distributions.PointMassDistribution(1.7)<br />
experiments.ConfidenceIntervalExperimentGeneral(1.2)<br />
experiments.ConfidenceIntervalExperimentSimple(1.2)<br />
util.ConfidenceCanvasGeneral(1.2)<br />
util.ConfidenceCanvasSimple(1.2)<br />
util.ConfidenceControlPanelGeneral(1.2)<br />
<br />
--------------<br />
* 2/20/2009 (Jenny Cui) <br />
* Split the confidenceIntervalExperiment into 2<br />
* files changed: <br />
experiments. ConfidenceIntervalExperimentGeneral(1.1)-- this is Rahul's version<br />
experiments. ConfidenceIntervalExperimentSimple(1.1) -- this is the older version of ConfidenceIntervalExperiment(1.6)<br />
util.ConfidenceCanvasGeneral(1.1)<br />
util.ConfidenceCanvasSimple(1.1) -- old ConfidenceCanva(1.5)<br />
util.ConfidenceControlPanelSimple(1.1)-- old ConfidenceControlPanel(1.4)<br />
util.ConfidenceControlPanelGeneral(1.1)<br />
util.ConfidenceCanvasCalculator(1.2)<br />
jars.implementedExperiments.txt(1.7) -- with Rahul's version commented out<br />
<br />
<br />
--------------<br />
* 2/19/2009 (Jenny Cui) <br />
* adding distributome editor<br />
* files changed: <br />
build.xml(1.27)<br />
SOCR_DistributomeEditor.html(1.1)<br />
jars/loniEdiotr.jar(1.1)<br />
jars/distributome.xsd(1.3)<br />
distributome.editor.DistributomeEditor.java(1.1)<br />
distributome.editor.ElementPanel.java(1.1)<br />
distributome.editor.ElementTableModel.java(1.1)<br />
distributome.editor.ExampleFileFilter.java(1.1)<br />
distributome.editor.FileParser.java(1.1)<br />
distributome.editor.TreeTableCodec.java(1.1)<br />
distributome.editor.XmlValidator.java(1.1)<br />
distributome.xml.Distributome_XMLReader.java(1.4)<br />
distributome.data.SOCRNode.java(1.1)<br />
distributome.data.Edge.java(1.4)<br />
distributome.data.Formula.java(1.3)<br />
distributome.data.Reference.java(1.3)<br />
distributome.data.ViewerPanelInfo.java(1.6)<br />
distributome.EditorApplet.java(1.1)<br />
distributome.ViewerApplet.java(1.13)<br />
<br />
<br />
--------------<br />
* 2/17/2009 (Jenny Cui) <br />
* fix the problem Analysis "Interaction On or Off" button will bring up the data missing dialog, put reset() in front of updateExample()<br />
* files changed: <br />
gui.Analysis(1.44)<br />
<br />
--------------<br />
* 2/13/2009 (Jenny Cui) <br />
* Rahul's code for ConfidenceIntervalExperiment<br />
* files changed: <br />
util.ConfidenceCanvas(1.6)<br />
util.ConfidenceCanvasCalculator(1.1)<br />
util.ConfidenceControlPanel(1.5)<br />
experiments.ConfidenceIntervalExperiment(1.6)<br />
core.SOCRApplet(1.16)<br />
SOCR_Distributions.html(1.5)<br />
<br />
--------------<br />
* 2/6/2009 (Jenny Cui) <br />
* XML for distributome bug fix <br />
* files changed: <br />
jars.distributome.xsd(1.2)<br />
distributome.ViewerApplet(1.10)<br />
distributome.xml.Distributom_XMLReader(1.2)<br />
<br />
--------------<br />
* 2/3/2009 (Jenny Cui) <br />
* change input file to XML for distributome <br />
* files changed: <br />
distributome.ViewerApplet(1.9)<br />
distributome.data.Edge(1.3)<br />
distributome.data.Formula(1.2)<br />
distributome.data.Node(1.4)<br />
distributome.data.Reference(1.2)<br />
distributome.data.ViewerPanelInfo(1.5)<br />
distributome.xml.Distributom_XMLReader(1.1)<br />
distributome.xml.SOCRXMLErrorHandler(1.1)<br />
jars.distributome.xml(1.1)<br />
jars.distributome.xsd(1.1)<br />
<br />
--------------<br />
* 1/13/2009 (Jenny Cui) <br />
* added ctrl+/- as zoom in/out for distributome <br />
* files changed: <br />
distributome.ViewerApplet(1.7)<br />
distributome.data.ViewerPanelInfo(1.4)<br />
<br />
--------------<br />
* 12/23/2008 (Jenny Cui) <br />
* jfreechart source code checked in<br />
* files changed: <br />
src.jfreechart.*<br />
build.xml(1.22)<br />
<br />
--------------<br />
* 12/23/2008 (Jenny Cui) <br />
* added editor/LocalizationBundle.class editor/LocalizationBundle_en.class editor/LocalizationBundle_en_US.class<br />
* files changed: <br />
jars.jfreechart-1.0.11.jar(1.3)<br />
<br />
-----<br />
* 12/22/2008 (Jenny Cui) <br />
* allow empty cells in input JTable for Charts<br />
* files changed: <br />
jars.jfreechart-1.0.11.jar(1.2)<br />
jars.jcommon-1.0.14.jar(1.2)<br />
analysis.gui.Chart(1.13)<br />
chart.*<br />
chart.demo.*<br />
chart.gui.*<br />
chart.data.*<br />
<br />
--------------<br />
* 12/17/2008 (Jenny Cui) <br />
* upgrade to jfreechart 1.0.11, jcommon 1.0.14<br />
* files changed: <br />
jars.jfreechart-1.0.11.jar(1.1)<br />
jars.jcommon-1.0.14.jar(1.1)<br />
build.xml(1.20)<br />
SOCR_Analyses.html(1.6)<br />
SOCR_Charts.html(1.5)<br />
chart.gui.SOCRPolarItemRenderer(1.3)<br />
chart.gui.ExtendedStackedBarRenderer(1.3)<br />
chart.*<br />
chart.demo.*<br />
application.demo.*<br />
<br />
-------------<br />
* 12/11/2008 (Jenny Cui) <br />
* update analysis' gui to clear result panel when a new example is choosen<br />
* Classes changed: <br />
analysis.gui.Analysis(1.43)<br />
analysis.gui.AnovaOneWay(1.15)<br />
<br />
-------------<br />
<br />
* 12/10/2008 (Jenny Cui) <br />
* update distributome package to add show_parent/show_children<br />
* Classes changed: <br />
distributome.ViewerApplet(1.6)<br />
distributome.data.Node(1.3)<br />
distributome.data.ViewerPanelInfo(1.3)<br />
--------------<br />
the new cvs server from now on<br />
--------------<br />
* 12/2/2008 (Jenny Cui)<br />
* reset chiSquareStat to 0 each time, this is to fix the Chi-Square Goodness of model return wrong result after first calculation<br />
* Classes changed: <br />
analysis.gui.ChiSquareModelFit.java(1.11)<br />
------------<br />
* 12/1/2008 (Jenny Cui)<br />
*Added Fliger-Killeen and Kolmogorov-Smirnoff to analysis commandline packag, added test files and update the testing script<br />
* Classes changed: <br />
analysis.command.KolmogorovSmirnoffCSV(1.1)<br />
analysis.command.FlignerKilleenCSV(1.1)<br />
jars.CSVtesting.zip(1.3) <br />
<br />
---------<br />
* 11/18/2008 (Jenny Cui)<br />
*Added Distributome code<br />
* Classes changed: <br />
distributome.data.Edge.java(1.1)<br />
distributome.data.Node.java(1.1)<br />
distributome.data.Formula.java(1.1)<br />
distributome.data.HighLightedType.java(1.1)<br />
distributome.data.Reference.java(1.1)<br />
distributome.data.Type.java(1.1)<br />
distributome.data.ViewerPanelInfo.java(1.1)<br />
distributome.gui.LinkLabel.java(1.1)<br />
distributome.gui.LoadAndShowFormula.java(1.1)<br />
distributome.gui.SOCROptionPane.java(1.1)<br />
distributome.ViewerApplet.java(1.1)<br />
jars.implementedDistributome.txt(1.4)<br />
jars.SOCR_JGraph.jar(1.1)<br />
SOCR_Distributome.html(1.1)<br />
build.xml(1.17)<br />
<br />
---------<br />
* 11/5/2008 (Jenny Cui)<br />
*some gui changes to make sure the entire tabe is visiable to user<br />
* Classes changed: <br />
analysis.gui.Analysis(1.41)<br />
<br />
---------<br />
* 10/27/2008 (Jenny Cui)<br />
* Fixing summary calculation error for DotChart and Index Chart, also add SampleSize to all summary report<br />
* Classes changed: <br />
chart.data.Summary(1.9)<br />
chart.SuperDotChart(1.14)<br />
chart.SuperIndexChart(1.8)<br />
<br />
---------<br />
* 10/23/2008 (Jenny Cui)<br />
* Adding manual kernel function to the SOCR_EM_MixtureModelChart<br />
* Classes changed: <br />
chart.demo.SOCR_EM_MixtureModelChartDemo(1.17)<br />
chart.gui.SOCRChartPanel(1.1)<br />
chart.util.CurvedGaussian(1.10)<br />
chart.util.CurvedGaussMixture(1.6)<br />
chart.util.GaussLineMixture(1.5)<br />
chart.util.Mixture(1.5)<br />
chart.util.MixtureEMExperiment(1.7)<br />
--------------<br />
* 10/16/2008 (Jenny Cui)<br />
* Adding FlignerKilleen to Analyses, update KolmogorovSmirnoff<br />
* Classes changed: <br />
util.Utility(1.2)<br />
util.QSortAlgorithm(1.11)<br />
gui.KolmogorovSmirnoff(1.2)<br />
gui.Analysis(1.40)<br />
gui.FlignerKilleen(1.1)<br />
example.ExampleData(1.16)<br />
example.KolmogorovSmirnoffExamples(1.2)<br />
example.FlignerKilleenExamples(1.1)<br />
model.KolmogorovSmirnoff(1.2)<br />
model.FlignerKilleen(1.1)<br />
result.KolmogorovSmirnoffResult(1.2)<br />
result.FlignerKilleenResult(1.1)<br />
data.DataCase(1.8)<br />
data.Data(1.19)<br />
<br />
<br />
--------------<br />
* 10/8/2008 (Jenny Cui)<br />
* Adding KolmogorovSmirnoff to Analyses<br />
* Classes changed: <br />
util.Utility(1.1)<br />
analyses.example.ExampleData(1.15)<br />
analyses.example.KolmogorovSmirnoffExampleData(1.1)<br />
analyses.gui.KolmogorovSmirnoff (1.1)<br />
analyses.gui.Analysis(1.39)<br />
analyses.model.AnalysisType(1.12)<br />
analyses.model.KolmogorovSmirnof(1.1)<br />
analyses.result.KolmogorovSmirnofResult(1.1)<br />
<br />
--------------<br />
* 8/25/2008 (Jenny Cui)<br />
* fixed a bug for 4 PowerTransformat charts, the problem is causing "Zero length 'data' array. at org.jfree.data.statistics.Statistics.getStdDev" error when the slider value is changed.<br />
* Classes changed: <br />
chart.demo.PowerTransformationFamilyChart.java(1.12)<br />
chart.demo.PowerTransformHistogramChart.java(1.12)<br />
chart.demo.PowerTransformQQNormalPlotChart.java(1.13)<br />
chart.demo.PowerTransformXYScatterChart.java(1.10)<br />
<br />
--------------<br />
* 7/9/2008 (Jenny Cui)<br />
* fixed a bug of showing "format data error" when there are empty cell in the end of the JTable<br />
* Classes changed: <br />
chart.Chart.java(1.30)<br />
chart.demo.SOCR_EM_MixtureModelChartDemo.java(1.15)<br />
--------------<br />
* 7/8/2008 (Jenny Cui)<br />
* application package updated<br />
* Classes changed: <br />
application.demo.*<br />
core.SOCRApplications.java (1.4)<br />
jars.implementedApplications.txt(1.5)<br />
jars.jgraph.jar(1.1)<br />
SOCR_Applications.html(1.2)<br />
build.xml(1.11)<br />
<br />
--------------<br />
* 7/7/2008 (Jenny Cui)<br />
* analysis command package updated<br />
* Classes changed: <br />
analysis.command.*<br />
--------------<br />
* 6/18/2008 (Jenny Cui)<br />
* Switch X/Y for BubbleChart<br />
* Classes changed: <br />
chart.data.Summary(1.4-1.5)<br />
chart.data.DataConvertor(1.11-1.12)<br />
chart.SuperXYZChart(1.6-1.7)<br />
chart.demo.BubbleChartDemo1(1.4-1.5)<br />
--------------<br />
* 6/17/2008 (Jenny Cui)<br />
* allow factor input to be string in Anova Analysis(in getDummyMatrix method)<br />
* Classes changed: <br />
util.AnalysisUtility(1.16-1.17)<br />
--------------<br />
* 5/22/2008 (Jenny Cui)<br />
* fixed bugs in Chart and Analysis package, make table headers editable after data pasting, improved data file loading<br />
* Classes changed: <br />
core.SOCRAnalyses(1.13-1.14)<br />
core.SOCRChart(1.15-1.16)<br />
--------------<br />
* 5/9/2008 (Jenny Cui)<br />
* Add the SOCR_Applications package<br />
* Classes changed: <br />
chart. ChartTree_dynamic(1.2-1.3)<br />
core.SOCRApplications(1.1)<br />
core.SOCRApplet2(1.2-1.3)<br />
core.MultiplePartsPanel(1.2-1.3)<br />
applications.Application(1.1)<br />
applications.demo.PortfolioApplication(1.1)<br />
applications.demo.PortfolioApplication2(1.1)<br />
util.FloatSlider(1.1)<br />
<br />
jars.implementedApplications.txt<br />
build.xml(1.10)<br />
SOCR_Applications.html<br />
<br />
<br />
--------------<br />
* 4/22/2008 (Jenny Cui)<br />
* fix for Bubble chart, handling the exception thrown when no ":" is found in the table heading<br />
* Classes changed: <br />
chart. SuperXYZChart(1.5-1.6)<br />
<br />
-------------<br />
* 4/22/2008 (jenny cui)<br />
* Added new classes to analyses.command pacakge<br />
* New classes added<br />
jars.CSVtesting.zip (1.1- 1.2)-- include all the input txt file and script used for testing<br />
analyses.command. *CVS.java<br />
<br />
--------------<br />
* 4/18/2008 (Jenny Cui)<br />
* fix for IE html table data copy/paste (IE use space while MAc use tab as cell separator)<br />
* Classes changed: <br />
core. SOCRChart(1.14-1.15)<br />
core. SOCRAnalyses(1.12-1.13)<br />
<br />
<br />
--------------<br />
* 4/11/2008 (Jenny Cui)<br />
* update the mapping panel for the dataTable changes after Pasting<br />
* Classes changed: <br />
core. SOCRChart(1.13-1.14)<br />
core. SOCRAnalyses(1.11-1.12)<br />
chart.Chart(1.28-1.29)<br />
analyese.gui.Analysis(1.34.1.35)<br />
<br />
<br />
--------------<br />
* 4/10/2008 (Jenny Cui)<br />
* Read in parameter from html when starting applet, this will help user to jump to the middle of the pull down list<br />
NOTE, this doesn't work for SOCR_Modeler because of some applet bug<br />
* Classes changed: <br />
core. SOCRApplet(1.10->1.11)<br />
core. SOCRApplet3(1.1->1.2)<br />
core. SOCRJComboBox1.1->1.2)<br />
SOCR_Analyses.html, SOCR_Distributions.html, SOCR_DistributionFunctors.html, SOCR_Experiments.html, SOCR_Games.html<br />
<br />
<br />
--------------<br />
* 3/17/2008 (Jenny Cui)<br />
* Add interaction for TwoWay anova<br />
* Classes changed: <br />
analyses.gui.AnovaTwoWay(1.14->1.15)<br />
analyses.model.AnovaOneWay(1.6-1.7)<br />
analyses.model.AnovaTwoWay(1.5-1.7)<br />
analyese.result.AnovaTwoWayResult(1.4-1.5)<br />
util.AnalysisUtillity(1.15-1.16)<br />
<br />
<br />
--------------<br />
* 2/5/2008 (Jenny Cui)<br />
* Fixed a bug in ConfidenceIntervalExperiment, the report of "missing intervals" was delayed by one step<br />
* Classes changed: <br />
experiment.ConfidenceIntervalExperiment(1.2->1.3)<br />
util.ConfidenceCanvas(1.2->1.3)<br />
<br />
<br />
--------------<br />
* 1/31/2008 (Jenny Cui)<br />
* Fixed a bug in NormalPower analysis, the comare curves panel was missing before<br />
* Classes changed: <br />
analyses.gui.NormalPower(1.18-1.19)<br />
<br />
--------------<br />
* 12/5/2007 (Jenny Cui)<br />
* Fixed a bug in Analysis package, reset JTable data before setting the Example data(in doAnlaysis method reset xLength=0, yLength=0).<br />
* Classes changed: <br />
analyses.gui.Analysis(1.33- 1.34)<br />
analyses.gui.AnovaTwoWay(1.13-1.14)<br />
analyses.gui.ChiSquareModelFit(1.7-1.8)<br />
analyses.gui.DichotomousProportion(1.4-1.5)<br />
analyses.gui.OneT(1.10-1.11)<br />
analyses.gui.SimpleLinearRegression(1.16-1.17)<br />
analyses.gui.Survival(1.9-1.10)<br />
analyses.gui.TwoIndependentTPooled(1.2-1.3)<br />
analyses.gui.TwoIndependentUnpooled(1.2-1.3)<br />
analyses.gui.TwoIndependentWilcoxon(1.10-1.11)<br />
* added Mean & SD for SimpleLinearRegression 's result panel<br />
* Classes changed: <br />
analyses.gui.SimpleLinearRegression(1.16-1.17)<br />
analyses.model.SimpleLinearRegression(1.7-1.8)<br />
analyses.result.SimpleLinearRegressionResult(1.8-1.9)<br />
<br />
--------------<br />
* 11/28/2007 (Jenny Cui)<br />
* Added new classes to analyses.command pacakge<br />
* New classes added<br />
jars.CSVtesting.zip -- include all the input txt file and script used for testing<br />
analyses.command. *CVS.java<br />
--------------<br />
* 11/26/2007 (Jenny Cui)<br />
*For Charts and Analysis' "File Open" functoin , allow the first line with # in the front to be treated as table heading.<br />
*Classes changed: <br />
core.SOCRChart(1.12-1.13)<br />
core.SOCRAnalysis(1.10-1.11)<br />
--------------<br />
* 11/15/2007 (Jenny Cui)<br />
* Adding 2 histogram chart demo for BarCharts/XYCharts: <br />
HistogramChartDemo6 (X value(in the form of numberA- numberB) is treated as range of number )<br />
HistogramChartDemo7 (X value is treated as string)<br />
*Classes changed: <br />
chart. Chart(1.27->1.28)<br />
chart.SuperCategoryChart(1.5-1.6)<br />
chart.superIntervalXYChart(1.4-1.5)<br />
chart.data.DataConvertor(1.10-1.11)<br />
chart.demo.PowerTransformHistogramChart(1.10-1.11)<br />
chart.demo.PowerTransformNormalPlotChart(1.11-1.12)<br />
jars.implementedCharts.txt(1.17-1.18)<br />
* New classes added<br />
chart.demo.HistogramChartDemo6<br />
chart.demo.HistogramChartDemo7<br />
--------------</div>WikiSysophttp://wiki.stat.ucla.edu/socr/index.php/MediaWiki:SidebarMediaWiki:Sidebar2007-03-13T15:20:35Z<p>WikiSysop: </p>
<hr />
<div>* navigation<br />
** mainpage|mainpage<br />
** portal-url|portal<br />
** currentevents-url|currentevents<br />
** recentchanges-url|recentchanges<br />
** randompage-url|randompage<br />
** helppage|help<br />
** sitesupport-url|sitesupport<br />
** socr:searching|Keyword Search</div>WikiSysophttp://wiki.stat.ucla.edu/socr/index.php/MediaWiki:SidebarMediaWiki:Sidebar2007-03-13T15:20:17Z<p>WikiSysop: </p>
<hr />
<div>* navigation<br />
** mainpage|mainpage<br />
** portal-url|portal<br />
** currentevents-url|currentevents<br />
** recentchanges-url|recentchanges<br />
** randompage-url|randompage<br />
** helppage|help<br />
** sitesupport-url|sitesupport<br />
** socr:searching|'Keyword Search'</div>WikiSysophttp://wiki.stat.ucla.edu/socr/index.php/MediaWiki:SidebarMediaWiki:Sidebar2007-03-13T15:20:01Z<p>WikiSysop: </p>
<hr />
<div>* navigation<br />
** mainpage|mainpage<br />
** portal-url|portal<br />
** currentevents-url|currentevents<br />
** recentchanges-url|recentchanges<br />
** randompage-url|randompage<br />
** helppage|help<br />
** sitesupport-url|sitesupport<br />
** socr:searching|"Keyword Search"</div>WikiSysophttp://wiki.stat.ucla.edu/socr/index.php/MediaWiki:SidebarMediaWiki:Sidebar2007-03-13T15:18:32Z<p>WikiSysop: </p>
<hr />
<div>* navigation<br />
** mainpage|mainpage<br />
** portal-url|portal<br />
** currentevents-url|currentevents<br />
** recentchanges-url|recentchanges<br />
** randompage-url|randompage<br />
** helppage|help<br />
** sitesupport-url|sitesupport<br />
** socr:searching|searching</div>WikiSysophttp://wiki.stat.ucla.edu/socr/index.php/MediaWiki:SidebarMediaWiki:Sidebar2007-03-13T15:16:00Z<p>WikiSysop: </p>
<hr />
<div>* navigation<br />
** mainpage|mainpage<br />
** portal-url|portal<br />
** currentevents-url|currentevents<br />
** recentchanges-url|recentchanges<br />
** randompage-url|randompage<br />
** helppage|help<br />
** sitesupport-url|sitesupport<br />
** searching|searching</div>WikiSysophttp://wiki.stat.ucla.edu/socr/index.php/MediaWiki:SidebarMediaWiki:Sidebar2007-03-13T15:15:31Z<p>WikiSysop: </p>
<hr />
<div>* navigation<br />
** mainpage|mainpage<br />
** portal-url|portal<br />
** currentevents-url|currentevents<br />
** recentchanges-url|recentchanges<br />
** randompage-url|randompage<br />
** helppage|help<br />
** sitesupport-url|sitesupport<br />
** searching-url|searching</div>WikiSysophttp://wiki.stat.ucla.edu/socr/index.php/Talk:Main_PageTalk:Main Page2006-09-25T21:11:08Z<p>WikiSysop: </p>
<hr />
<div></div>WikiSysophttp://wiki.stat.ucla.edu/socr/index.php/Talk:Main_PageTalk:Main Page2006-09-25T21:10:55Z<p>WikiSysop: </p>
<hr />
<div><math>y=x+2</math></div>WikiSysop