-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
39 lines (30 loc) · 906 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
from StatifyPy.Statify import Statify
import sys
import os
def main():
"""
current_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(current_dir)
"""
test = Statify('Data.csv', ['x', 'y'])
print(Statify.normalpdf(0.9)) # Normal PDF for 0.9 (Mean = 0, std_dev = 1)
'''
test = Statify('Data.csv', ['x', 'y'])
test.datasetSummary()
for value in test.column_values_gen("x"):
print(value)
test.scatterPlot(['x','y'], regression=True)
test.linearRegres(['x','y'], graph=True)
test.scatterPlot(['y','x'])
test.dotPlot()
test.boxPlot(title='Box', label_x='X', label_y='Y')
test.modify(['x'])
test.dotPlot()
test.boxPlot(title='Box', label_x='X', label_y='Y')
test.modify(['x', 'y'])
test.linearRegres(['x', 'y'])
test.modify(['x'])
test.histogram()
'''
if __name__ == "__main__":
main()