@@ -138,12 +138,15 @@ def feols(
138138
139139 demeaner_backend: DemeanerBackendOptions, optional
140140 The backend to use for demeaning. Options include:
141- - "numba" (default): Fast CPU-based demeaning using Numba JIT
142- - "jax": GPU-accelerated using JAX (requires jax/jaxlib)
143- - "rust": Rust-based implementation
144- - "cupy" or "cupy64": GPU-accelerated using CuPy with float64 precision (requires cupy & GPU, defaults to scipy/CPU if no GPU available)
145- - "cupy32": GPU-accelerated using CuPy with float32 precision (requires cupy & GPU, defaults to scipy/CPU and float64 if no GPU available)
146- - "scipy": Forces to use a scipy-sparse backend even when cupy is installed and GPU is available.
141+ - "numba" (default): CPU-based demeaning using Numba JIT via the Alternating Projections Algorithm.
142+ - "rust": CPU-based demeaning implemented in Rust via the Alternating Projections Algorithm.
143+ - "jax": CPU or GPU-accelerated using JAX (requires jax/jaxlib) via the Alternating Projections Algorithm.
144+ - "cupy" or "cupy64": GPU-accelerated using CuPy with float64 precision via direct application of the Frisch-Waugh-Lovell Theorem on sparse
145+ matrices (requires cupy & GPU, defaults to scipy/CPU if no GPU available)
146+ - "cupy32": GPU-accelerated using CuPy with float32 precision via direct application of the Frisch-Waugh-Lovell Theorem on sparse
147+ matrices (requires cupy & GPU, defaults to scipy/CPU and float64 if no GPU available)
148+ - "scipy": Direct application of the Frisch-Waugh-Lovell Theorem on sparse matrice.
149+ Forces to use a scipy-sparse backend even when cupy is installed and GPU is available.
147150 Defaults to "numba".
148151
149152 use_compression: bool
@@ -616,12 +619,15 @@ def fepois(
616619
617620 demeaner_backend: DemeanerBackendOptions, optional
618621 The backend to use for demeaning. Options include:
619- - "numba" (default): Fast CPU-based demeaning using Numba JIT
620- - "jax": GPU-accelerated using JAX (requires jax/jaxlib)
621- - "rust": Rust-based implementation
622- - "cupy" or "cupy64": GPU-accelerated using CuPy with float64 precision (requires cupy & GPU, defaults to scipy/CPU if no GPU available)
623- - "cupy32": GPU-accelerated using CuPy with float32 precision (requires cupy & GPU, defaults to scipy/CPU and float64 if no GPU available)
624- - "scipy": Forces to use a scipy-sparse backend even when cupy is installed and GPU is available.
622+ - "numba" (default): CPU-based demeaning using Numba JIT via the Alternating Projections Algorithm.
623+ - "rust": CPU-based demeaning implemented in Rust via the Alternating Projections Algorithm.
624+ - "jax": CPU or GPU-accelerated using JAX (requires jax/jaxlib) via the Alternating Projections Algorithm.
625+ - "cupy" or "cupy64": GPU-accelerated using CuPy with float64 precision via direct application of the Frisch-Waugh-Lovell Theorem on sparse
626+ matrices (requires cupy & GPU, defaults to scipy/CPU if no GPU available)
627+ - "cupy32": GPU-accelerated using CuPy with float32 precision via direct application of the Frisch-Waugh-Lovell Theorem on sparse
628+ matrices (requires cupy & GPU, defaults to scipy/CPU and float64 if no GPU available)
629+ - "scipy": Direct application of the Frisch-Waugh-Lovell Theorem on sparse matrice.
630+ Forces to use a scipy-sparse backend even when cupy is installed and GPU is available.
625631 Defaults to "numba".
626632
627633 drop_intercept : bool, optional
0 commit comments