diff --git a/CHANGELOG.md b/CHANGELOG.md index d6bb400..7ab7de3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ #Change Log +##[3.1] - 2016-09-13 +##Changed +- [README.md] line 44: `###[1-sample t-test: testingFtU3.html]` +- [README.md] line 34: `###[Test with bootstrap method: testingFtU2.html]` +- [README.md] line 27: `###[2 sample test: testingFtU.html]` +- [README.md]: updated README.md +- [README.md] line 16: `###[Test with bootstrap method: v2.0+]` +- [README.md] line 11: `###[2 sample test: v1.0+]` +- [subStatDist2.js] line 71: ` output+='Rejection rates:'+d.FtU+'\n\n';` + ## [3.0] - 2016-09-12 ##Added - [subStatDist.js] line 54: ` lk2=f('a','link2'+r9,tDiv.id),lk2.innerHTML='
1-sample t-test',lk2.href='./testingFtU3.html';` diff --git a/README.md b/README.md index ebe64dd..013c99e 100644 --- a/README.md +++ b/README.md @@ -8,25 +8,30 @@ https://github.com/YujiSODE/testingFtU ______ ##Script -###[2 sample test] +###[2 sample test: v1.0+] * testingFtU.html * statDist.js * subStatDist.js -###[Test with bootstrap method] +###[Test with bootstrap method: v2.0+] * testingFtU2.html * statDist2.js * subStatDist2.js +###[1-sample t-test: v3.0+] +* testingFtU3.html +* statDist3.js +* subStatDist3.js + ##How to use -###[2 sample test] +###[2 sample test: testingFtU.html] * **"Sample A" and "Sample B":** sample inputs (available data is csv formatted numerical array). * **"Run" button;** it runs three statistical tests(F-test, t-test, and U-test) with two given sample(Sample A and Sample B), and outputs the test results as the upper probabilities. * **"Clear" button;** it clears the test results by "Run" button. * **"Output as email" button;** it saves the test results by "Run" button as email to given address. -###[Test with bootstrap method] +###[Test with bootstrap method: testingFtU2.html] * **"Sample":** sample input (available data is csv formatted numerical array). * **"Resampling from":** sample input to be resampled in bootstrap method (available data is csv formatted numerical array). * **"Time of simulation";** it sets how many times the sample and resampled data are tested. @@ -36,6 +41,16 @@ ______ * **"Clear" button;** it clears the test results by "Run" button. * **"Output as email" button;** it saves the test results by "Run" button as email to given address. +###[1-sample t-test: testingFtU3.html] +* **"Resampling from"** sample input to be resampled in bootstrap method (available data is csv formatted numerical array). +* **"Given mean";** it is used as predetermined value of mean in the 1-sample t-test. +* **"Resampling size"** sample size to be resampled in bootstrap method. +* **"Time of simulation";** it sets how many times resampled and tested. +* **"Significance level";** it sets a statistical significance level (0-1) in order to test if the null hypothesis (no difference) is rejected. +* **"Run" button;** it runs 1-sample t-test with the given resampled data, and outputs the test results: a rate of the null hypothesis rejection, and details expressed with the upper probabilities. +* **"Clear" button;** it clears the test results by "Run" button. +* **"Output as email" button;** it saves the test results by "Run" button as email to given address. + ##Library list * statDist.js (Yuji SODE,2016): the Artistic License or the GPL v1 or later; https://github.com/YujiSODE/statDist diff --git a/subStatDist2.js b/subStatDist2.js index ddabeee..fd3afc2 100644 --- a/subStatDist2.js +++ b/subStatDist2.js @@ -68,7 +68,7 @@ var B,tDiv,fm,fmR,lbA,ipA,lbB,ipB,lbTSm,ipTSm,lbAlpha,ipAlpha,Btn,TxtALb,txtA,br W.addEventListener('message',function(e){ var output='F-test,t-test,U-test\n',d=e.data,n=d.p.length; t=slf.document.getElementById(txtA.id); - output+=d.FtU+'\n\n'; + output+='Rejection rates:'+d.FtU+'\n\n'; for(var i=0;i