Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample results #1

Open
YujiSODE opened this issue Jan 10, 2018 · 2 comments
Open

Sample results #1

YujiSODE opened this issue Jan 10, 2018 · 2 comments

Comments

@YujiSODE
Copy link
Owner

YujiSODE commented Jan 10, 2018

sample scripts

Repository owner locked and limited conversation to collaborators Jan 10, 2018
@YujiSODE
Copy link
Owner Author

YujiSODE commented Jan 10, 2018

Random numbers between [0,1)

Script

#10 sets of 1000 random variables
source randFreq.tcl;
source randomProc.tcl;
set L [rands 10 1000];
::randFreq::outputFreq $L ,;
#=== frequency class range ===
#between 0.0 and 1.0 with step 0.01

randomProc.tcl

Output file: 1515389994dataFreq.txt

10_datasets
variables,averages,standard_deviations
0.0000,10.3,3.529242915351047
0.0100,10.0,4.109609335312651
0.0200,11.4,2.716206504995115
...
0.9800,10.1,2.6436506745197805
0.9900,8.9,3.0349812373573433
1.0000,0.0,0.0

Output results shown in a graph

1515389994datafreq_graph01

@YujiSODE
Copy link
Owner Author

YujiSODE commented Jan 14, 2018

Standard Normal random numbers between -4 and 4

Script

#10 sets of 1000 random variables
source randFreq.tcl;
#reading csv file:"dataSample_Normal.csv"
set L [::randFreq::loadFile ./dataSample_Normal.csv , utf-8];
::randFreq::outputFreq $L ,;
#=== frequency class range ===
#between -4.0 and 4.0 with step 0.1

dataSample_Normal.csv

Output file: 1515918006dataFreq.txt

10_datasets
variables,averages,standard_deviations
-4.0000,0.0,0.0
-3.9000,0.0,0.0
-3.8000,0.1,0.31622776601683794
...
3.5000,0.1,0.31622776601683794
3.6000,0.1,0.31622776601683794
3.7000,0.1,0.31622776601683794
3.8000,0.0,0.0
3.9000,0.0,0.0
4.0000,0.0,0.0

Output results shown in a graph

1515918006datafreq

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant