{"id":146623,"date":"2022-07-06T12:00:28","date_gmt":"2022-07-06T16:00:28","guid":{"rendered":"https:\/\/ibkrcampus.com\/?p=146623"},"modified":"2024-08-13T16:09:51","modified_gmt":"2024-08-13T20:09:51","slug":"the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i","status":"publish","type":"post","link":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\/","title":{"rendered":"The Exotic Flavours of Regression in Finance &#8211; A First Glance &#8211; Part I"},"content":{"rendered":"\n<p>Regression is a technique to unearth the relationship between dependent and independent variables. It is routinely seen in machine learning and used mainly for predictive modelling. In the final installment of this series, we expand our scope to cover other types of regression analysis and their uses in finance.<\/p>\n\n\n\n<p>We explore:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Linear regression<\/li><li>Simple linear regression<\/li><li>Multiple linear regression<\/li><li>Polynomial regression<\/li><li>Logistic regression<\/li><li>Quantile regression<\/li><li>Ridge regression<\/li><li>Lasso regression<\/li><li>Comparison between Ridge regression and Lasso regression<\/li><li>Elastic net regression<\/li><li>Least angle regression<\/li><li>Comparison between Multiple Linear regression and PCA<\/li><li>Comparison between Ridge regression and PCA<\/li><li>Principal components regression<\/li><li>Decision trees regression<\/li><li>Random forest regression<\/li><li>Support vector regression<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Previously we have covered the linear regression in great detail. We explored how&nbsp;<a href=\"https:\/\/blog.quantinsti.com\/linear-regression\/\">linear regression analysis can be used in finance<\/a>, &nbsp;<a href=\"https:\/\/blog.quantinsti.com\/linear-regression-market-data-python-r\/\">applied it to financial data<\/a>, and looked at its&nbsp;<a href=\"https:\/\/blog.quantinsti.com\/linear-regression-assumptions-limitations\/\">assumptions and limitations<\/a>. Be sure to give them a read.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"linear-regression\">Linear regression<\/h2>\n\n\n\n<p>We have covered linear regression in detail in the preceding blogs in this series. We present a capsule version of it here before moving on to the newer stuff. You can skip this section if you\u2019ve spent sufficient time with it earlier.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"simple-linear-regression\">Simple linear regression<\/h3>\n\n\n\n<p>Simple linear regression allows us to study the relationships between two continuous variables- an independent variable and a dependent variable.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"720\" height=\"591\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/linear-regression_1.png\" alt=\"\" class=\"wp-image-146632 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/linear-regression_1.png 720w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/linear-regression_1-700x575.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/linear-regression_1-300x246.png 300w\" data-sizes=\"(max-width: 720px) 100vw, 720px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 720px; aspect-ratio: 720\/591;\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><em>Linear regression:&nbsp;<a href=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/b\/be\/Normdist_regression.png\" target=\"_blank\" rel=\"noreferrer noopener\">Source<\/a>: <a href=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/b\/be\/Normdist_regression.png\" rel=\"sponsored nofollow\">https:\/\/upload.wikimedia.org\/wikipedia\/commons\/b\/be\/Normdist_regression.png<\/a><\/em><\/p>\n\n\n\n<p>The generic form of the simple linear regression equation is as follows:<\/p>\n\n\n\n<p>y<sub>i<\/sub> = \u03b2<sub>0<\/sub> + \u03b2<sub>1<\/sub>X<sub>i<\/sub> + \u03f5<sub>i<\/sub>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8211; (1)<\/p>\n\n\n\n<p>where&nbsp;\u03b2<sub>0<\/sub>&nbsp;is the intercept,&nbsp;\u03b2<sub>1<\/sub>&nbsp;is the slope, and&nbsp;\u03f5<sub>i<\/sub>&nbsp;is the error term. In this equation, \u2018y\u2019 is the dependent variable, and \u2018X\u2019 is the independent variable. The error term captures all the other factors that influence the dependent variable other than the regressors.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"multiple-linear-regression\">Multiple linear regression<\/h3>\n\n\n\n<p>We study the linear relationships between more than two variables in multiple linear regression. Here more than one independent variable is used to predict the dependent variable.<\/p>\n\n\n\n<p>The equation for&nbsp;<a href=\"https:\/\/blog.quantinsti.com\/linear-regression\/\">multiple linear regression<\/a>&nbsp;can be written as:<\/p>\n\n\n\n<p>y<sub>i<\/sub> = \u03b2<sub>0<\/sub> + \u03b2<sub>1<\/sub>X<sub>i1<\/sub> + \u03b2<sub>2<\/sub>X<sub>i2<\/sub> + \u03b2<sub>3<\/sub>X<sub>i3<\/sub> + \u03f5<sub>i<\/sub>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -(2)<\/p>\n\n\n\n<p>where,&nbsp;\u03b2<sub>0<\/sub>,&nbsp;\u03b2<sub>1<\/sub>,&nbsp;\u03b2<sub>2<\/sub>&nbsp;and&nbsp;\u03b2<sub>3<\/sub>&nbsp;are the model parameters, and&nbsp;\u03f5<sub>i<\/sub>&nbsp;is the error term.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"polynomial-regression\">Polynomial regression<\/h2>\n\n\n\n<p>Linear regression works well for modelling linear relationships between the dependent and independent variables. But what if the relationship is non-linear?<\/p>\n\n\n\n<p>In such cases, we can add polynomial terms to the linear regression equation to make it model the data better. This is called polynomial regression. Since the model is linear in parameters, it\u2019s still, strictly speaking, linear regression.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"720\" height=\"360\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/machine-learning-polynomial-regression.png\" alt=\"\" class=\"wp-image-146639 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/machine-learning-polynomial-regression.png 720w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/machine-learning-polynomial-regression-700x350.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/machine-learning-polynomial-regression-300x150.png 300w\" data-sizes=\"(max-width: 720px) 100vw, 720px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 720px; aspect-ratio: 720\/360;\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><em>Linear vs Polynomial regression:&nbsp;<a href=\"https:\/\/static.javatpoint.com\/tutorial\/machine-learning\/images\/machine-learning-polynomial-regression.png\" target=\"_blank\" rel=\"noreferrer noopener\">Source<\/a>:<br><a href=\"https:\/\/static.javatpoint.com\/tutorial\/machine-learning\/images\/machine-learning-polynomial-regression.png\">https:\/\/static.javatpoint.com\/tutorial\/machine-learning\/images\/machine-learning-polynomial-regression.png<\/a>.<\/em><\/p>\n\n\n\n<p>Using polynomial regression, we can model the relationship between the independent and dependent variables in the form of a polynomial equation.<\/p>\n\n\n\n<p>The equation for a&nbsp;kth&nbsp;order polynomial can be written as:<\/p>\n\n\n\n<p>y<sub>i<\/sub> = \u03b2<sub>0<\/sub> + \u03b2<sub>1<\/sub>X<sub>i<\/sub> + \u03b2<sub>2<\/sub>X<sub>i2<\/sub> + \u03b2<sub>3<\/sub>X<sub>i3<\/sub> + \u03b2<sub>4<\/sub>X<sub>i4<\/sub> + &#8230;.. + \u03b2<sub>k<\/sub>X<sub>i<\/sub><sub>k<\/sub> + \u03f5<sub>i<\/sub>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -(3)<\/p>\n\n\n\n<p>Choosing the polynomial order is crucial, as a higher degree polynomial could overfit the data. So we try to keep the order of the polynomial model as low as possible.<\/p>\n\n\n\n<p>There are two approaches to choosing the order of the model:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Forward selection procedure,<\/strong>&nbsp;where we successively fit models in increasing order and test the significance of the coefficients at each iteration till the t-test for the highest order term is not significant.<\/li><li><strong>Backward elimination procedure,<\/strong>&nbsp;where we start with the highest order polynomial and successively decrease the order in each iteration till the highest order term has a &nbsp;significant t-statistic.<\/li><\/ul>\n\n\n\n<p>The most commonly used polynomial regression models are the first- and second-order polynomials.<\/p>\n\n\n\n<p>Polynomial regression is more suited when we have a large number of observations. However, it is sensitive to the presence of outliers.<\/p>\n\n\n\n<p>The polynomial regression model can be used for the prediction of non-linear data like the stock prices. You can read more about polynomial regression and its use in predicting stock prices&nbsp;<a href=\"https:\/\/blog.quantinsti.com\/polynomial-regression-adding-non-linearity-to-a-linear-model\/\">here<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"logistic-regression\">Logistic regression<\/h2>\n\n\n\n<p>This is also known as the logit regression. Logistic regression is an analytical method to predict the binary outcome of an occurrence based on past data.<\/p>\n\n\n\n<p>When the dependent variable is qualitative and takes binary values, it is called a dichotomous variable.<\/p>\n\n\n\n<p>If we use linear regression for predicting such a variable, it will produce values outside the range of 0 to 1. Also, since a dichotomous variable can take on only two values, the residuals will not be normally distributed about the predicted line.<\/p>\n\n\n\n<p>Logistic regression is a non-linear model that produces a logistic curve where the values are limited to 0 and 1.<\/p>\n\n\n\n<p>This probability is compared to a threshold value of 0.5 to decide the final classification of the data into one class. So if the probability for a class is more than 0.5, it is labeled as 1, else 0.<\/p>\n\n\n\n<p>One of the use cases of logistic regression in finance is that it can be used to&nbsp;<a href=\"https:\/\/ieeexplore.ieee.org\/document\/8328543\" target=\"_blank\" rel=\"noreferrer noopener\">predict the performance of stocks<\/a>.<\/p>\n\n\n\n<p>You can read more about logistic regression along with Python code on how to use it to predict stock movement on this&nbsp;<a href=\"https:\/\/blog.quantinsti.com\/machine-learning-logistic-regression-python\/\">blog<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"720\" height=\"359\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Logistic-regression.png\" alt=\"\" class=\"wp-image-146643 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Logistic-regression.png 720w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Logistic-regression-700x349.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2022\/07\/Logistic-regression-300x150.png 300w\" data-sizes=\"(max-width: 720px) 100vw, 720px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 720px; aspect-ratio: 720\/359;\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><em>Logistic regression:&nbsp;<a href=\"https:\/\/www.saedsayad.com\/logistic_regression.htm\" target=\"_blank\" rel=\"noreferrer noopener\">Source<\/a>:<br><a href=\"https:\/\/www.saedsayad.com\/logistic_regression.htm\">https:\/\/www.saedsayad.com\/logistic_regression.htm<\/a>.<\/em><\/p>\n\n\n\n<p class=\"has-text-align-center\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"references\">References<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>Econometrics by example &#8211; Damodar Gujarati<\/li><li>The basics of financial econometrics &#8211; Frank J. Fabozzi, Sergio M. Focardi, Svetlozar T. Rachev, Bala G. Arshanapalli<\/li><li>Econometric Data Science &#8211; Francis X. Diebold<\/li><li>An Introduction to Statistical Learning &#8211; Gareth James, Daniela Witten, Trevor Hastie, Robert Tibshirani<\/li><\/ol>\n\n\n\n<p><em>Stay tuned for the next installment in which Vivek Krishnamoorthy and Udisha Alok will discuss Quantile regression<\/em>.<\/p>\n\n\n\n<p><em>Visit QuantInsti for additional insight on this topic: <a href=\"https:\/\/blog.quantinsti.com\/types-regression-finance\/\">https:\/\/blog.quantinsti.com\/types-regression-finance\/<\/a><\/em>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Regression is a technique to unearth the relationship between dependent and independent variables. It is routinely seen in machine learning and used mainly for predictive modelling.<\/p>\n","protected":false},"author":186,"featured_media":38256,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":true,"footnotes":""},"categories":[339,338,350,341,344],"tags":[4922,1006,4404,4405,12203,12202],"contributors-categories":[13654],"class_list":{"0":"post-146623","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-data-science","8":"category-ibkr-quant-news","9":"category-quant-asia-pacific","10":"category-quant-development","11":"category-quant-regions","12":"tag-econometrics","13":"tag-fintech","14":"tag-linear-regression","15":"tag-logistic-regression","16":"tag-polynomial-regression","17":"tag-regression-in-finance","18":"contributors-categories-quantinsti"},"pp_statuses_selecting_workflow":false,"pp_workflow_action":"current","pp_status_selection":"publish","acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.9 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>The Exotic Flavours of Regression in Finance &#8211; A First Glance &#8211; Part I<\/title>\n<meta name=\"description\" content=\"Regression is a technique to unearth the relationship between dependent and independent variables. It is routinely seen in machine learning and used...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/146623\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Exotic Flavours of Regression in Finance - A First Glance - Part I | IBKR Quant Blog\" \/>\n<meta property=\"og:description\" content=\"Regression is a technique to unearth the relationship between dependent and independent variables. It is routinely seen in machine learning and used mainly for predictive modelling.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\/\" \/>\n<meta property=\"og:site_name\" content=\"IBKR Campus US\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-06T16:00:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-13T20:09:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/03\/digital-code-abstract.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"538\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Contributor Author\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Contributor Author\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\n\t    \"@context\": \"https:\\\/\\\/schema.org\",\n\t    \"@graph\": [\n\t        {\n\t            \"@type\": \"NewsArticle\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\\\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\\\/\"\n\t            },\n\t            \"author\": {\n\t                \"name\": \"Contributor Author\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/e823e46b42ca381080387e794318a485\"\n\t            },\n\t            \"headline\": \"The Exotic Flavours of Regression in Finance &#8211; A First Glance &#8211; Part I\",\n\t            \"datePublished\": \"2022-07-06T16:00:28+00:00\",\n\t            \"dateModified\": \"2024-08-13T20:09:51+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\\\/\"\n\t            },\n\t            \"wordCount\": 986,\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2020\\\/03\\\/digital-code-abstract.jpg\",\n\t            \"keywords\": [\n\t                \"Econometrics\",\n\t                \"fintech\",\n\t                \"Linear Regression\",\n\t                \"Logistic Regression\",\n\t                \"Polynomial regression\",\n\t                \"Regression in Finance\"\n\t            ],\n\t            \"articleSection\": [\n\t                \"Data Science\",\n\t                \"Quant\",\n\t                \"Quant Asia Pacific\",\n\t                \"Quant Development\",\n\t                \"Quant Regions\"\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"WebPage\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\\\/\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\\\/\",\n\t            \"name\": \"The Exotic Flavours of Regression in Finance - A First Glance - Part I | IBKR Quant Blog\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\"\n\t            },\n\t            \"primaryImageOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\\\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2020\\\/03\\\/digital-code-abstract.jpg\",\n\t            \"datePublished\": \"2022-07-06T16:00:28+00:00\",\n\t            \"dateModified\": \"2024-08-13T20:09:51+00:00\",\n\t            \"description\": \"Regression is a technique to unearth the relationship between dependent and independent variables. It is routinely seen in machine learning and used mainly for predictive modelling.\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"ReadAction\",\n\t                    \"target\": [\n\t                        \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\\\/\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"ImageObject\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\\\/#primaryimage\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2020\\\/03\\\/digital-code-abstract.jpg\",\n\t            \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2020\\\/03\\\/digital-code-abstract.jpg\",\n\t            \"width\": 900,\n\t            \"height\": 538,\n\t            \"caption\": \"Quant\"\n\t        },\n\t        {\n\t            \"@type\": \"WebSite\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"name\": \"IBKR Campus US\",\n\t            \"description\": \"Financial Education from Interactive Brokers\",\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"SearchAction\",\n\t                    \"target\": {\n\t                        \"@type\": \"EntryPoint\",\n\t                        \"urlTemplate\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/?s={search_term_string}\"\n\t                    },\n\t                    \"query-input\": {\n\t                        \"@type\": \"PropertyValueSpecification\",\n\t                        \"valueRequired\": true,\n\t                        \"valueName\": \"search_term_string\"\n\t                    }\n\t                }\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"Organization\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\",\n\t            \"name\": \"Interactive Brokers\",\n\t            \"alternateName\": \"IBKR\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"logo\": {\n\t                \"@type\": \"ImageObject\",\n\t                \"inLanguage\": \"en-US\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\",\n\t                \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"width\": 669,\n\t                \"height\": 669,\n\t                \"caption\": \"Interactive Brokers\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\"\n\t            },\n\t            \"publishingPrinciples\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/about-ibkr-campus\\\/\",\n\t            \"ethicsPolicy\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/cyber-security-notice\\\/\"\n\t        },\n\t        {\n\t            \"@type\": \"Person\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/e823e46b42ca381080387e794318a485\",\n\t            \"name\": \"Contributor Author\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/author\\\/contributor-author\\\/\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"The Exotic Flavours of Regression in Finance &#8211; A First Glance &#8211; Part I","description":"Regression is a technique to unearth the relationship between dependent and independent variables. It is routinely seen in machine learning and used...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/146623\/","og_locale":"en_US","og_type":"article","og_title":"The Exotic Flavours of Regression in Finance - A First Glance - Part I | IBKR Quant Blog","og_description":"Regression is a technique to unearth the relationship between dependent and independent variables. It is routinely seen in machine learning and used mainly for predictive modelling.","og_url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\/","og_site_name":"IBKR Campus US","article_published_time":"2022-07-06T16:00:28+00:00","article_modified_time":"2024-08-13T20:09:51+00:00","og_image":[{"width":900,"height":538,"url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/03\/digital-code-abstract.jpg","type":"image\/jpeg"}],"author":"Contributor Author","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Contributor Author","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\/#article","isPartOf":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\/"},"author":{"name":"Contributor Author","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/e823e46b42ca381080387e794318a485"},"headline":"The Exotic Flavours of Regression in Finance &#8211; A First Glance &#8211; Part I","datePublished":"2022-07-06T16:00:28+00:00","dateModified":"2024-08-13T20:09:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\/"},"wordCount":986,"publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/03\/digital-code-abstract.jpg","keywords":["Econometrics","fintech","Linear Regression","Logistic Regression","Polynomial regression","Regression in Finance"],"articleSection":["Data Science","Quant","Quant Asia Pacific","Quant Development","Quant Regions"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\/","url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\/","name":"The Exotic Flavours of Regression in Finance - A First Glance - Part I | IBKR Quant Blog","isPartOf":{"@id":"https:\/\/ibkrcampus.com\/campus\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\/#primaryimage"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/03\/digital-code-abstract.jpg","datePublished":"2022-07-06T16:00:28+00:00","dateModified":"2024-08-13T20:09:51+00:00","description":"Regression is a technique to unearth the relationship between dependent and independent variables. It is routinely seen in machine learning and used mainly for predictive modelling.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/the-exotic-flavours-of-regression-in-finance-a-first-glance-part-i\/#primaryimage","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/03\/digital-code-abstract.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/03\/digital-code-abstract.jpg","width":900,"height":538,"caption":"Quant"},{"@type":"WebSite","@id":"https:\/\/ibkrcampus.com\/campus\/#website","url":"https:\/\/ibkrcampus.com\/campus\/","name":"IBKR Campus US","description":"Financial Education from Interactive Brokers","publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ibkrcampus.com\/campus\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ibkrcampus.com\/campus\/#organization","name":"Interactive Brokers","alternateName":"IBKR","url":"https:\/\/ibkrcampus.com\/campus\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","width":669,"height":669,"caption":"Interactive Brokers"},"image":{"@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/"},"publishingPrinciples":"https:\/\/www.interactivebrokers.com\/campus\/about-ibkr-campus\/","ethicsPolicy":"https:\/\/www.interactivebrokers.com\/campus\/cyber-security-notice\/"},{"@type":"Person","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/e823e46b42ca381080387e794318a485","name":"Contributor Author","url":"https:\/\/www.interactivebrokers.com\/campus\/author\/contributor-author\/"}]}},"jetpack_featured_media_url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/03\/digital-code-abstract.jpg","_links":{"self":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/146623","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/users\/186"}],"replies":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/comments?post=146623"}],"version-history":[{"count":0,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/146623\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media\/38256"}],"wp:attachment":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media?parent=146623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/categories?post=146623"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/tags?post=146623"},{"taxonomy":"contributors-categories","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/contributors-categories?post=146623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}