flowchart TD
%% Styling definitions
classDef start fill:#FFFACD,stroke:#FF8C00,stroke-width:2px,color:#000
classDef decision fill:#E6F3FF,stroke:#1E88E5,stroke-width:2px,color:#000
classDef action fill:#E8F5E9,stroke:#43A047,stroke-width:2px,color:#000
classDef endStyle fill:#FFEBEE,stroke:#E53935,stroke-width:2px,color:#000
%% Nodes
A([Start]):::start
B{σ known?}:::decision
C{n ≥ 30?}:::decision
D{Normal?}:::decision
E[Use z-test]:::action
F[Use t-test]:::action
G[Use t-test]:::action
H[Non-parametric test]:::endStyle
%% Flow connections
A --> B
B -->|Yes| E
B -->|No| C
C -->|Yes| F
C -->|No| D
D -->|Yes| G
D -->|No| H