Abstract
Due to the structural breaks in time series, estimated current trend of product sales differs between the case where data for the entire span are used and the case where only the most recent data are used. The purpose of this study is to establish the piecewise linear approximation (PLA) as a trend analysis method that accounts for the structural breaks. PLA uses the complete data to simultaneously estimate the breakpoints and the continuously connected trends, immediately before and after the break. Thus, PLA not only ensures the ease of interpretation of the results, but also eliminates the probability of using discretion by uniquely determining the current trend, making the estimated result reliable. The case study demonstrates the proposition that, several products’ sales trends and the necessity of determining an appropriate time span for data analysis, underwent changes at least once. The method’s validity is demonstrated by showing the changes of the sales trends immediately after analyzed store’s renovation. Data collection from the time period immediately prior to a structural break can help identify the factors changing the product sales.
Similar content being viewed by others
Data availability
Not applicable.
Code availability
Not applicable.
References
Ando, T. 2008. Measuring the baseline sales and the promotion effect for incense products: A Bayesian state-space modeling approach. Annals of Institute of Statistical Mathematics 60: 763–780.
Armstrong, J.S., K.C. Green, and A. Graefe. 2015. Golden rule of forecasting: Be conservative. Journal of Business Research 68 (8): 1717–1731.
Bratina, D., and A. Faganel. 2008. Forecasting the primary demand for a beer brand using time series analysis. Organizacija 41 (3): 116–124.
Breur, T. 2011. Data analysis across various media: Data fusion, direct marketing, clickstream data and social media. Journal of Direct, Data and Digital Marketing Practice 13: 95–105.
Cao, H., and P. Folan. 2012. Product life cycle: The evolution of a paradigm and literature review from 1950–2009. Production Planning & Control 23 (8): 641–662.
Chow, G.C. 1960. Tests of equality between sets of coefficients in two linear regressions. Econometrica 28 (3): 591–605.
Dekimpe, M.G., and D.M. Hanssens. 1995. Empirical generalizations about market evolution and stationarity. Marketing Science 14 (3): 109–121.
Green, K.C., and J.S. Armstrong. 2015. Simple versus complex forecasting: The evidence. Journal of Business Research 68 (8): 1678–1685.
Hadad, Y., B. Keren, and G. Gurevich. 2017. Improving demand forecasting using change point analysis. International Journal of Business Forecasting and Marketing Intelligence 3 (2): 130–151.
Karl, T.R., R.W. Knight, and B. Baker. 2000. The record breaking global temperatures of 1997 and 1998: Evidence for an increase in the rate of global warming? Geophysical Research Letters 27 (5): 719–722.
Mahajan, V., S.I. Bretschneider, and J.W. Bradford. 1980. Feedback approaches to modeling structural shifts in market response. Journal of Marketing 44 (1): 71–80.
Maheu, J.M., and T.H. McCurdy. 2000. Identifying bull and bear markets in stock returns. Journal of Business & Economic Statistics 18: 100–112.
Mahmoud, E., R. Gillian, and K.M. Naresh. 1988. Emerging issues in sales forecasting and decision support systems. Journal of the Academy of Marketing Science 16: 47–61.
McNown, R., A. Rogers, and J. Little. 1995. Simplicity and complexity in extrapolation population forecasting models. Mathematical Population Studies 5 (3): 235–257.
Muggeo, V.M.R. 2008. Segmented: An R package to fit regression models with broken-line relationships. R News 8 (1): 20–25.
Park, S., and S. Gupta. 2011. A regime-switching model of cyclical category buying. Marketing Science 30 (3): 469–480.
Pauwels, K., and D.M. Hanssens. 2007. Performance regimes and marketing policy shifts. Marketing Science 26 (3): 293–311.
Perron, P. 2006. Palgrave handbook of econometrics, vol. 1: Econometric theory. In Dealing with structural breaks, ed. K. Patterson and T.C. Mills, 278–352. London: Palgrave Macmillan.
Polli, R.E., and V. Cook. 1969. Validity of the product life cycle. The Journal of Business 42: 385–400.
Sichel, B. 2008. Forecasting demand with point of sales data—A case study of fashion products. Journal of Business Forecasting 27 (4): 15–16.
Silvapulle, M.J., and P.K. Sen. 2004. Constrained statistical inference: Order, inequality, and shape constraints. New York: Wiley.
Suarez, L., N. Hugo, and C.M. Paris. 2020. Understanding Japanese consumer behaviour and cultural relevance of gift giving. African Journal of Hospitality, Tourism and Leisure 9 (1): 1–18.
Tomé, A., and P.M.A. Miranda. 2004. Piecewise linear fitting and trend changing points of climate parameters. Geophysical Research Letters 31 (2): L02207.
Udokporo, C.K. 2021. Product life cycle—Opportunities for digital and sustainable transformation. In Understanding the stages of the product life cycle, ed. A. Petrillo and F. De Felice, 1–9. New York: IntechOpen.
Acknowledgements
The authors especially thank Dr. Yutaka Fukuyama and Ms. Yukari Kobayashi of Tottori Prefectural Government for their great cooperation in the analysis.
Funding
This research was supported by research grants from Tottori University, Japan.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no conflict of interests.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendices
Appendix 1
The piecewise linear function’s objective variable \(y\), explanatory variable \(x\), and \(m\) breaking points \({\psi }_{1},\dots ,{\psi }_{m}\), are given by the following Eq. (1)
where
Appendix 2
This study regards explanatory variable \(x\) as time \(t\) and applies the piecewise linear approximation to time-series data. Suppose the time interval is 7 days, \(T\) is the period, the objective variable \({y}_{t}\) is on sale on the \(t\)-th week, and satisfies the following,
where the error term \({\varepsilon }_{t}\) is independent and identically normally distributed.
Appendix 3
The piecewise linear model’s parameters \(\left(\alpha ,{\beta }_{0},\dots ,{\beta }_{m},{\psi }_{1},\dots ,{\psi }_{m}\right)\) estimated by the least-squares method, minimize the following squares error.
Number of breaks \(m\) in the piecewise linear model is determined based on AIC (Akaike’s Information Criterion), which is given by
where \(L\) is the maximum value of the likelihood function and \(k\) is the number of the model.
Appendix 4
The recent trend is defined by
If \({y}_{t}\) satisfies equation (3), the least-squares estimator is normally distributed. The t value is obtained from Muggeo (2008).
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Moriyama, T., Kuwano, M. & Nakayama, M. A statistical method for estimating piecewise linear sales trends. J Market Anal (2023). https://doi.org/10.1057/s41270-023-00207-9
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1057/s41270-023-00207-9