{"title":"Analyzing intraday financial data in R: The highfrequency package","authors":"Kris Boudt, Onno Kleen, Emil Sjørup","doi":"10.2139/ssrn.3917548","DOIUrl":"https://doi.org/10.2139/ssrn.3917548","url":null,"abstract":"The highfrequency package for the R programming language provides functionality for pre-processing financial high-frequency data, analyzing intraday stock returns, and forecasting stock market volatility. For academics and practitioners alike, it provides a tool chain required to work with such datasets and to conduct statistical analyses dedicated to spot volatility, jumps, realized measures, and many more. We showcase our implemented routines and models on raw high-frequency data from large US-American stock exchanges.","PeriodicalId":254959,"journal":{"name":"ERN: Computational Techniques (Topic)","volume":"49 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"120860777","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Polynomial Property of Equal Means for Roots and Critical Points","authors":"S. Lipovetsky","doi":"10.2139/ssrn.3895942","DOIUrl":"https://doi.org/10.2139/ssrn.3895942","url":null,"abstract":"There exists a seemingly evident but not explicitly noted property of a polynomial function: a mean value of its roots equals the mean value of the locations of its critical points – those could be the extrema and inflexion points. This note states a theorem on it, and describes some implications useful for educational and practical purposes. The relation of equity between the averaged locations of the roots and of the extrema reveals to students a beauty of polynomial features and gives a better understanding of power of calculus evaluations.","PeriodicalId":254959,"journal":{"name":"ERN: Computational Techniques (Topic)","volume":"7 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-07-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126209826","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"A Generalized Endogenous Grid Method for Default Risk Models","authors":"Youngsoo Jang, Soyoung Lee","doi":"10.2139/ssrn.3442070","DOIUrl":"https://doi.org/10.2139/ssrn.3442070","url":null,"abstract":"Default risk models have been widely employed to assess the ability of households and sovereigns to insure themselves against shocks. Grid search has often been used to solve these models because the complexity of the problem prevents the use of faster but less general methods. In this paper, we propose an extension of the endogenous grid method for default risk models, which is faster and more accurate than grid search. In particular, we find that our solution method leads to a more accurate bond price function, thus making substantial differences in the model’s main predictions. When applied to Arellano’s (2008) model, our approach predicts a standard deviation of the interest rate spread one-third lower and defaults 3 to 5 times less frequently than does the conventional approach. On top of that, our method is efficient. It is approximately 4 to 7 times faster than grid search when applied to a canonical model of Arellano (2008) and 19 to 27 times faster than grid search when applied to the richer model of Nakajima and Rıos-Rull (2014). Finally, we show that our method is applicable to a broad class of default risk models by characterizing sufficient conditions.","PeriodicalId":254959,"journal":{"name":"ERN: Computational Techniques (Topic)","volume":"188 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121096443","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Causal Reinforcement Learning: An Instrumental Variable Approach","authors":"Jin Li, Ye Luo, Xiaowei Zhang","doi":"10.2139/ssrn.3792824","DOIUrl":"https://doi.org/10.2139/ssrn.3792824","url":null,"abstract":"In the standard data analysis framework, data is first collected (once for all), and then data analysis is carried out. Moreover, the data-generating process is typically assumed to be exogenous. This approach is natural when the data analyst has no impact on how the data is generated. The advancement of digital technology, however, has facilitated firms to learn from data and make decisions at the same time. As these decisions generate new data, the data analyst---a business manager or an algorithm---also becomes the data generator. In this article, we formulate the problem as a Markov decision process (MDP) and show that the interaction generates a new type of bias---reinforcement bias---that exacerbates the endogeneity problem in static data analysis. When the data are independent and identically distributed, we embed the instrumental variable (IV) approach in the stochastic gradient descent algorithm to correct for the bias. For general MDP problems, we propose a class of IV-based reinforcement learning (RL) algorithms to correct for the bias. We establish asymptotic properties of the algorithms by incorporating them into two-timescale stochastic approximation (SA). Our formulation requires unbounded state space and more importantly, Markovian noise. Therefore, standard techniques in RL and SA literature, which rely on boundedness of the state space and martingale-difference structure of the noise, do not apply. We develop new techniques to establish finite-time risk bounds, finite-time bounds for trajectory stability, and asymptotic distribution of a class of IV-RL algorithms.","PeriodicalId":254959,"journal":{"name":"ERN: Computational Techniques (Topic)","volume":"28 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133665741","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Optimal Allocation of the COVID-19 Stimulus Checks","authors":"Vegard M. Nygaard, Bent E. Sørensen, Fan Wang","doi":"10.2139/ssrn.3691091","DOIUrl":"https://doi.org/10.2139/ssrn.3691091","url":null,"abstract":"Congress spent $250 billion sending checks to individuals in March 2020 to provide economic stimulus. Could the same amount of stimulus have been achieved for less money? Using a life-cycle consumption-saving model with heterogeneous consumers, we calculate the consumption responses to cash transfers for, e.g., couples and singles with different levels of income and number of children. We calculate the aggregate consumption response for all feasible allocations of $250 billion and, using a new algorithm that allows for the ranking of an arbitrarily large number of allocations, we find the optimal allocation under alternative constraints. The optimal policy allocates more toward low-income and younger consumers and can achieve the same stimulus effect at almost half the cost.","PeriodicalId":254959,"journal":{"name":"ERN: Computational Techniques (Topic)","volume":"38 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133569678","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"A Note on the Interpretability of Machine Learning Algorithms","authors":"D. Guégan","doi":"10.2139/ssrn.3764503","DOIUrl":"https://doi.org/10.2139/ssrn.3764503","url":null,"abstract":"We are interested in the analysis of the concept of interpretability associated with a ML algorithm. We distinguish between the \"How\", i.e., how a black box or a very complex algorithm works, and the \"Why\", i.e. why an algorithm produces such a result. These questions appeal to many actors, users, professions, regulators among others. Using a formal standardized framework , we indicate the solutions that exist by specifying which elements of the supply chain are impacted when we provide answers to the previous questions. This presentation, by standardizing the notations, allows to compare the different approaches and to highlight the specificities of each of them: both their objective and their process. The study is not exhaustive and the subject is far from being closed.","PeriodicalId":254959,"journal":{"name":"ERN: Computational Techniques (Topic)","volume":"20 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131319037","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"A Machine Learning Efficient Frontier","authors":"Brian Clark, Zachary Feinstein, Majeed Simaan","doi":"10.2139/ssrn.3541387","DOIUrl":"https://doi.org/10.2139/ssrn.3541387","url":null,"abstract":"Abstract We propose a simple approach to bridge between portfolio theory and machine learning. The outcome is an out-of-sample machine learning efficient frontier based on two assets, high risk and low risk. By rotating between the two assets, we show that the proposed frontier dominates the mean–variance efficient frontier out-of-sample. Our results, therefore, shed important light on the appeal of machine learning into portfolio selection under estimation risk.","PeriodicalId":254959,"journal":{"name":"ERN: Computational Techniques (Topic)","volume":"77 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-05-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124977619","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Chaotic Distribution of Prime Numbers and Digits of π","authors":"M. Berezowski","doi":"10.2139/ssrn.3562793","DOIUrl":"https://doi.org/10.2139/ssrn.3562793","url":null,"abstract":"In the paper the distribution of prime numbers and digits of $pi$ were presented as chaotic.","PeriodicalId":254959,"journal":{"name":"ERN: Computational Techniques (Topic)","volume":"36 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-03-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125181062","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Properties of Some Diophantine Equations","authors":"V. Grechyn","doi":"10.2139/ssrn.3527801","DOIUrl":"https://doi.org/10.2139/ssrn.3527801","url":null,"abstract":"This paper examines the Diophantine equations which consist of the sequential natural numbers raised to the same power, where the first member of the right side of the equation is a natural number higher in 1 than the last member of the left side. The number of members on the right side of the equation is one less than the number of members on the left side. The paper provides solutions in a general form for all such equations in which k is equal or less than 2, and provides a conjecture that there are no solutions for all k greater than 2.","PeriodicalId":254959,"journal":{"name":"ERN: Computational Techniques (Topic)","volume":"112 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-01-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124223396","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Simulated Likelihood Estimators for Discretely Observed Jump-Diffusions","authors":"K. Giesecke, G. Schwenkler","doi":"10.2139/ssrn.2518160","DOIUrl":"https://doi.org/10.2139/ssrn.2518160","url":null,"abstract":"This paper develops an unbiased Monte Carlo approximation to the transition density of a jump-diffusion process with state-dependent drift, volatility, jump intensity, and jump magnitude. The approximation is used to construct a likelihood estimator of the parameters of a jump-diffusion observed at fixed time intervals that need not be short. The estimator is asymptotically unbiased for any sample size. It has the same large-sample asymptotic properties as the true but uncomputable likelihood estimator. Numerical results illustrate its computational advantages.","PeriodicalId":254959,"journal":{"name":"ERN: Computational Techniques (Topic)","volume":"119 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-07-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130449046","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}