Trex
Get started
Methods & examples
API reference
Performance
gmm.rho_exponential
Econometric models in PyTorch
Getting started
Installation and reproducibility
A complete first fit
Choosing an estimator
Devices, precision and inference
Regression & moments
Weighted regression and fixed effects
Binary and count likelihoods
Instrumental variables and GMM
Generalized empirical likelihood
Conditional moments: kernels and sieves
Learning a robust regression score
Discrete choice
Static discrete choice
Dynamic choice: NFXP and CCP inversion
Panel models
Synthetic control and synthetic difference-in-differences
Nuclear-norm matrix completion
Latent-factor generalized linear models
K-nearest-neighbor grouped fixed effects
Simulation
Tabular generators: WGAN, PTGAN, and diffusion
Language-model row generators
API reference
CPU, Metal and CUDA performance
References and further reading
Development and documentation
gmm.rho_exponential
Guide & worked example
·
Source
gmm.rho_exponential(v)
Exponential tilting (ET): rho(v) = 1 - exp(v)