{"id":5601,"date":"2022-05-12T20:48:01","date_gmt":"2022-05-13T03:48:01","guid":{"rendered":"https:\/\/blogs.pugetsound.edu\/econ\/?p=5601"},"modified":"2022-05-12T20:48:02","modified_gmt":"2022-05-13T03:48:02","slug":"modeling-a-risk-averse-investor-in-the-stock-market-pt-3-trying-to-find-a-closer-approximation-for-the-net-value","status":"publish","type":"post","link":"https:\/\/blogs.pugetsound.edu\/econ\/2022\/05\/12\/modeling-a-risk-averse-investor-in-the-stock-market-pt-3-trying-to-find-a-closer-approximation-for-the-net-value\/","title":{"rendered":"Modeling a Risk-Averse Investor in the Stock Market Pt. 3: Trying to Find a Closer Approximation for the net value"},"content":{"rendered":"\n<p>In this blogpost, I will attempt to find an approximation for the series posted in part 2. In  <a href=\"https:\/\/blogs.pugetsound.edu\/econ\/2022\/04\/05\/modeling-a-risk-adverse-investor-in-the-stock-market-pt-2\/\">part #2<\/a>, we had the table:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><a><\/a> &nbsp;<\/td><td>ROI based upon the period we invested in&nbsp; (1\/r)<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>Sum of each investment<\/td><\/tr><tr><td>&nbsp;<\/td><td>Period 1 ROI<\/td><td>&nbsp;Period 2 ROI<\/td><td>Period 3 ROI<\/td><td>Period 4 ROI<\/td><td>Period J<\/td><td>&nbsp;<\/td><\/tr><tr><td>*SPECIAL CASE*<\/td><td>$1\/1<\/td><td>$1\/1<\/td><td>$1\/1<\/td><td>$1\/1<\/td><td>+ \u2026<\/td><td>1+1+1+1 + \u2026&nbsp; = $J<\/td><\/tr><tr><td>Investment #1<\/td><td>$1\/2<\/td><td>$1\/4<\/td><td>$1\/8<\/td><td>$1\/16<\/td><td>+ \u2026<\/td><td>\u00bd + \u00bc + 1\/8 + 1\/16 + \u2026 = $2.00<\/td><\/tr><tr><td>Investment #2<\/td><td>$1\/3<\/td><td>$1\/9<\/td><td>$1\/27<\/td><td>$1\/81 &nbsp;<\/td><td>+ \u2026<\/td><td>$1\/3 + $1\/9 + $1\/27 +&nbsp; \u2026= $3\/2<\/td><\/tr><tr><td>Investment #3<\/td><td>$1\/4<\/td><td>$1\/16<\/td><td>$1\/64<\/td><td>$1\/256 &nbsp;<\/td><td>+ \u2026<\/td><td>$1\/4 = $4\/3<\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>Total sum of all investments ~$4.33 + $J<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Table 2. <\/strong>The table displays the <em>X <\/em>number of investments that are accruing value over an infinite <em>J<\/em> period. In our model, we had <em>X <\/em>= <em>J<\/em> hence setting J to infinity is an obvious over approximation. The shape produced by the cells is rectangular (J x X) where as in the true model it is triangular ~1\/2(J x X).<\/p>\n\n\n\n<p>Let\u2019s change the definitions slightly and make the rectangular array into a square. Additionally, let&#8217;s also change the definition of each variable such that J = # of periods that accrue ROI and X = #investments + 1. For example, if we have 3 investments during 4 periods, then we have J = X where (J,X) is (4,4) array:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>&nbsp;<\/td><td>ROI based upon the period we invested in&nbsp; (1\/r)<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>Partial Sum of each investment<\/td><\/tr><tr><td>&nbsp;<\/td><td>Period 1 ROI<\/td><td>&nbsp;Period 2 ROI<\/td><td>Period 3 ROI<\/td><td>Period 4 ROI<\/td><td>A<sub>1<\/sub>[1-r<sup>n<\/sup>]\/[1-r]<\/td><\/tr><tr><td>Investment #1<\/td><td>$1\/2<\/td><td>$1\/4<\/td><td>$1\/8<\/td><td>$1\/16<\/td><td>\u00bd[(1-1\/2)<sup>4<\/sup>]\/(1-1\/2)<\/td><\/tr><tr><td>Investment #2<\/td><td>$1\/3<\/td><td>$1\/9<\/td><td>$1\/27<\/td><td>$1\/81 &nbsp;<\/td><td>1\/3[1-(1\/3)<sup>4<\/sup>]\/(1-1\/3)<\/td><\/tr><tr><td>Investment #3<\/td><td>$1\/4<\/td><td>$1\/16<\/td><td>$1\/64<\/td><td>$1\/256 &nbsp;<\/td><td>1\/4[1-(1\/3)<sup>4<\/sup>]\/(1-1\/4)<\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><\/tbody><\/table><figcaption><strong>Table 1. <\/strong>An altered table of the altered problem. It is worth noting that the altered geometric series for each Investment # grow slightly slower than purely a logarithmic rate. They seem to grow at a ln(x)ln(x) pace as we have the series (0.938)1\/2 + (0.988)1\/3 + (0.996)1\/4 + &#8230; which is ever-so-slightly smaller harmonic series.<\/figcaption><\/figure>\n\n\n\n<p>And so we can generalize the sum of each investment for all ROIs in the right hand column solutions as:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/blogs.pugetsound.edu\/econ\/files\/2022\/05\/CodeCogsEqn-38.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.pugetsound.edu\/econ\/files\/2022\/05\/CodeCogsEqn-38.gif\" alt=\"\" class=\"wp-image-5602\" width=\"160\" height=\"53\"\/><\/a><figcaption>(Eq 1)<\/figcaption><\/figure>\n\n\n\n<p>It isn&#8217;t clear to me how to mathematically dissect this series. One attempt is to represent it as an underapproximate in integral form:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/blogs.pugetsound.edu\/econ\/files\/2022\/05\/CodeCogsEqn-30.gif\"><img loading=\"lazy\" decoding=\"async\" width=\"201\" height=\"45\" src=\"https:\/\/blogs.pugetsound.edu\/econ\/files\/2022\/05\/CodeCogsEqn-30.gif\" alt=\"\" class=\"wp-image-5603\"\/><\/a><figcaption>(Eq 2)<\/figcaption><\/figure>\n\n\n\n<p>Using our example case of Z = 4, this factors nicely by partial fractions to:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/blogs.pugetsound.edu\/econ\/files\/2022\/05\/CodeCogsEqn-31.gif\"><img loading=\"lazy\" decoding=\"async\" width=\"435\" height=\"45\" src=\"https:\/\/blogs.pugetsound.edu\/econ\/files\/2022\/05\/CodeCogsEqn-31.gif\" alt=\"\" class=\"wp-image-5604\"\/><\/a><figcaption>(Eq 3)<\/figcaption><\/figure>\n\n\n\n<p>Where we can evaluate each individual giving us the indefinite form of: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/blogs.pugetsound.edu\/econ\/files\/2022\/05\/CodeCogsEqn-32.gif\"><img loading=\"lazy\" decoding=\"async\" width=\"241\" height=\"21\" src=\"https:\/\/blogs.pugetsound.edu\/econ\/files\/2022\/05\/CodeCogsEqn-32.gif\" alt=\"\" class=\"wp-image-5605\"\/><\/a><figcaption>(Eq 4)<\/figcaption><\/figure>\n\n\n\n<p>We choose to use a Z = 4 as we have 3 investments for four periods of interest. Hence we need to calculate this through [4,2]. Expanding this out we have:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/blogs.pugetsound.edu\/econ\/files\/2022\/05\/CodeCogsEqn-33.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.pugetsound.edu\/econ\/files\/2022\/05\/CodeCogsEqn-33.gif\" alt=\"\" class=\"wp-image-5606\" width=\"550\" height=\"21\"\/><\/a><figcaption>(Eq 5)  The integrated original integrated sum sums to roughly $0.85 <\/figcaption><\/figure>\n\n\n\n<p>The above evaluation only works for Z = 4. If we had more ROI periods we could also have more investments and hence more terms to integrate. So we can try to generalize (#4).<\/p>\n\n\n\n<p>We want to be able to write out the above integral type in a way that can be evaluated even when there&#8217;s 49 investments over 50 ROI periods. It wouldn&#8217;t make sense to hand write the 49 polynomials and 1 logarithm for the lower and upper bounds. So we can try to generalize the pattern for [2,Z] as:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/blogs.pugetsound.edu\/econ\/files\/2022\/05\/CodeCogsEqn-34.gif\"><img loading=\"lazy\" decoding=\"async\" width=\"410\" height=\"54\" src=\"https:\/\/blogs.pugetsound.edu\/econ\/files\/2022\/05\/CodeCogsEqn-34.gif\" alt=\"\" class=\"wp-image-5607\"\/><\/a><figcaption>(Eq 6)<\/figcaption><\/figure>\n\n\n\n<p>So<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/blogs.pugetsound.edu\/econ\/files\/2022\/05\/CodeCogsEqn-35.gif\"><img loading=\"lazy\" decoding=\"async\" width=\"395\" height=\"54\" src=\"https:\/\/blogs.pugetsound.edu\/econ\/files\/2022\/05\/CodeCogsEqn-35.gif\" alt=\"\" class=\"wp-image-5608\"\/><\/a><figcaption>(Eq 7)<\/figcaption><\/figure>\n\n\n\n<p>Final Thoughts: The last two equations are remarkably similar to the partial sum of a power series. As interesting as that might be, it isn&#8217;t obvious how to solve this further.  <a href=\"https:\/\/www.wolframalpha.com\/input?i2d=true&amp;i=Sum%5BPower%5B%5C%2840%29Divide%5B1%2Cn%5D%5C%2841%29%5C%2840%29Divide%5B1%2Cx%5D%2Cn%5D%2C%7Bn%2C2%2CK%7D%5D%5C%2841%29\" data-type=\"URL\" data-id=\"https:\/\/www.wolframalpha.com\/input?i2d=true&amp;i=Sum%5BPower%5B%5C%2840%29Divide%5B1%2Cn%5D%5C%2841%29%5C%2840%29Divide%5B1%2Cx%5D%2Cn%5D%2C%7Bn%2C2%2CK%7D%5D%5C%2841%29\">I tried using, yet not even Wolfram alpha intuition on how to solve even one of the series.<\/a> Even if I did have the &#8220;aha&#8221; moment it is still all a step in the backwards direction. The approximation made via our integral (Eq 2) produced a sum that evaluates to roughly $0.85 (Eq 5) whereas the actual sum should be $1.76. Finding a closed form of (Eq 1) directly instead of using an approximation might actual be more time efficient than any trying to find other approximations. If anyone better at math knows how to solve this, feel free to leave the solution in the comment section. I&#8217;d greatly appreciate it. If not, I appreciate you reading this far such a technical post.<\/p>\n\n\n\n<p>Thanks,<\/p>\n\n\n\n<p>Ben<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blogpost, I will attempt to find an approximation for the series posted in part 2. In part #2, we had the table: &nbsp; ROI based upon the period we invested in&nbsp; (1\/r) &nbsp; &nbsp; &nbsp; &nbsp; Sum of each investment &nbsp; Period 1 ROI &nbsp;Period 2 ROI Period 3 ROI Period 4 ROI Period J &nbsp; *SPECIAL CASE* $1\/1 $1\/1 $1\/1 $1\/1 + \u2026 1+1+1+1 + \u2026&nbsp; = $J Investment #1 $1\/2 $1\/4 $1\/8 $1\/16 + \u2026 \u00bd + \u00bc + 1\/8 + 1\/16 + \u2026 = $2.00 Investment #2 $1\/3 $1\/9 $1\/27 $1\/81 &nbsp; + \u2026 $1\/3 <a class=\"more-link\" href=\"https:\/\/blogs.pugetsound.edu\/econ\/2022\/05\/12\/modeling-a-risk-averse-investor-in-the-stock-market-pt-3-trying-to-find-a-closer-approximation-for-the-net-value\/\">Continue reading <span class=\"screen-reader-text\">  Modeling a Risk-Averse Investor in the Stock Market Pt. 3: Trying to Find a Closer Approximation for the net value<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":639,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[860,6],"tags":[879,36,874,873,875,871,756,142,880,872,261],"class_list":["post-5601","post","type-post","status-publish","format-standard","hentry","category-860","category-economics","tag-approximation","tag-behavioral-economics","tag-estimation","tag-heuristic","tag-investment-behavior","tag-model","tag-modeling","tag-risk","tag-series","tag-stock","tag-stock-market"],"_links":{"self":[{"href":"https:\/\/blogs.pugetsound.edu\/econ\/wp-json\/wp\/v2\/posts\/5601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.pugetsound.edu\/econ\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.pugetsound.edu\/econ\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.pugetsound.edu\/econ\/wp-json\/wp\/v2\/users\/639"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.pugetsound.edu\/econ\/wp-json\/wp\/v2\/comments?post=5601"}],"version-history":[{"count":1,"href":"https:\/\/blogs.pugetsound.edu\/econ\/wp-json\/wp\/v2\/posts\/5601\/revisions"}],"predecessor-version":[{"id":5609,"href":"https:\/\/blogs.pugetsound.edu\/econ\/wp-json\/wp\/v2\/posts\/5601\/revisions\/5609"}],"wp:attachment":[{"href":"https:\/\/blogs.pugetsound.edu\/econ\/wp-json\/wp\/v2\/media?parent=5601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.pugetsound.edu\/econ\/wp-json\/wp\/v2\/categories?post=5601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.pugetsound.edu\/econ\/wp-json\/wp\/v2\/tags?post=5601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}