EconPapers    
Economics at your fingertips  
 

On the analytical properties of category encodings in logistic regression

Guoping Zeng

Communications in Statistics - Theory and Methods, 2023, vol. 52, issue 6, 1870-1887

Abstract: Categorical variables cannot be handled directly by logistic regression. Rather, they must be encoded or converted into continuous variables. Numerous category encodings have been proposed and used in logistic regression. However, these encodings haven’t been studied analytically. In this paper, we study analytical properties of eight commonly used category encodings in logistic regression, namely, one-hot encoding, Weight of Evidence encoding, flag encoding, label encoding, ordinal encoding, count encoding, frequency encoding and target encoding. Numerical examples are provided to demonstrate our analysis.

Date: 2023
References: Add references at CitEc
Citations:

Downloads: (external link)
http://hdl.handle.net/10.1080/03610926.2021.1939382 (text/html)
Access to full text is restricted to subscribers.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:taf:lstaxx:v:52:y:2023:i:6:p:1870-1887

Ordering information: This journal article can be ordered from
http://www.tandfonline.com/pricing/journal/lsta20

DOI: 10.1080/03610926.2021.1939382

Access Statistics for this article

Communications in Statistics - Theory and Methods is currently edited by Debbie Iscoe

More articles in Communications in Statistics - Theory and Methods from Taylor & Francis Journals
Bibliographic data for series maintained by Chris Longhurst ().

 
Page updated 2025-03-20
Handle: RePEc:taf:lstaxx:v:52:y:2023:i:6:p:1870-1887