%%{init: {"theme": "base", "themeVariables": {"fontSize": "24px", "fontFamily": "Arial", "lineColor": "#333"}}}%%
flowchart LR
%% --- Styling Definitions ---
classDef start fill:#FFFACD,stroke:#FF8C00,stroke-width:2px,color:#000
classDef step 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
%% --- Five-Step Process ---
A([Start: Research Question]):::start
B["Step 1: Hypothesize<br/>E(y) = β₀ + β₁x"]:::step
C["Step 2: Estimate<br/>Find b₀, b₁ via Least Squares"]:::step
D["Step 3: Specify Distribution<br/>ε ~ N(0, σ²)"]:::step
E["Step 4: Evaluate Model<br/>Test H₀: β₁ = 0"]:::step
F["Step 5: Use Model<br/>Prediction & Estimation"]:::step
G["Validated Model<br/>Ready for Application"]:::endStyle
%% --- Connections ---
A --> B
B --> C
C --> D
D --> E
E --> F
F --> G
%% --- Visual Polish ---
linkStyle default stroke:#333,stroke-width:2px;