EconPapers    
Economics at your fingertips  
 

A runs test for stock-market prices with an unobserved trend

Nils Herger

The North American Journal of Economics and Finance, 2025, vol. 80, issue C

Abstract: To test whether stock-market prices follow a random walk, the algebraic signs of their returns have been analyzed like a sequence of coin tosses. Similar to coin tosses, which represent Bernoulli trials with equiprobable outcomes, signed returns lend themselves for a simple runs test for randomness. However, stock-market prices typically comprise an unobserved trend implying that even under pure randomness positive and negative returns are not necessarily equally probable. Therefore, it is difficult to infer the behavior of stock-market prices from the traditional runs test. Fortunately, the von Neumann algorithm allows to transform tosses of a potentially unfair coin, meaning that it could suffer from an unknown bias, into equiprobable outcomes. This is done by tossing the coin twice and retaining only the first observation when different outcomes arise. Applying the same “trick” to pairs across a sequence of signed stock-market returns paves the way for a runs test that is robust to the effects of constant, unobserved trends.

Keywords: Coin tossing; Random walk; Runs test; Stock-market prices; Von Neumann algorithm (search for similar items in EconPapers)
JEL-codes: C14 G12 G14 (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:

Downloads: (external link)
http://www.sciencedirect.com/science/article/pii/S1062940825001093
Full text for ScienceDirect subscribers only

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:eee:ecofin:v:80:y:2025:i:c:s1062940825001093

DOI: 10.1016/j.najef.2025.102469

Access Statistics for this article

The North American Journal of Economics and Finance is currently edited by Hamid Beladi

More articles in The North American Journal of Economics and Finance from Elsevier
Bibliographic data for series maintained by Catherine Liu ().

 
Page updated 2025-09-09
Handle: RePEc:eee:ecofin:v:80:y:2025:i:c:s1062940825001093