This README explains the installation and setup steps for the Statistical Analyzer, a tool for statistical analysis of Excel/CSV data with a graphical user interface.
- Python 3.7 or higher
- Required Python packages:
- numpy
- pandas
- matplotlib
- seaborn
- scipy
- statsmodels
- xlsxwriter
- PyQt5
- scikit_posthocs
- pingouin
pip install numpy pandas matplotlib seaborn scipy statsmodels xlsxwriter PyQt5 scikit_posthocs pingouin
The following files must be present in the project directory:
statistical_analyzer.py
→ Main program with UIstats_functions.py
→ Statistical functions and helper functionsStyleSheet.qss
→ CSS style for the user interfaceInstitutslogo.ico
→ (optional) Icon for the executable file
To run the program directly:
python statistical_analyzer.py
-
Install PyInstaller:
pip install pyinstaller
-
The spec file (StatisticalAnalyzer.spec) should already contain all necessary settings:
- Paths to required files
- Definition of hidden imports
- Icon setting
-
Create executable file:
pyinstaller StatisticalAnalyzer.spec
-
After successful creation, the executable file will be in the dist folder.
The Statistical Analyzer supports the analysis of dependent samples. When activating the "Show individual connection lines" option, the following visualizations are created:
- A line graph showing the individual connections between measurements of the same subject
- The lines connect measured values that belong to the same subject
- This option is particularly useful for visualizing individual changes across different conditions or time points
- Add missing modules to the hiddenimports list in the spec file
- Ensure all groups have the same number of measurements
- The measurements must be in the same order (1st measurement of group A corresponds to 1st measurement of group B)
For problems or questions, please contact the developer.