Installation Guide

Get started with NARDL-Fourier in just a few minutes. This guide covers all installation methods and system requirements.

System Requirements

NARDL-Fourier requires the following:

Package Minimum Version Purpose
Python 3.9+ Programming language
numpy 1.20+ Numerical computations
pandas 1.3+ Data manipulation
scipy 1.7+ Statistical functions
statsmodels 0.13+ Econometric models
matplotlib 3.4+ Plotting (optional)

Install via pip

The easiest way to install NARDL-Fourier is using pip:

Terminal
pip install nardl-fourier

To install with all optional dependencies (for plotting):

Terminal
pip install nardl-fourier[full]

Install from Source

For the latest development version, install directly from GitHub:

Terminal
# Clone the repository git clone https://github.com/merwanroudane/fnardl.git # Navigate to directory cd fnardl # Install in development mode pip install -e .
💡
Development Installation

Using -e (editable mode) allows you to modify the source code and see changes immediately without reinstalling.

Verify Installation

After installation, verify everything works correctly:

Python
import nardl_fourier # Check version print(nardl_fourier.__version__) # Output: 1.0.0 # Import main classes from nardl_fourier import NARDL, FourierNARDL, BootstrapNARDL print("✓ All imports successful!")
Ready to Go!

You're all set! Head to the NARDL tutorial to start building your first model.

Troubleshooting

Common Issues

ImportError: No module named 'statsmodels'

Install the missing dependency:

Terminal
pip install statsmodels

ModuleNotFoundError: nardl_fourier

Make sure you're using the correct Python environment:

Terminal
# Check which Python is being used which python pip list | grep nardl
⚠️
Virtual Environments

We recommend using a virtual environment (venv, conda) to avoid dependency conflicts with other packages.