This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Idea: Make each statistical test its own class with an execute and visualization function | |
# For example: | |
class Students_T(): | |
def execute(dataset, design, predictions, combined_data: CombinedData): | |
# perform statistical test | |
pass | |
def visualize(): | |
# add visualization code | |
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Goal: Provide a more OOP API that enables end-users to have multiple analyses simultaneously | |
# Current V0 API | |
variables = [ | |
{"name": "Var0", "data type": "interval"} | |
{"name": "Var1", "data type": "ratio",}, | |
] | |
experimental_design = { | |
"study type": "observational study", | |
"contributor variables": "Var0", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Declare Variables, Design, Assumptions, and Hypothesis at the time of construction | |
import tea | |
file_path = "./datasets/UScrime.csv" | |
variables = [{ | |
'name': 'Class', | |
'data type': 'ordinal', | |
'categories': ['0', '1', '2'] | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Declare Variables, Design, Assumptions, and Hypothesis at the time of construction | |
import tea | |
file_path = "./datasets/UScrime.csv" | |
variables = [{ | |
'name': 'Class', | |
'data type': 'ordinal', | |
'categories': ['0', '1', '2'] | |
}, | |
{ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.