<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JMF</journal-id><journal-title-group><journal-title>Journal of Mathematical Finance</journal-title></journal-title-group><issn pub-type="epub">2162-2434</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jmf.2016.61012</article-id><article-id pub-id-type="publisher-id">JMF-63817</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Business&amp;Economics</subject><subject> Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  LPM Density Functions for the Computation of the SD Efficient Set
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>red</surname><given-names>Viole</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>David</surname><given-names>Nawrocki</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>OVVO Financial Systems, Holmdel, USA</addr-line></aff><aff id="aff2"><addr-line>Villanova University, Villanova School of Business, Villanova, USA</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>Fred.viole@ovvofinancialsystems.com(RV)</email>;<email>david.nawrocki@villanova.edu(DN)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>05</day><month>02</month><year>2016</year></pub-date><volume>06</volume><issue>01</issue><fpage>105</fpage><lpage>126</lpage><history><date date-type="received"><day>22</day>	<month>October</month>	<year>2015</year></date><date date-type="rev-recd"><day>accepted</day>	<month>23</month>	<year>February</year>	</date><date date-type="accepted"><day>26</day>	<month>February</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
   The equivalence between partial moments and stochastic dominance dates back to Bawa [1] and Fishburn [2]. We present a test for first, second, and third degree stochastic dominance between two variables using Lower Partial Moments. The results uphold Hadar and Russell’s [3] original conclusions about the odd moments of preferred prospects. We recall Nawrocki’s [4] research comparing Mean/Variance portfolios against the continuum of risk-averse investors using Lower Partial Moments. The excess skewness of the LPM portfolios clearly demonstrates the preference of positive skewness for risk-averse investors. Finally, we provide an algorithm for efficiently determining stochastic dominance efficient sets among large numbers of variables. 
 
</p></abstract><kwd-group><kwd>Stochastic Dominance Algorithm</kwd><kwd> Lower Partial Moments</kwd><kwd> Expected Utility Theory</kwd><kwd> Prospect Theory</kwd><kwd> Upper Partial Moments</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Stochastic dominance (SD) is a very powerful risk analysis tool. It converts the probability distribution of an investment into a cumulative probability curve. Next, math analysis of the cumulative probability curve is used to determine if one investment is superior to another investment. Stochastic dominance has two major advantages: It works for all probability distributions and it includes all possible risk averse utility assumptions. Its major disadvantage is that an optimization algorithm for selecting stochastically dominant efficient portfolios has never been developed limiting it to a two-step process where 1) the SD analysis is run and 2) the resulting securities are run through a portfolio optimization process. This actually is not too great of an issue because in practice, stochastic dominance can be run on thousands of securities and portfolio optimization algorithms are limited to about 150 securities due to singularity errors.<sup>1</sup> In this paper, we propose using a stochastic dominance algorithm using lower partial moments for step (1) and then using mean-semivariance or UPM/LPM algorithm for step (2).<sup>2</sup></p><p>The use of semivariance or lower partial moment analysis to approximate stochastic dominance has already been suggested. Bey [<xref ref-type="bibr" rid="scirp.63817-ref5">5</xref>] proposes a mean-semivariance algorithm to approximate the second degree stochastic dominance efficient portfolio sets. More importantly, Bawa [<xref ref-type="bibr" rid="scirp.63817-ref1">1</xref>] and Fishburn [<xref ref-type="bibr" rid="scirp.63817-ref2">2</xref>] provide proofs for the equivalence of LPM degrees greater than one to second degree stochastic dominance and for LPM degrees greater than two to third degree stochastic dominance.<sup>3</sup></p><p>Since stochastic dominance is an analysis of cumulative distribution functions; only below target deviations are considered over the interval [−∞, target] with the target encompassing all values of X. This “for all X” target condition is directly responsible for the generalization to all possible risk averse utility assumptions.</p><p>This paper proposes an integration of stochastic dominance analysis and lower partial moment analysis by defining a stochastic dominance (SD) test via the Lower Partial Moments (LPM) of the investment’s probability distribution. From this SD-LPM test, we can quickly and efficiently determine the SD efficient set and generate optimal portfolios from that reduced universe of securities for any objective function (Mean/Variance, UPM/ LPM, etc.). Equation (1) represents the LPM of an investment,</p><disp-formula id="scirp.63817-formula370"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/12-1490377x7.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x8.png" xlink:type="simple"/></inline-formula> is the observation of variable X at time t; h is the target from which to compute the lower deviation; and n is the loss aversion weight assigned to the lower deviation. The next section explains the equivalence between LPM and SD for First Degree Stochastic Dominance (FSD), Second Degree Stochastic Dominance (SSD) and Third Degree Stochastic Dominance (TSD). In Section 3 we discuss the methodology of the SD routines and the SD efficient set algorithm. The appendices contain R code, commentary on the R code and working examples. In these examples we note the effects of SD on the odd moments of the distributions, consistent with Hadar and Russell [<xref ref-type="bibr" rid="scirp.63817-ref1969">1969</xref>] original conclusions.</p></sec><sec id="s2"><title>2. Historical Partial Moment Equivalence &amp; Tests</title><p>Bawa [<xref ref-type="bibr" rid="scirp.63817-ref1">1</xref>] provides a proof that the LPM measure is mathematically related to stochastic dominance for risk tolerance values (n) of 0, 1, and 2. Fishburn [<xref ref-type="bibr" rid="scirp.63817-ref2">2</xref>] demonstrates the equivalence of the LPM measure to stochastic dominance for all values of n &gt; 0. He provides the general case via:</p><disp-formula id="scirp.63817-formula371"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/12-1490377x9.png"  xlink:type="simple"/></disp-formula><p>Fishburn [<xref ref-type="bibr" rid="scirp.63817-ref2">2</xref>] also shows that the n value includes all types of investor behavior. Furthermore, Porter [<xref ref-type="bibr" rid="scirp.63817-ref10">10</xref>] illustrates that except for cases of identical means and semivariances, if X dominates Y by second degree stochastic dominance then X dominates Y by the mean-target semivariance model. Building from the general case, let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x10.png" xlink:type="simple"/></inline-formula> denote the cumulative distribution function of variable X such that:</p><disp-formula id="scirp.63817-formula372"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/12-1490377x11.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63817-formula373"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/12-1490377x12.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63817-formula374"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/12-1490377x13.png"  xlink:type="simple"/></disp-formula><p>Therefore, Equation (3) will be the statistic used for FSD testing, Equation (4) will be the statistic used for SSD testing, and Equation (5) will be the statistic used for TSD testing. We note that Equation (3) is a probability whereby the target deviation is taken to the 0<sup>th</sup> degree. The LPM degree 0 is simply the empirical cumulative distribution function (CDF) of the distribution. When considering how far a deviation is from its target, increasing the degree per Equation (4) will give a linear weighting. This is the area of the distribution to the left of the target, h. Finally, if an investor is more sensitive to below target observations, increasing the degree further will compensate this behavior. The LPM Degree 2 used in Equation (5) is equivalent to the semivariance statistic. These equations must be used from every target in the return distribution to generalize for all risk-averse investor types.</p><p>In a bid to infer SD from aggregate statistics (and skip the every target “for all h” inconvenience), others have suggested various CDF tests to approximate SD results. For example, Klecan et al. [<xref ref-type="bibr" rid="scirp.63817-ref11">11</xref>] proposes a difference in CDFs, per the Kolmogorov-Smirnoff (KS) test, further bolstered by Monte Carlo simulation for robustness. However, the KS test used does not prove FSD or SSD. The test statistic, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x14.png" xlink:type="simple"/></inline-formula>is deficient because it does not satisfy the “for all h” previously alluded to. FSD is a very stringent qualification, whereby one observation in which <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x15.png" xlink:type="simple"/></inline-formula> nullifies X FSD Y. What you have is a statistically significant difference in CDFs, which unfortunately does not tell us anything about stochastic dominance. Of course Klecan et al. [<xref ref-type="bibr" rid="scirp.63817-ref11">11</xref>] realize this and alter their hypothesis to test for a variable that is not stochastically maximal, i.e. weak stochastic dominance holds for some pair of prospects within their observed set.</p><p>“The set A is first-degree [resp., second-degree] maximal if no prospect in A is weakly stochastically dominated by another prospect in A. First-degree dominance implies second-degree dominance, and second- degree maximality implies first degree maximality.” Klecan et al. [<xref ref-type="bibr" rid="scirp.63817-ref11">11</xref>] .</p><p>Developing an efficient routine to determine SD was originally hampered by computing power coupled with arcane techniques. Computing power has increased dramatically since the 1970s, thus enabling portfolio sizes unattainable back then. Furthermore, the use of partial moments are a computationally efficient method of determining CDFs flexible enough for the entire distribution and extending themselves to area analysis required for the higher SD degrees.</p><p>“Finally, in order to conduct tests of SSD efficiency, all the calculations required for the FSD test must be made regardless of whether one is interested in FSD results; for TSD experiments, all the calculations required for FSD and SSD tests must be made.” Porter, Wart and Ferguson [<xref ref-type="bibr" rid="scirp.63817-ref12">12</xref>] .</p><p>The use of LPMs in the SD test eliminates the calculation redundancy Porter et al. [<xref ref-type="bibr" rid="scirp.63817-ref12">12</xref>] noted above. In fact, TSD takes less time to run than FSD per our routines, the explanation of which follows.</p><sec id="s2_1"><title>2.1. SD Routines</title><p>A complete presentation of the R code and commentary on the modules is presented in the Appendix A and Appendix C of this paper. Here, we are providing a general overview of how each SD routine performs its task on individual securities or aggregate portfolios.</p><sec id="s2_1_1"><title>2.1.1. FSD</title><p>To determine FSD between two variables we combine the observations into a single vector. Next we rank the observations in ascending order. This is the target vector. Using the combined sorted observations we compare CDFs from each target using Equation (3).</p><p>If the <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x16.png" xlink:type="simple"/></inline-formula> then we store the instance with a binary indicator into an output vector. If at any target the relationship fails, the routine is stopped and the result of “No FSD Exists” is returned. This has the benefit of avoiding all of the observations as soon as a violation is detected. Otherwise we continue through the rest of the target vector until all observations are exhausted, thus affirming “XFSD Y” existence.</p><p>In an added bid of efficiency we incorporate an additional output vector for Y such that it can be checked simultaneously for “Y FSD X”.</p></sec><sec id="s2_1_2"><title>2.1.2. SSD</title><p>To determine SSD the same initial combining and ranking procedure is performed on the variables. However, we are no longer comparing CDFs rather areas of the functions up to that specific target point. These areas are compared using Equation (4) which is the degree 1 LPM.</p><p>If the <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x17.png" xlink:type="simple"/></inline-formula> then we store the instance with a binary indicator into an output vector. All of the benefits from the FSD routine are preserved.</p></sec><sec id="s2_1_3"><title>2.1.3. TSD</title><p>Again, using the identical combined sorted observation vector (yet another efficiency since it does not have to be generated for each degree tested) the two variables of interest are compared with their squared areas below a target, or simply their semivariance. Equation (5) represents this consideration.</p><p>If the <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x18.png" xlink:type="simple"/></inline-formula> then we store the instance with a binary indicator into an output vector for that specific target. All of the benefits from the FSD and SSD routines are preserved.</p></sec></sec><sec id="s2_2"><title>2.2. SD Efficient Set</title><p>We incorporate these SD routines into a “SD Efficient Set” algorithm. The specific R code is also provided in the Appendix C. A full discussion of the algorithm is in Appendix A using a data frame (a list of vectors of equal lengths in R) of security or portfolio returns, we are able to generate the SD efficient set for the desired degree and return a reduced data frame. A visualization of the problem is presented by borrowing a reference to Braid Theory, which is an abstract geometric theory studying the everyday braid concept.</p><p>Our first step is to rank the securities or portfolios in ascending order by their LPM from the maximum observation across all variables. Using the terms “Base” and “Challenger” from Porter et al. [<xref ref-type="bibr" rid="scirp.63817-ref12">12</xref>] , our first ranked variable is our “Base”. The next ranked variable is the “Challenger”. We test whether “Base” SD “Challenger”. If “Base” SD “Challenger”, then “Challenger” is placed in a “Dominated Set” which is an output vector. If “Base” does not SD “Challenger” then “Challenger” is added to the “Base” vector. The next “Challenger” must be tested against all members of the current “Base” vector. If it fails but one, it is immediately placed in the “Dominated Set” and the next “Challenger” is selected. When all “Challengers” are exhausted, the final SD Efficient Set is simply the original data frame less the “Dominated Set”.</p></sec><sec id="s2_3"><title>2.3. SD Algorithm Empirical Results</title><p>The resulting SD Efficient data frame can then be easily implemented (within the same command line) into an optimization routine. We verify the output from our method versus the DOMIN1 routine originally presented in Porter et al. [<xref ref-type="bibr" rid="scirp.63817-ref12">12</xref>] with the third degree SD correction suggested by Bey, Burgess, and Kearns [<xref ref-type="bibr" rid="scirp.63817-ref13">13</xref>] . We obtained a monthly total return dataset of 67 stocks from the CRSP dataset for the period 2010 to 2014. Summary statistics are provided in Appendix B. We then used the DOMIN1 routine and our R code routine to generate the FSD, SSD, and TSD efficient sets. Indeed the same securities are selected from a 67 security universe. The results for the SSD and TSD analysis are presented in <xref ref-type="table" rid="table1"><xref ref-type="table" rid="table">Table </xref>1</xref>.</p><p>One potential question is whether a simple reward to semivariability (R/SV) ratio ranking would be equivalent to the LPM SD algorithm. <xref ref-type="table" rid="table1"><xref ref-type="table" rid="table">Table </xref>1</xref> results indicate the answer is no. We ranked all 67 companies by R/SV ratio with the last column in <xref ref-type="table" rid="table1"><xref ref-type="table" rid="table">Table </xref>1</xref> indicating the company’s rank among the 67 companies. For the SSD results, there are 12 undominated companies and only 7 companies are ranked in the top 12 of the R/SV rankings (5 companies are ranked out of the top 12). For the TSD results, there are 9 undominated companies and only 6 companies are ranked in the top 9 of the R/SV rankings (3 are ranked out of the top 12).</p></sec></sec><sec id="s3"><title>3. Discussion</title><p>While stochastic dominance implies mean/Semivariance or LPM dominance, LPM dominance does not imply stochastic dominance because of the nature of aggregate statistics versus individual observations. This is analogous to the common phrase: “While dependence implies correlation, correlation does not imply dependence.” The stringent criterion of stochastic dominance defies implication from aggregate distributional statistics.</p><p>Given LPM’s ability to consider multiple investor preferences, from a practical standpoint, it seems the best candidate to proxy stochastic dominance. We demonstrated how skewness is evident under SSD and TSD. This is not surprising given Nawrocki’s [<xref ref-type="bibr" rid="scirp.63817-ref4">4</xref>] analysis of LPM portfolios versus their M/V counterparts, whereby excess positive skewness was an artifact of all risk-averse investors.</p><p>We have also provided an algorithm for efficiently determining SD efficient portfolios. The use of lower partial moments is consistent with the procedure originally proposed by Porter et al. [<xref ref-type="bibr" rid="scirp.63817-ref12">12</xref>] for rankings by means and</p><table-wrap-group id="1"><label><xref ref-type="table" rid="table1"><xref ref-type="table" rid="table">Table </xref>1</xref></label><caption><title> Second and third degree undominated assets from 67 stocks, monthly data from January 2010 to December 2014 using DOMIN1 and our R code. The mean return is a monthly return relative and the Semi Deviation is a monthly percent change. (a) Second degree (SSD) undominated assets; (b) Third degree (TSD) undominated assets</title></caption><table-wrap id="1_1"><caption><title> (b)</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >R/SV Asset</th><th align="center" valign="middle" >Mean</th><th align="center" valign="middle" >Variance</th><th align="center" valign="middle" >Skewness</th><th align="center" valign="middle" >Kurtosis</th><th align="center" valign="middle" >Semi Deviation</th><th align="center" valign="middle" >R/SV</th><th align="center" valign="middle" >Rank</th></tr></thead><tr><td align="center" valign="middle" >N P S Pharmaceuticals</td><td align="center" valign="middle" >1.05186</td><td align="center" valign="middle" >0.02573</td><td align="center" valign="middle" >0.53738</td><td align="center" valign="middle" >2.89342</td><td align="center" valign="middle" >7.36910</td><td align="center" valign="middle" >0.5372</td><td align="center" valign="middle" >15</td></tr><tr><td align="center" valign="middle" >Under Armour</td><td align="center" valign="middle" >1.04309</td><td align="center" valign="middle" >0.00858</td><td align="center" valign="middle" >0.47474</td><td align="center" valign="middle" >2.76997</td><td align="center" valign="middle" >3.64820</td><td align="center" valign="middle" >1.0591</td><td align="center" valign="middle" >2</td></tr><tr><td align="center" valign="middle" >Hain Celestial</td><td align="center" valign="middle" >1.03491</td><td align="center" valign="middle" >0.00481</td><td align="center" valign="middle" >0.24761</td><td align="center" valign="middle" >2.92033</td><td align="center" valign="middle" >2.95020</td><td align="center" valign="middle" >1.0909</td><td align="center" valign="middle" >1</td></tr><tr><td align="center" valign="middle" >Gartner Inc</td><td align="center" valign="middle" >1.02787</td><td align="center" valign="middle" >0.00382</td><td align="center" valign="middle" >0.07640</td><td align="center" valign="middle" >2.39715</td><td align="center" valign="middle" >2.83310</td><td align="center" valign="middle" >0.9035</td><td align="center" valign="middle" >4</td></tr><tr><td align="center" valign="middle" >Ross Stores</td><td align="center" valign="middle" >1.02764</td><td align="center" valign="middle" >0.00343</td><td align="center" valign="middle" >0.05922</td><td align="center" valign="middle" >2.26037</td><td align="center" valign="middle" >2.61250</td><td align="center" valign="middle" >0.9780</td><td align="center" valign="middle" >3</td></tr><tr><td align="center" valign="middle" >P P G Industries</td><td align="center" valign="middle" >1.02707</td><td align="center" valign="middle" >0.00356</td><td align="center" valign="middle" >0.28773</td><td align="center" valign="middle" >3.56232</td><td align="center" valign="middle" >2.79310</td><td align="center" valign="middle" >0.8925</td><td align="center" valign="middle" >5</td></tr><tr><td align="center" valign="middle" >Visa Inc.</td><td align="center" valign="middle" >1.02064</td><td align="center" valign="middle" >0.00303</td><td align="center" valign="middle" >-0.75621</td><td align="center" valign="middle" >5.66774</td><td align="center" valign="middle" >3.28380</td><td align="center" valign="middle" >0.5692</td><td align="center" valign="middle" >14</td></tr><tr><td align="center" valign="middle" >Lorillard Inc</td><td align="center" valign="middle" >1.02045</td><td align="center" valign="middle" >0.00396</td><td align="center" valign="middle" >1.23399</td><td align="center" valign="middle" >5.63855</td><td align="center" valign="middle" >2.65120</td><td align="center" valign="middle" >0.6856</td><td align="center" valign="middle" >8</td></tr><tr><td align="center" valign="middle" >Amgen Inc</td><td align="center" valign="middle" >1.01988</td><td align="center" valign="middle" >0.00279</td><td align="center" valign="middle" >0.05548</td><td align="center" valign="middle" >3.07874</td><td align="center" valign="middle" >2.76420</td><td align="center" valign="middle" >0.6545</td><td align="center" valign="middle" >9</td></tr><tr><td align="center" valign="middle" >O G E Energy</td><td align="center" valign="middle" >1.01469</td><td align="center" valign="middle" >0.00268</td><td align="center" valign="middle" >0.61313</td><td align="center" valign="middle" >5.26623</td><td align="center" valign="middle" >2.70910</td><td align="center" valign="middle" >0.4791</td><td align="center" valign="middle" >18</td></tr><tr><td align="center" valign="middle" >Waste Connection</td><td align="center" valign="middle" >1.01305</td><td align="center" valign="middle" >0.00168</td><td align="center" valign="middle" >-0.11832</td><td align="center" valign="middle" >2.11724</td><td align="center" valign="middle" >2.26070</td><td align="center" valign="middle" >0.5220</td><td align="center" valign="middle" >16</td></tr><tr><td align="center" valign="middle" >Procter &amp; Gamble</td><td align="center" valign="middle" >1.01010</td><td align="center" valign="middle" >0.00131</td><td align="center" valign="middle" >0.45848</td><td align="center" valign="middle" >2.82344</td><td align="center" valign="middle" >1.81910</td><td align="center" valign="middle" >0.4971</td><td align="center" valign="middle" >17</td></tr></tbody></table></table-wrap><table-wrap id="1_2"><caption><title></title></caption><table><tbody><thead><tr><th align="center" valign="middle" >R/SV Asset</th><th align="center" valign="middle" >Mean</th><th align="center" valign="middle" >Variance</th><th align="center" valign="middle" >Skewness</th><th align="center" valign="middle" >Kurtosis</th><th align="center" valign="middle" >Semi Deviation</th><th align="center" valign="middle" >R/SV</th><th align="center" valign="middle" >Rank</th></tr></thead><tr><td align="center" valign="middle" >N P S Pharmaceuticals</td><td align="center" valign="middle" >1.05186</td><td align="center" valign="middle" >0.02573</td><td align="center" valign="middle" >0.53738</td><td align="center" valign="middle" >2.89342</td><td align="center" valign="middle" >7.36910</td><td align="center" valign="middle" >0.5372</td><td align="center" valign="middle" >15</td></tr><tr><td align="center" valign="middle" >Under Armour</td><td align="center" valign="middle" >1.04309</td><td align="center" valign="middle" >0.00858</td><td align="center" valign="middle" >0.47474</td><td align="center" valign="middle" >2.76997</td><td align="center" valign="middle" >3.64820</td><td align="center" valign="middle" >1.0591</td><td align="center" valign="middle" >2</td></tr><tr><td align="center" valign="middle" >Hain Celestial</td><td align="center" valign="middle" >1.03491</td><td align="center" valign="middle" >0.00481</td><td align="center" valign="middle" >0.24761</td><td align="center" valign="middle" >2.92033</td><td align="center" valign="middle" >2.95020</td><td align="center" valign="middle" >1.0909</td><td align="center" valign="middle" >1</td></tr><tr><td align="center" valign="middle" >Gartner Inc</td><td align="center" valign="middle" >1.02787</td><td align="center" valign="middle" >0.00382</td><td align="center" valign="middle" >0.07640</td><td align="center" valign="middle" >2.39715</td><td align="center" valign="middle" >2.83310</td><td align="center" valign="middle" >0.9035</td><td align="center" valign="middle" >4</td></tr><tr><td align="center" valign="middle" >Ross Stores</td><td align="center" valign="middle" >1.02764</td><td align="center" valign="middle" >0.00343</td><td align="center" valign="middle" >0.05922</td><td align="center" valign="middle" >2.26037</td><td align="center" valign="middle" >2.61250</td><td align="center" valign="middle" >0.9780</td><td align="center" valign="middle" >3</td></tr><tr><td align="center" valign="middle" >P P G Industries</td><td align="center" valign="middle" >1.02707</td><td align="center" valign="middle" >0.00356</td><td align="center" valign="middle" >0.28773</td><td align="center" valign="middle" >3.56232</td><td align="center" valign="middle" >2.79310</td><td align="center" valign="middle" >0.8925</td><td align="center" valign="middle" >5</td></tr><tr><td align="center" valign="middle" >Lorillard Inc</td><td align="center" valign="middle" >1.02045</td><td align="center" valign="middle" >0.00396</td><td align="center" valign="middle" >1.23399</td><td align="center" valign="middle" >5.63855</td><td align="center" valign="middle" >2.65120</td><td align="center" valign="middle" >0.6856</td><td align="center" valign="middle" >14</td></tr><tr><td align="center" valign="middle" >Waste Connection</td><td align="center" valign="middle" >1.01305</td><td align="center" valign="middle" >0.00168</td><td align="center" valign="middle" >-0.11832</td><td align="center" valign="middle" >2.11724</td><td align="center" valign="middle" >2.26070</td><td align="center" valign="middle" >0.5220</td><td align="center" valign="middle" >16</td></tr><tr><td align="center" valign="middle" >Procter &amp; Gamble</td><td align="center" valign="middle" >1.01010</td><td align="center" valign="middle" >0.00131</td><td align="center" valign="middle" >0.45848</td><td align="center" valign="middle" >2.82344</td><td align="center" valign="middle" >1.81910</td><td align="center" valign="middle" >0.4971</td><td align="center" valign="middle" >17</td></tr></tbody></table></table-wrap></table-wrap-group><p>The Bey-Kearns-Burgess [<xref ref-type="bibr" rid="scirp.63817-ref13">13</xref>] TSD Correction in DOMIN1 Has Been Activated. The Number of Check Points = 6; ITEST = 1; JTEST = 3.</p><p>variances. This is verified with a 67 security universe example providing identical outputs for SSD and TSD.</p><p>One potential weakness of any empirical risk analysis approach is estimation error. Both SD and LPM are nonparametric and do not require knowledge of the underlying probability function. In simulation tests that we have conducted, the LPM measures are less sensitive to estimation error than either the mean or variance no matter which distribution is assumed.</p><p>Again, one consideration that needs to be reiterated is these risk analysis tools are only for below target deviations. When considering the reflection effect from Prospect Theory, above target deviations will have their own investor preferences (risk seeking for gains and risk aversion with gains). These positive observations are only considered when the target approaches the maximum observation under the stochastic dominance test. Stochastic dominance therefore cannot reward the right tail in a manner commensurate with the means it penalizes the left tail observations. But, this was never its intended purpose given the underlying utility assumptions of Hadar and Russel [<xref ref-type="bibr" rid="scirp.63817-ref3">3</xref>] , and later Whitmore [<xref ref-type="bibr" rid="scirp.63817-ref14">14</xref>] . However, the above target returns have been found to be important in the discussions by Kahneman and Tversky [<xref ref-type="bibr" rid="scirp.63817-ref15">15</xref>] for non-concave functions (Reverse S-shaped) and for S-Shaped functions by Levy and Levy [<xref ref-type="bibr" rid="scirp.63817-ref16">16</xref>] [<xref ref-type="bibr" rid="scirp.63817-ref17">17</xref>] , Post and Levy [<xref ref-type="bibr" rid="scirp.63817-ref18">18</xref>] , Baltussen, Post and van Vliet [<xref ref-type="bibr" rid="scirp.63817-ref19">19</xref>] , andPost, van Vliet and Levy [<xref ref-type="bibr" rid="scirp.63817-ref20">20</xref>] .</p><p>In order to generalize further, one would have to expand the analysis into an Upper Partial Moment/Lower Partial Moment (UPM/LPM) framework, capable of incorporating the often observed four-fold pattern of risk behavior identified in prospect theory and expected utility theory such as the UPM/LPM optimization model described by Viole and Nawrocki [<xref ref-type="bibr" rid="scirp.63817-ref21">21</xref>] [<xref ref-type="bibr" rid="scirp.63817-ref22">22</xref>] and Cumova and Nawrocki [<xref ref-type="bibr" rid="scirp.63817-ref23">23</xref>] .</p></sec><sec id="s4"><title>4. Conclusions</title><p>The close relationship between lower partial moments and stochastic dominance has been known since Porter [<xref ref-type="bibr" rid="scirp.63817-ref10">10</xref>] , Bawa [<xref ref-type="bibr" rid="scirp.63817-ref1">1</xref>] , Fishburn [<xref ref-type="bibr" rid="scirp.63817-ref2">2</xref>] , and Bey [<xref ref-type="bibr" rid="scirp.63817-ref5">5</xref>] . This paper uses the known cumulative density function properties and utility function properties of lower partial moments to generate stochastic dominant efficient sets. We hope that this paper demonstrates how powerful LPM analysis potentially is for statistical/financial analysis (and by extension UPM/LPM analysis). An efficient algorithm to generate SD efficient sets is proposed and tested alongside with the Porter et al. [<xref ref-type="bibr" rid="scirp.63817-ref12">12</xref>] . DOMIN1 algorithm which includes the third degree SD correction is suggested by Bey et al. [<xref ref-type="bibr" rid="scirp.63817-ref13">13</xref>] . Both algorithms provided the same efficient sets for SSD and TSD for a sample 67 security universe. A description of the LPM SD algorithm is provided in Appendix A and the R-code for the algorithm is included in Appendix C.</p><p>Future research should extend the analysis to the use of UPM/LPM models which are superior to SD and LPM models for incorporating the full range of utility functions available with expected utility theory and prospect theory.</p></sec><sec id="s5"><title>Cite this paper</title><p>FredViole,DavidNawrocki, (2016) LPM Density Functions for the Computation of the SD Efficient Set. Journal of Mathematical Finance,06,105-126. doi: 10.4236/jmf.2016.61012</p></sec><sec id="s6"><title>Appendix A</title></sec><sec id="s7"><title>A.1. R Code Commentary</title><p>This section of the paper will provide the R code commentary for the stochastic dominance test using lower partial moments. The code can be found in Appendix C.</p><p>1) Module 1: Lower Partial Moment Function (LPM)</p><p>The LPM function is a fairly straightforward interpretation of Equation (1) whereby only below target observations are summed and raised to the loss aversion degree (n), and then divided by the number of observations.</p><p>2) Module 2: First Degree Stochastic Dominance (FSD)</p><p>Section A: Sort the variables in ascending order. Combine the vectors and sort the combined vector. Create output vectors for areas used in plots.</p><p>B: Create an output vector to store the instances of CDF inequality.</p><p>C: Uses the sorted X and Y variables as the LPM target under n = 0. Thus all observations are used in the stringent “for all h” qualification. If <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x19.png" xlink:type="simple"/></inline-formula> for that observation target h, no instance is recorded into the output vector (output_x[i] &lt; −0). Conversely, if <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x19.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x20.png" xlink:type="simple"/></inline-formula> for that observation target h, the loop is stopped.</p><p>D: Uses the same logic as (C) above, only tests the inverse CDF relationship<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x21.png" xlink:type="simple"/></inline-formula>.</p><p>E: Plots the CDFs of each variable.</p><p>F: Reads the output vectors. If the output vector has 0 instances of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x22.png" xlink:type="simple"/></inline-formula>, then X FSD Y.</p><p>G: Test case.</p><p><xref ref-type="fig" rid="fig">Figure </xref>A1 plots the cumulative distributions for all observations of X and Y. The combined sorted vector doubles the length of observations, and thus distorts the image compared to the familiar CDF as plotted in <xref ref-type="fig" rid="fig">Figure </xref>A2 for each variable.</p><p>We can see in <xref ref-type="fig" rid="fig">Figure </xref>A1 &amp; <xref ref-type="fig" rid="fig">Figure </xref>A2 the multiple crossing of the CDFs (around the 300<sup>th</sup> observation and −1 value respectively), thus negating any first degree stochastic dominance between variables. Clearly though, on balance we can see <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x23.png" xlink:type="simple"/></inline-formula> is more desirable than<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x24.png" xlink:type="simple"/></inline-formula>.</p><p>For three h values (−0.99, −0.98, and −0.97)<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x25.png" xlink:type="simple"/></inline-formula>. Outside of those values,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x26.png" xlink:type="simple"/></inline-formula>. This is where second degree stochastic dominance may offer some insight…</p><p>3) Module 3: Second Degree Stochastic Dominance (SSD)</p><p>Section A: Sort the variables in ascending order. Combine the vectors and sort the combined vector. Create output vectors for areas used in plots.</p><p>B: Create an output vector to store the instances of area inequality.</p><p>C: Uses the sorted X and Y variables as the LPM target under n = 1. Thus all observations are used in the</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig">Figure </xref>A1</label><caption><title> Plot of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x28.png" xlink:type="simple"/></inline-formula> using all observations of X and Y as targets (h)</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/12-1490377x27.png"/></fig><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig">Figure </xref>A2</label><caption><title> Typical CDF plot for variables X and Y</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/12-1490377x29.png"/></fig><p>stringent “for all h” qualification. If <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x30.png" xlink:type="simple"/></inline-formula> for that observation target h, no</p><p>instance is recorded into the output vector (output_x[i] &lt; −0). Conversely, if</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x31.png" xlink:type="simple"/></inline-formula>for that observation target h, the loop is stopped.</p><p>D: Uses the same logic as (C) above, only tests the inverse area relationships</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x32.png" xlink:type="simple"/></inline-formula>.</p><p>E: Plots the cumulative areas of each variable.</p><p>F: Reads the output vectors. If the output vector has 0 instances of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x34.png" xlink:type="simple"/></inline-formula>,</p><p>then X SSD Y.</p><p>G: Test case.</p><p><xref ref-type="fig" rid="fig">Figure </xref>A3 shows the cumulative distribution areas for X and Y. The lower area and thus dominance is quite clear. Alternatively viewed as a histogram, <xref ref-type="fig" rid="fig">Figure </xref>A4 illustrates <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x35.png" xlink:type="simple"/></inline-formula> for all</p><p>positive values (a good thing), while simultaneously <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x36.png" xlink:type="simple"/></inline-formula> for all negative</p><p>values (also a good thing). This is evident when examining the skewness between both variables.</p><p>Skew(X) Skew(Y)</p><p>0.06529391 0.04430945</p><p>Nawrocki [<xref ref-type="bibr" rid="scirp.63817-ref4">4</xref>] also finds excess positive skewness for the risk averse investor’s portfolio compared to the maximum mean/variance portfolio. This in turn was expected, due to Hadar and Russell [<xref ref-type="bibr" rid="scirp.63817-ref3">3</xref>] original conclusions:</p><p>“For instance, we have indicated in the paper that FSD implies a certain relationship between the odd moments (and sometimes also between the even moments) of the prospects under consideration. Consequently, given that P is preferred to P’ for all monotonic utility functions, we can immediately say that all the odd moments around zero of P are larger than the respective moments of P’.”</p><p>Even when dominance interruptions occur in the histogram, the cumulative area to that point is not enough to negate the dominance of X over Y. Revisiting the LPMs from the FSD interval of question tells a different story when areas are compared:</p><p>The areas in <xref ref-type="table" rid="table">Table </xref>A1 never even really come close to intersecting like the CDFs did in <xref ref-type="table" rid="table">Table </xref>A2. This result loosely supports the maximal hypothesis from Klecan et al. [<xref ref-type="bibr" rid="scirp.63817-ref11">11</xref>] ―that the areas would have to be very volatile and crossing in order to negate SSD<sup>4</sup>, and if that were true, it would of course reflect on the underlying CDFs</p><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig">Figure </xref>A3</label><caption><title> Plot of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x38.png" xlink:type="simple"/></inline-formula> using all observations of X and Y as targets (h)</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/12-1490377x37.png"/></fig><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig">Figure </xref>A4</label><caption><title> Histogram of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x40.png" xlink:type="simple"/></inline-formula> using all observations of X and Y as targets (h)</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/12-1490377x39.png"/></fig><table-wrap id="table2" ><label><xref ref-type="table" rid="table">Table </xref>A1</label><caption><title> Areas of variables X, Y over the interval [−1, −0.95]</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Target</th><th align="center" valign="middle" >LPM (0,target,x)</th><th align="center" valign="middle" >LPM (0,target,y)</th><th align="center" valign="middle" >LPM (1,target,x)</th><th align="center" valign="middle" >LPM (1,target,y)</th></tr></thead><tr><td align="center" valign="middle" >[−1.0]</td><td align="center" valign="middle" >0.165</td><td align="center" valign="middle" >0.166</td><td align="center" valign="middle" >0.0793658</td><td align="center" valign="middle" >0.0867652</td></tr><tr><td align="center" valign="middle" >[−0.99]</td><td align="center" valign="middle" >0.170</td><td align="center" valign="middle" >0.167</td><td align="center" valign="middle" >0.0810362</td><td align="center" valign="middle" >0.0884257</td></tr><tr><td align="center" valign="middle" >[−0.98]</td><td align="center" valign="middle" >0.170</td><td align="center" valign="middle" >0.169</td><td align="center" valign="middle" >0.0827362</td><td align="center" valign="middle" >0.0901005</td></tr><tr><td align="center" valign="middle" >[−0.97]</td><td align="center" valign="middle" >0.172</td><td align="center" valign="middle" >0.170</td><td align="center" valign="middle" >0.0844422</td><td align="center" valign="middle" >0.0917979</td></tr><tr><td align="center" valign="middle" >[−0.96]</td><td align="center" valign="middle" >0.173</td><td align="center" valign="middle" >0.174</td><td align="center" valign="middle" >0.0861641</td><td align="center" valign="middle" >0.0935241</td></tr><tr><td align="center" valign="middle" >[−0.95]</td><td align="center" valign="middle" >0.174</td><td align="center" valign="middle" >0.176</td><td align="center" valign="middle" >0.0878957</td><td align="center" valign="middle" >0.0952721</td></tr></tbody></table></table-wrap><table-wrap id="table3" ><label><xref ref-type="table" rid="table">Table </xref>A2</label><caption><title> CDF values for different targets for variables X and Y</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Target</th><th align="center" valign="middle" >LPM (0,target,x)</th><th align="center" valign="middle" >LPM (0,target,y)</th></tr></thead><tr><td align="center" valign="middle" >[−1.0]</td><td align="center" valign="middle" >0.165</td><td align="center" valign="middle" >0.166</td></tr><tr><td align="center" valign="middle" >[−0.99]</td><td align="center" valign="middle" >0.17</td><td align="center" valign="middle" >0.167</td></tr><tr><td align="center" valign="middle" >[−0.98]</td><td align="center" valign="middle" >0.17</td><td align="center" valign="middle" >0.169</td></tr><tr><td align="center" valign="middle" >[−0.97]</td><td align="center" valign="middle" >0.172</td><td align="center" valign="middle" >0.17</td></tr><tr><td align="center" valign="middle" >[−0.96]</td><td align="center" valign="middle" >0.173</td><td align="center" valign="middle" >0.174</td></tr><tr><td align="center" valign="middle" >[−0.95]</td><td align="center" valign="middle" >0.174</td><td align="center" valign="middle" >0.176</td></tr></tbody></table></table-wrap><p>used in FSD.</p><p>4) Module 4: Third Degree Stochastic Dominance (TSD)</p><p>Section A: Sort the variables in ascending order. Combine the vectors and sort the combined vector. Create output vectors for areas used in plots.</p><p>B: Create an output vector to store the instances of (area of the cumulative distribution)<sup>2</sup> inequality.</p><p>C: Uses the sorted X and Y variables as the LPM target under n = 2. Thus all observations are used in the stringent “for all h” qualification. If <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x41.png" xlink:type="simple"/></inline-formula> for that observation target h, no</p><p>instance is recorded into the output vector (output_x[i] &lt; −0). Conversely, if</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x42.png" xlink:type="simple"/></inline-formula>for that observation target h, the loop is stopped.</p><p>D: Uses the same logic as (C) above, only tests the inverse area relationships</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x43.png" xlink:type="simple"/></inline-formula>.</p><p>E: Plots the cumulative areas squared for each variable.</p><p>F: Reads the output vectors. If the output vector has 0 instances of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x44.png" xlink:type="simple"/></inline-formula>,</p><p>then X TSD Y.</p><p>G: Test case.</p><p><xref ref-type="fig" rid="fig">Figure </xref>A5 shows the TSD cumulative distribution areas for X and Y. The lower area and thus dominance is</p><p>quite clear. Alternatively viewed as a histogram, <xref ref-type="fig" rid="fig">Figure </xref>A6 illustrates <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x45.png" xlink:type="simple"/></inline-formula> for all positive values (a good thing), while simultaneously <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x46.png" xlink:type="simple"/></inline-formula> for all negative values (also a good thing).</p></sec><sec id="s8"><title>A.2. Generalized Stochastic Dominance Efficient Sets</title><p>To extend the stochastic dominance tests and examine multiple portfolios, we use inspiration from Braid Theory. Braid Theory is an abstract geometric theory studying the everyday braid concept and we envision the CDFs as strings in these braids. Braids will nullify SD and avoid placing the CDFs in the “Dominated Set”. <xref ref-type="fig" rid="fig">Figure </xref>A7 provides a visual representation of CDFs to braids, highlighting the crossing of CDFs the stochastic dominance routine is designed to decipher.</p><p>By testing for SD using the final ranks for that SD degree, we can derive the SD efficient sets. If a portfolio is dominated by a higher final ranked one, it is out of the efficient set. Example in Row 5 Column 4:</p><p>・ The highest final ranked portfolio is the “Base”. Test the “Base” portfolio against the next highest ranked, the “Challenger”. 4 v 2. No SD exists. 2 joins the “Current Base” vector to run unidirectional<sup>5</sup> SD tests from.</p><p>・ Test the new “Base” against the next “Challenger”. 2 v 3.2 SD 3. 3 is placed in the “Dominated Set”.</p><p>・ Test the new “Base” against the next “Challenger”. 2 is the last entry in the “Current Base”. 2 v 1. No SD</p><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig">Figure </xref>A5</label><caption><title> Plot of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x49.png" xlink:type="simple"/></inline-formula> using all observations of X and Y as targets (h). Note the effects of the higher loss aversion (n) on the distribution versus SSD cumulative plot in <xref ref-type="fig" rid="fig">Figure </xref>A3</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/12-1490377x48.png"/></fig><fig id="fig6"  position="float"><label><xref ref-type="fig" rid="fig">Figure </xref>A6</label><caption><title> Plot of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/12-1490377x52.png" xlink:type="simple"/></inline-formula> using all observations of X and Y as targets (h). Note the effects of the higher loss aversion (n) on the distribution versus the SSD histogram in <xref ref-type="fig" rid="fig">Figure </xref>A4</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/12-1490377x50.png"/></fig><p>exists. Test the remaining “Current Base” vector against 1. 4 v 1. No SD exists, 1 joins the “Current Base”.</p><p>・ There are no more “Challengers”. Stop the procedure. The SD efficient set is the final ranked set less the “Dominated Set” {4,2,1}.</p><p>・ #1 (the largest minimum value) can never be dominated, thus it is in every efficient set.</p><p>This procedure is different than that proposed by Porter, Wart and Ferguson [<xref ref-type="bibr" rid="scirp.63817-ref12">12</xref>] in several regards. One difference is that we do not check multiple SD degrees simultaneously<sup>6</sup>. Our second difference is we determine the final ranking by ordering the LPMs from the maximum of all observations. We substitute the degree 1 LPM final ranking for Porter et al.’s use of means and variances in ranking the securities. Finally, our third difference is the integration of the “Tricks” Porter et al. [<xref ref-type="bibr" rid="scirp.63817-ref12">12</xref>] identified to reduce the computational burden. We use the minimum value check as an “if” condition (“Trick 1”); and {break} commands at the end of each observation if a “Base” falls behind the “Challenger”.</p><fig id="fig7"  position="float"><label><xref ref-type="fig" rid="fig">Figure </xref>A7</label><caption><title> SD efficient sets (in red), versus ranked securities or portfolios in ascending order by their LPM from the maximum observation across all variables</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/12-1490377x53.png"/></fig></sec><sec id="s9"><title>Appendix B. Security Listing (Return, StdDev and SemiDev Are in Monthly Percent)</title><disp-formula id="scirp.63817-formula375"><graphic  xlink:href="http://html.scirp.org/file/12-1490377x54.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63817-formula376"><graphic  xlink:href="http://html.scirp.org/file/12-1490377x55.png"  xlink:type="simple"/></disp-formula></sec><sec id="s10"><title>Appendix C</title>R CODE<p>This section of the paper will provide the R code for the stochastic dominance test using lower partial moments.</p><p>1) Module 1: Lower Partial Moment Function (LPM)</p><disp-formula id="scirp.63817-formula377"><graphic  xlink:href="http://html.scirp.org/file/12-1490377x56.png"  xlink:type="simple"/></disp-formula><p>2) Module 2: First Degree Stochastic Dominance (FSD) [Bi-directional]</p><disp-formula id="scirp.63817-formula378"><graphic  xlink:href="http://html.scirp.org/file/12-1490377x57.png"  xlink:type="simple"/></disp-formula><p>3) Module 3: Second Degree Stochastic Dominance (SSD) [Bi-directional]</p><disp-formula id="scirp.63817-formula379"><graphic  xlink:href="http://html.scirp.org/file/12-1490377x58.png"  xlink:type="simple"/></disp-formula><p>4) Module 4: Third Degree Stochastic Dominance (TSD) [Bi-directional]</p><disp-formula id="scirp.63817-formula380"><graphic  xlink:href="http://html.scirp.org/file/12-1490377x59.png"  xlink:type="simple"/></disp-formula><p>5) Module 5: Stochastic Dominance Efficient Set (SDES) &amp; Uni-directional SD Tests</p><disp-formula id="scirp.63817-formula381"><graphic  xlink:href="http://html.scirp.org/file/12-1490377x60.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63817-formula382"><graphic  xlink:href="http://html.scirp.org/file/12-1490377x61.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63817-formula383"><graphic  xlink:href="http://html.scirp.org/file/12-1490377x62.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63817-formula384"><graphic  xlink:href="http://html.scirp.org/file/12-1490377x63.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.63817-formula385"><graphic  xlink:href="http://html.scirp.org/file/12-1490377x64.png"  xlink:type="simple"/></disp-formula></sec><sec id="s11"><title>NOTES</title></sec></body><back><ref-list><title>References</title><ref id="scirp.63817-ref1"><label>1</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Bawa</surname><given-names> V.S. </given-names></name>,<etal>et al</etal>. (<year>1975</year>)<article-title>Optimal Rules for Ordering Uncertain Prospects</article-title><source> Journal of Financial Economics</source><volume> 2</volume>,<fpage> 95</fpage>-<lpage>121</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.63817-ref2"><label>2</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Fishburn</surname><given-names> P. </given-names></name>,<etal>et al</etal>. (<year>1977</year>)<article-title>Mean-Risk Analysis with Risk Associated with Below-Target Returns</article-title><source> American Economic Review</source><volume> 67</volume>,<fpage> 116</fpage>-<lpage>126</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.63817-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Hadar, J. and Russel, W.R. (1969) Rules for Ordering Uncertain Prospects. The American Economic Review, 59, 25-34.</mixed-citation></ref><ref id="scirp.63817-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Nawrocki, D. (1992) The Characteristics of Portfolios Selected by N-Degree Lower Partial Moment. International Review of Financial Analysis, 1, 195-209. &lt;/br&gt;http://dx.doi.org/10.1016/1057-5219(92)90004-N</mixed-citation></ref><ref id="scirp.63817-ref5"><label>5</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Bey</surname><given-names> R.P. </given-names></name>,<etal>et al</etal>. (<year>1979</year>)<article-title>Estimating the Optimal Stochastic Dominance Efficient Set with a Mean-Semivariance Algorithm</article-title><source> Journal of Financial and Quantitative Analysis</source><volume> 14</volume>,<fpage> 1059</fpage>-<lpage>1070</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.63817-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Markowitz, H.M. (2010) Portfolio Theory: As I Still See It. Annual Review Financial Economics, 2, 1-23. &lt;/br&gt;http://dx.doi.org/10.1146/annurev-financial-011110-134602</mixed-citation></ref><ref id="scirp.63817-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Nawrocki, D. (1999) A Brief History of Downside Risk Measures. The Journal of Investing, 8, 9-25.&lt;/br&gt;http://dx.doi.org/10.3905/joi.1999.319365</mixed-citation></ref><ref id="scirp.63817-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Tehranian, H. (1980) Empirical Studies in Portfolio Performance Using Higher Degrees of Stochastic Dominance. The Journal of Finance, 35, 159-171. &lt;/br&gt;http://dx.doi.org/10.1111/j.1540-6261.1980.tb03478.x</mixed-citation></ref><ref id="scirp.63817-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Helms, B.P., Jean, W.H. and Tehranian, H. (1986) An Algorithm for NTH Degree Stochastic Dominance. Applied Stochastic Models and Data Analysis, 2, 71-81. &lt;/br&gt;http://dx.doi.org/10.1002/asm.3150020107</mixed-citation></ref><ref id="scirp.63817-ref10"><label>10</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Porter</surname><given-names> R.B. </given-names></name>,<etal>et al</etal>. (<year>1974</year>)<article-title>Semivariance and Stochastic Dominance: A Comparison</article-title><source> The American Economic Review</source><volume> 64</volume>,<fpage> 200</fpage>-<lpage>204</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.63817-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Klecan, L., McFadden, R. and McFadden, D. (1991) A Robust Test for Stochastic Dominance. Working Paper, Department of Economics, MIT, Cambridge.</mixed-citation></ref><ref id="scirp.63817-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Porter, R.B., Wart, J.R. and Ferguson, D.L. (1973) Efficient Algorithms for Conducting Stochastic Dominance Tests on Large Numbers of Portfolios. Journal of Financial and Quantitative Analysis, 8, 71-81. &lt;/br&gt;http://dx.doi.org/10.2307/2329749</mixed-citation></ref><ref id="scirp.63817-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Bey, R.P., Burgess, R.C. and Kearns, R.B. (1984) Moving Stochastic Dominance: An Alternative Method for Testing Market Efficiency. Journal of Financial Research, 7, 185-196. &lt;/br&gt;http://dx.doi.org/10.1111/j.1475-6803.1984.tb00369.x</mixed-citation></ref><ref id="scirp.63817-ref14"><label>14</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Whitmore</surname><given-names> G.A. </given-names></name>,<etal>et al</etal>. (<year>1970</year>)<article-title>Third-Degree Stochastic Dominance</article-title><source> The American Economic Review</source><volume> 60</volume>,<fpage> 457</fpage>-<lpage>459</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.63817-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Kahneman, D. and Tversky, A. (1979) Prospect Theory: An Analysis of Decision under Risk. Econometrica: Journal of the Econometric Society, 47, 263-291. &lt;/br&gt;http://dx.doi.org/10.2307/1914185</mixed-citation></ref><ref id="scirp.63817-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Levy, H. and Levy, M. (2004) Prospect Theory and Mean-Variance Analysis. The Review of Financial Studies, 17, 1015-1041. &lt;/br&gt;http://dx.doi.org/10.1093/rfs/hhg062</mixed-citation></ref><ref id="scirp.63817-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Levy, H. and Levy, M. (2009) The Safety First Expected Utility Model: Experimental Evidence and Economic Implications. Journal of Banking &amp; Finance, 33, 1494-1506. &lt;/br&gt;http://dx.doi.org/10.1016/j.jbankfin.2009.02.014</mixed-citation></ref><ref id="scirp.63817-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Post, T. and Levy, H. (2005) Does Risk Seeking Drive Stock Prices? A Stochastic Dominance Analysis of Aggregate Investor Preferences and Beliefs. Review of Financial Studies, 18, 925-953. &lt;/br&gt;http://dx.doi.org/10.1093/rfs/hhi021</mixed-citation></ref><ref id="scirp.63817-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Baltussen, G., Post, T. and Van Vliet, P. (2006) Violations of Cumulative Prospect Theory in Mixed Gambles with Moderate Probabilities. Management Science, 52, 1288-1290. &lt;/br&gt;http://dx.doi.org/10.1287/mnsc.1050.0544</mixed-citation></ref><ref id="scirp.63817-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Post, T., Van Vliet, P. and Levy, H. (2008) Risk Aversion and Skewness Preference. Journal of Banking &amp; Finance, 32, 1178-1187. &lt;/br&gt;http://dx.doi.org/10.1016/j.jbankfin.2006.02.008</mixed-citation></ref><ref id="scirp.63817-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Viole, F. and Nawrocki, D. (2011) The Utility of Wealth in an Upper- and Lower-Partial Moment Fabric. The Journal of Investing, 20, 58-85. &lt;/br&gt;http://dx.doi.org/10.3905/joi.2011.20.2.058</mixed-citation></ref><ref id="scirp.63817-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Viole, F. and Nawrocki, D. (2013) An Analysis of Heterogeneous Utility Benchmarks in a Zero Return Environment. International Review of Financial Analysis, 28, 190-198. &lt;/br&gt;http://dx.doi.org/10.1016/j.irfa.2013.02.014</mixed-citation></ref><ref id="scirp.63817-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Cumova, D. and Nawrocki, D. (2014) Portfolio Optimization in an Upside Potential and Downside Risk Framework. Journal of Economics and Business, 71, 68-89. &lt;/br&gt;http://dx.doi.org/10.1016/j.jeconbus.2013.08.001</mixed-citation></ref></ref-list></back></article>