Speaking Stata: Some notes on quadratic fits

Quadratic fits are often used in regression and other modeling projects as either the whole of a model or part of a larger model. In this column, I discuss various small Stata devices that may help, including the twoway qfit command, calculation of the turning point position from coefficient estimates, and plotting the fitted curve over a wider range. The main principles carry over from regression to various more complicated models such as generalized linear models. A specific example is the model known in statistical ecology as Gaussian logit, which is just a logit regression fitting a unimodal bell-like curve to a proportion as a quadratic function of some controlling variable. The column includes commentary on wider historical, scientific, and statistical aspects of quadratic fits, with some remarks on their limitations and alternatives.

Authors

Institutions

Publication Details

Journal
The Stata Journal Promoting communications on statistics and Stata
Published
2025-12-01
DOI
https://doi.org/10.1177/1536867x251398616
Primary Topic
Probability and Statistical Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Speaking Stata: Some notes on quadratic fits

Nicholas J. Cox
The Stata Journal Promoting communications on statistics and Stata
Probability and Statistical Research
article

Speaking Stata: Some notes on quadratic fits

Nicholas J. Cox
article en

Abstract

Quadratic fits are often used in regression and other modeling projects as either the whole of a model or part of a larger model. In this column, I discuss various small Stata devices that may help, including the twoway qfit command, calculation of the turning point position from coefficient estimates, and plotting the fitted curve over a wider range. The main principles carry over from regression to various more complicated models such as generalized linear models. A specific example is the model known in statistical ecology as Gaussian logit, which is just a logit regression fitting a unimodal bell-like curve to a proportion as a quadratic function of some controlling variable. The column includes commentary on wider historical, scientific, and statistical aspects of quadratic fits, with some remarks on their limitations and alternatives.

The Stata Journal Promoting communications on statistics and StataVol. 25(4)
Durham University (GB)
Openalex Percentile: Top 65%
Probability and Statistical Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.