EconPapers    
Economics at your fingertips  
 

Neighbor Weighting and Distance Metrics in Nearest Neighbor Nowcasting of Swedish GDP

Kristian Jönsson ()
Additional contact information
Kristian Jönsson: Sveriges Riksbank

Journal of Quantitative Economics, 2024, vol. 22, issue 4, No 12, 1077-1089

Abstract: Abstract Forecasting and nowcasting of economic activity can be of great importance in many settings. Business tendency survey data, when employed in a nearest neighbor (NN) algorithm, can produce nowcasts of Swedish GDP that compare well, in terms of predictive performance, to the often-used linear indicator models. The current article probes deeper into the choices available when implementing the nearest neighbor algorithm for nowcasting Swedish GDP and traces out the possible effects on nowcasting accuracy. The dimensions explored include the number of neighbors used for producing the nowcasts, the distance metric employed and distance-weighting of neighbors. The main results indicate the so-called Manhattan distance, or $$L_1$$ L 1 norm, together with equal weighting of 4 or 5 neighbors, could improve nowcasting accuracy for Swedish GDP compared to a setting where a different number of neighbors is used, the $$L_2$$ L 2 or $$L_\infty$$ L ∞ norms are employed and/or distance-based weighting of neighbors is applied.

Keywords: Machine learning; Artificial intelligence; Nearest neighbors; Distance metric; Nowcasting; Forecasting; Economic tendency survey; GDP (search for similar items in EconPapers)
JEL-codes: C53 E27 (search for similar items in EconPapers)
Date: 2024
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
http://link.springer.com/10.1007/s40953-024-00400-2 Abstract (text/html)
Access to the full text of the articles in this series is restricted.

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:spr:jqecon:v:22:y:2024:i:4:d:10.1007_s40953-024-00400-2

Ordering information: This journal article can be ordered from
http://www.springer.com/economics/journal/40953

DOI: 10.1007/s40953-024-00400-2

Access Statistics for this article

Journal of Quantitative Economics is currently edited by Dilip Nachane and P.G. Babu

More articles in Journal of Quantitative Economics from Springer, The Indian Econometric Society (TIES) Contact information at EDIRC.
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().

 
Page updated 2025-03-20
Handle: RePEc:spr:jqecon:v:22:y:2024:i:4:d:10.1007_s40953-024-00400-2