<?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>
									How to declare ADFDistribution for AugmentedDickeyFuller in C# code - General Discussion				            </title>
            <link>https://nm.dev/forums/nmdev-discussion/how-to-declare-adfdistribution-for-augmenteddickeyfuller-in-c-code/</link>
            <description>NM DEV Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 18 May 2026 09:35:53 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: 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/#post-82</link>
                        <pubDate>Tue, 30 Jul 2024 16:07:47 +0000</pubDate>
                        <description><![CDATA[I think I found a way like this:
ADFDistribution dist = TrendType.NO_CONSTANT.getDistribution(data.Length);
Thank you!]]></description>
                        <content:encoded><![CDATA[<p>I think I found a way like this:<br /><br /></p>
<pre contenteditable="false">ADFDistribution dist = TrendType.NO_CONSTANT.getDistribution(data.Length);</pre>
<p>Thank you!</p>]]></content:encoded>
						                            <category domain="https://nm.dev/forums/nmdev-discussion/">General Discussion</category>                        <dc:creator>Anonymous</dc:creator>
                        <guid isPermaLink="true">https://nm.dev/forums/nmdev-discussion/how-to-declare-adfdistribution-for-augmenteddickeyfuller-in-c-code/#post-82</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/#post-81</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/nmdev-discussion/">General Discussion</category>                        <dc:creator>Anonymous</dc:creator>
                        <guid isPermaLink="true">https://nm.dev/forums/nmdev-discussion/how-to-declare-adfdistribution-for-augmenteddickeyfuller-in-c-code/#post-81</guid>
                    </item>
							        </channel>
        </rss>
		