<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									NM DEV Forum - Recent Topics				            </title>
            <link>https://nm.dev/forums/</link>
            <description>NM DEV Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Sat, 04 Apr 2026 17:12:58 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>How to calculate the Akaike Information Criterion (AIC)</title>
                        <link>https://nm.dev/forums/nmdev-discussion/how-to-calculate-the-akaike-information-criterion-aic/</link>
                        <pubDate>Tue, 30 Jul 2024 16:51:25 +0000</pubDate>
                        <description><![CDATA[In below code I return the &quot;pValue&quot; in the &quot;AugmentedDickeyFuller&quot;. Now we can use different LagOrder parameters where it is important to choose the &quot;best&quot; possible lagOrder to return as acc...]]></description>
                        <content:encoded><![CDATA[<p>In below code I return the "pValue" in the "AugmentedDickeyFuller". <br />Now we can use different LagOrder parameters where it is important to choose the "best" possible lagOrder to return as accurate "pValue" as possible.<br /><br />Normally a good way to determine what LagOrder value to choose is by calculate the <br /><strong>Akaike Information Criterion (AIC)</strong>.<br /><br />Where the lowest found AIC would be a good pValue to choose.<br /><br />I am not sure how to calculate the AIC with the library in this context?<br />Below line is just pseudo code and that function do not exist but show the intent.<br /><br />Thank you!</p>
<pre contenteditable="false">CalculateAIC(statistic, lagOrder)</pre>
<pre contenteditable="false">TrendType P_1 = TrendType.CONSTANT;
ADFDistribution dist = P_1.getDistribution(array_MSFT.Length);

double minAIC = double.MaxValue;
int bestLagOrder = 0;

int maxLagOrder = 20;
for (int lagOrder = 0; lagOrder &lt;= maxLagOrder; lagOrder++) {
    AugmentedDickeyFuller ADFtest = new AugmentedDickeyFuller(array_MSFT, P_1, lagOrder, dist);
    double pValue = ADFtest.pValue();
    double statistic = ADFtest.statistics();

    //How to Implement AIC calculation? (Pseudo Code)
    double aic = CalculateAIC(statistic, lagOrder); 
    
    if (aic &lt; minAIC) {
        minAIC = aic;
        bestLagOrder = lagOrder;
    }
}</pre>]]></content:encoded>
						                            <category domain="https://nm.dev/forums/"></category>                        <dc:creator>Anonymous</dc:creator>
                        <guid isPermaLink="true">https://nm.dev/forums/nmdev-discussion/how-to-calculate-the-akaike-information-criterion-aic/</guid>
                    </item>
				                    <item>
                        <title>How to declare ADFDistribution for AugmentedDickeyFuller in C# code</title>
                        <link>https://nm.dev/forums/nmdev-discussion/how-to-declare-adfdistribution-for-augmenteddickeyfuller-in-c-code/</link>
                        <pubDate>Mon, 29 Jul 2024 01:06:42 +0000</pubDate>
                        <description><![CDATA[Hello,I am trying to understand how to create the: AugmentedDickeyFullerThe parameter I have problem to declare is the below ADFDistribution
ADFDistribution ADF_dist
How to implement that ...]]></description>
                        <content:encoded><![CDATA[<p>Hello,<br /><br />I am trying to understand how to create the: AugmentedDickeyFuller<br /><br />The parameter I have problem to declare is the below ADFDistribution</p>
<pre contenteditable="false">ADFDistribution ADF_dist</pre>
<p><br /><br />How to implement that correctly for this C# code?</p>
<p>Thank you!<br /><br /></p>
<pre contenteditable="false">            double[] array_MSFT = new double { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
            int lagOrder = 0;
            ADFDistribution ADF_dist = new ???
            AugmentedDickeyFuller ADFtest = new AugmentedDickeyFuller(array_MSFT, TrendType.CONSTANT, lagOrder, ADF_dist);

            double pValue = ADFtest.pValue();
            double statistic = ADFtest.statistics();
            MessageBox.Show(pValue + "__" + statistic);</pre>]]></content:encoded>
						                            <category domain="https://nm.dev/forums/"></category>                        <dc:creator>Anonymous</dc:creator>
                        <guid isPermaLink="true">https://nm.dev/forums/nmdev-discussion/how-to-declare-adfdistribution-for-augmenteddickeyfuller-in-c-code/</guid>
                    </item>
				                    <item>
                        <title>Using the library in an open source project</title>
                        <link>https://nm.dev/forums/nmdev-discussion/using-the-library-in-an-open-source-project/</link>
                        <pubDate>Sun, 19 Feb 2023 12:12:16 +0000</pubDate>
                        <description><![CDATA[I&#039;m the main developer of an open source algo-trading platform and SuanShu or NMDev seems to be a good library to base some more advanced strategies upon. As far as I can tell, only SuanShu ...]]></description>
                        <content:encoded><![CDATA[<p>I'm the main developer of an open source algo-trading platform and SuanShu or NMDev seems to be a good library to base some more advanced strategies upon. <br /><br />As far as I can tell, only SuanShu (2012 release as available on GitHub) comes under the open source Apace license that would allow me to modify and redistribute it. Already great that this version has been open sourced 👍. <br /><br />NM Dev om the other hand requires a commercial license by the <strong>end user</strong>. That would prohibit me from releasing my own software for free since if I include nm.dev library (even if I pay for it and only include the binary), I cannot redistribute it.<br /><br />Any insights (especially if I'm wrong), would be very welcome? Thanks in advance for any help!!!</p>
<p><br />For those interested in the open source algo-trading project, checkout <a href="http://roboquant" target="_blank" rel="noopener">http://roboquant.org</a> <br /><br /></p>
<p>Kind regards,</p>
<p>Peter</p>]]></content:encoded>
						                            <category domain="https://nm.dev/forums/"></category>                        <dc:creator>Anonymous</dc:creator>
                        <guid isPermaLink="true">https://nm.dev/forums/nmdev-discussion/using-the-library-in-an-open-source-project/</guid>
                    </item>
				                    <item>
                        <title>nmdev, the numerical method Java library, version 1.2.4 has been released</title>
                        <link>https://nm.dev/forums/nmdev-discussion/nmdev-the-numerical-method-java-library-version-1-2-4-has-been-released/</link>
                        <pubDate>Fri, 04 Nov 2022 10:39:13 +0000</pubDate>
                        <description><![CDATA[nmdev version 1.2.4 has been released. This is a minor version update and small bug fixes.]]></description>
                        <content:encoded><![CDATA[<p>nmdev version 1.2.4 has been released. This is a minor version update and small bug fixes.</p>]]></content:encoded>
						                            <category domain="https://nm.dev/forums/"></category>                        <dc:creator>haksunli</dc:creator>
                        <guid isPermaLink="true">https://nm.dev/forums/nmdev-discussion/nmdev-the-numerical-method-java-library-version-1-2-4-has-been-released/</guid>
                    </item>
				                    <item>
                        <title>Purpose of buying Numerical Methods using java....</title>
                        <link>https://nm.dev/forums/nmdev-discussion/purpose-of-buying-numerical-methods-using-java/</link>
                        <pubDate>Thu, 15 Sep 2022 23:17:32 +0000</pubDate>
                        <description><![CDATA[Hi
What&#039;t the purpose of buying the book &#039;Numerical Methods using java...&#039; when the free version is a different librarie which isn&#039;t usable (chapter 5) or when the nmdev-1.0.0 download has ...]]></description>
                        <content:encoded><![CDATA[<p>Hi</p>
<p>What't the purpose of buying the book 'Numerical Methods using java...' when the free version (<a href="https://github.com/nmltd/SuanShu/tree/master/20120606%20src/src/main/java/com/numericalmethod/suanshu" target="_blank" rel="noopener">https://github.com/nmltd/SuanShu/tree/master/20120606%20src/src/main/java/com/numericalmethod/suanshu</a>) is a different librarie which isn't usable (chapter 5) or when the nmdev-1.0.0 download has a licence which is expired at 2020-05-12</p>
<p>Can you give a new trial-licence for nmdev-1.0.0</p>
<p>Kind regards</p>
<p>Arnoud</p>]]></content:encoded>
						                            <category domain="https://nm.dev/forums/"></category>                        <dc:creator>citroenie</dc:creator>
                        <guid isPermaLink="true">https://nm.dev/forums/nmdev-discussion/purpose-of-buying-numerical-methods-using-java/</guid>
                    </item>
				                    <item>
                        <title>S2</title>
                        <link>https://nm.dev/forums/s2-discussion/s2-2/</link>
                        <pubDate>Sat, 20 Aug 2022 06:59:00 +0000</pubDate>
                        <description><![CDATA[The read_me_first page on S2 is very helpful. Thank you]]></description>
                        <content:encoded><![CDATA[<p>The read_me_first page on S2 is very helpful. Thank you</p>]]></content:encoded>
						                            <category domain="https://nm.dev/forums/"></category>                        <dc:creator>divyang</dc:creator>
                        <guid isPermaLink="true">https://nm.dev/forums/s2-discussion/s2-2/</guid>
                    </item>
				                    <item>
                        <title>S2</title>
                        <link>https://nm.dev/forums/s2-discussion/s2/</link>
                        <pubDate>Fri, 19 Aug 2022 13:05:49 +0000</pubDate>
                        <description><![CDATA[Why does S2 show a server launch?]]></description>
                        <content:encoded><![CDATA[<p> </p>
<p dir="ltr" style="line-height: 1.38;margin-top: 0pt;margin-bottom: 0pt"><span style="font-size: 11pt;font-family: Arial;color: #000000;background-color: transparent;font-weight: 400;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline">Why does S2 show a server launch?</span></p>]]></content:encoded>
						                            <category domain="https://nm.dev/forums/"></category>                        <dc:creator>stokey</dc:creator>
                        <guid isPermaLink="true">https://nm.dev/forums/s2-discussion/s2/</guid>
                    </item>
				                    <item>
                        <title>quantitative analyst</title>
                        <link>https://nm.dev/forums/jobs/quantitative-analyst/</link>
                        <pubDate>Tue, 16 Aug 2022 11:09:26 +0000</pubDate>
                        <description><![CDATA[We are seeking a senior Quantitative Analyst to join the team. This role will be responsible for the development and implementation of financial asset pricing models in addition to managing ...]]></description>
                        <content:encoded><![CDATA[<p>We are seeking a senior <strong><span>Quantitative Analyst</span></strong><span> </span>to join the team. This role will be responsible for the development and implementation of financial asset pricing models in addition to managing data and processes to estimate and report on risk exposures in a portfolio.</p>
<p>The primary responsibilities of the role are:</p>
<ul>
<li>Model development and stress testing.</li>
<li>Instrument valuation and pricing across all Equities and Fixed Income products (Exchange Traded and OTC)</li>
<li>Maintenance of existing models</li>
<li>Risk analysis and management</li>
<li>Development of code for pricing models and risk models in Java</li>
<li>Contribute to the development of Stress Testing methodologies.</li>
<li>Assist and contribute to key projects in the organization.</li>
</ul>
<p>Who we’re looking for:</p>
<ul>
<li>5+ years in a quantitative role</li>
<li>Must have a Ph.D. in mathematics, statistics, computer science or a related field</li>
<li>Must have a M.S./Ph.D. degree in quantitative finance or quantitative mathematics</li>
<li>Strong understanding of derivatives</li>
<li>Exceptional knowledge of equities and rates products</li>
<li>Strong coding experience in Java, C++, Python, R and SQL</li>
<li>Experience working on a trading floor with a large investment bank</li>
<li>Excellent stakeholder engagement skills</li>
<li>Publications</li>
</ul>
<p> </p>]]></content:encoded>
						                            <category domain="https://nm.dev/forums/"></category>                        <dc:creator>haksunli</dc:creator>
                        <guid isPermaLink="true">https://nm.dev/forums/jobs/quantitative-analyst/</guid>
                    </item>
				                    <item>
                        <title>senior executives/C-suites for a multi-family office</title>
                        <link>https://nm.dev/forums/jobs/senior-executives-c-suites-for-a-multi-family-office/</link>
                        <pubDate>Tue, 16 Aug 2022 10:08:05 +0000</pubDate>
                        <description><![CDATA[The BusinessWe&#039;re running a search to appoint a CEO to lead a new multi–Family Office in Singapore.The role is a key appointment to a small and stable office with a long-term investment stra...]]></description>
                        <content:encoded><![CDATA[<p><strong>The Business</strong><span></span><br /><br /><span>We're running a search to appoint a CEO to lead a new multi–Family Office in Singapore.</span><br /><span>The role is a key appointment to a small and stable office with a long-term investment strategy as well as client services.</span><br /><br /><span>It will be a broad remit across all financial and administrative matters, including</span><br /><span>risk management in order to provide support to a substantial equity portfolio and investment business.</span><br /><br /><span>The role is both high-level and detailed with a high level of autonomy and accountability.</span><br /><br /><strong>The Opportunity</strong><span></span><br /><br /><span>Working hand in hand with the principals, this role will be responsible for but not limited to the following:</span></p>
<ul>
<li>Be resourceful enough to bring in new clients and families, investors and LPs</li>
<li>Ensure a successful separation from the current Family Office and set up systems, processes and governance for the new organization</li>
<li>Manage all accounting, taxation and statutory obligations including company secretarial</li>
<li>Be involved in investment decision making and strategies, including appropriate taxation structuring in conjunction with external advisors</li>
<li>Lead and coordinate the development, collection and validation of all data required</li>
<li>Lead the ongoing development of reports and reporting requirements for the business</li>
<li>Maintain a comprehensive understanding of the accounting, financial and forecast data being reported</li>
<li>Lead any ad-hoc projects as required</li>
</ul>
<p><br /><strong>About You</strong><span></span><br /><br /><span>The ideal candidate will be an experienced CEO, CFO or Head of Finance with relevant experience in the investment management sector in equities, fixed incomes and alternative investments.</span><br /><br /><span>Ideally, you will have been in another family office environment with a culture of trust and confidentiality. Strong and current taxation knowledge is critical, as is a broader financial skillset and an interest in equities investing.</span><br /><br /><span>You will be CFA/CPA qualified (or equivalent), whilst a corporate or professional services background is preferred with the maturity to work autonomously in a friendly and flexible environment.</span><br /><br /><span>Importantly, the candidate will be seeking a long-term employer and a stable environment where they can build trust and contribute to a successful growth strategy over many years.</span><br /><br /><span>You will be well organized, with the capacity to ensure deadlines are met.</span><br /><br /><span>Please apply by emailing your resume to career@nm.dev.</span></p>]]></content:encoded>
						                            <category domain="https://nm.dev/forums/"></category>                        <dc:creator>haksunli</dc:creator>
                        <guid isPermaLink="true">https://nm.dev/forums/jobs/senior-executives-c-suites-for-a-multi-family-office/</guid>
                    </item>
				                    <item>
                        <title>How to be sure that two series are cointegrated with CointegrationMLE and JohansenTest</title>
                        <link>https://nm.dev/forums/nmdev-discussion/how-to-be-sure-that-two-series-are-cointegrated-with-cointegrationmle-and-johansentest/</link>
                        <pubDate>Tue, 28 Jun 2022 08:58:39 +0000</pubDate>
                        <description><![CDATA[Hello everyone!I am working on my current java-based project where i have to do assumption is two series cointegrated or not. And i faced with problem that there are not enough duscussions a...]]></description>
                        <content:encoded><![CDATA[<p>Hello everyone!<br />I am working on my current java-based project where i have to do assumption is two series cointegrated or not. And i faced with problem that there are not enough duscussions and community-envolving about nm-dev library.<br />If i used Engle-Granger cointegration test, then i just calculated P-value, T-value, C-value. So i can apply only one condition to bu sure series are cointegrated if <strong>(P-value &lt; 0.5 &amp;&amp; T-value &lt; C-value)</strong>.<br />It is very easy to do with python library "statsmodels" just importing "coint" function that returns all three variables above.</p>
<p>So i need your helping with better understanding how Johanson test works and how can i apply it to my series to do exactly conclusion about cointegration.</p>
<p> </p>
<p>So, i have initialized an instance of the class CointegrationMLE</p>
<pre contenteditable="false">CointegrationMLE cointegrationMLE = new CointegrationMLE(timeSeries, false);</pre>
<p> </p>
<p>And i have numerous parameters, such as</p>
<pre contenteditable="false">n: 198
rank: 2
eigen values: 
alpha: 2x2
 
 -0,087240, 0,001106,
 0,175470, 0,002975,
1-th cointegrating factor: 
2-th cointegrating factor: [1,000000, -0,051580</pre>
<p> </p>
<p>Are these parameters sufficient to make an assumption about series cointegration? And what is the final rule for it?  Do I need to additionally use JohansenTest?</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://nm.dev/forums/"></category>                        <dc:creator>Anonymous</dc:creator>
                        <guid isPermaLink="true">https://nm.dev/forums/nmdev-discussion/how-to-be-sure-that-two-series-are-cointegrated-with-cointegrationmle-and-johansentest/</guid>
                    </item>
							        </channel>
        </rss>
		