<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: P-value, median coefficients, system of equations in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/P-value-median-coefficients-system-of-equations/m-p/132861#M6937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Big assumption 1 to make any of this even close: The coefficients have a normal (or nearly normal) distribution.&lt;/P&gt;&lt;P&gt;Big assumption 2: You want the distribution of the coefficients, rather than the X's and W's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If these are met, then the distribution of the coefficients has an expected value of mu (mean) and a variance of pi*sigma^2/(4*m), where m is the number of observations.&amp;nbsp; Plugging in the 28 you have for the number of observations, I get something like: 0.16748114642266969311508887484349 * sigma hat, as the standard error you want to put in for std, where sigma hat is the estimate of the standard deviation of the sample of coefficients.&lt;/P&gt;&lt;P&gt;See &lt;A href="http://web.williams.edu/go/math/sjmiller/public_html/BrownClasses/162/Handouts/MedianThm04.pdf"&gt;http://web.williams.edu/go/math/sjmiller/public_html/BrownClasses/162/Handouts/MedianThm04.pdf&lt;/A&gt; (page 4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But all this really makes me curious--you probably wouldn't look at the median as an estimator unless there was pretty strong evidence that the distribution was something that deviates substantially from normal.&amp;nbsp; Consequently, the estimator given here is going to be off, and you don't know how much, thus the p values obtained are sketchy at best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are truly concerned about the distribution, why not look at the sample distribution and select the observations at the 2.5th and 97.5th percentiles to form a nonparametric confidence interval.&amp;nbsp; With only 28 observations, these would be the minimum and maximum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if all this is about the distributions of the independent variables, rather than the coefficients, you could make the change in the denominator of the variance estimator to get a standard error, but it might just be easier to do a median test on the values and get a p value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck, and I hope this helps some.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2012 11:52:55 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2012-06-06T11:52:55Z</dc:date>
    <item>
      <title>P-value, median coefficients, system of equations</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/P-value-median-coefficients-system-of-equations/m-p/132860#M6936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Georgia, Times, serif; font-size: 14px; text-align: justify; background-color: #ffffff;"&gt;Hello, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Georgia, Times, serif; font-size: 14px; text-align: justify; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Georgia, Times, serif; font-size: 14px; text-align: justify; background-color: #ffffff;"&gt;I am running a system of 28 equations, using OLS. I wish to determine the significance of the median coefficients by calculating the associated p-values. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Georgia, Times, serif; font-size: 14px; text-align: justify; background-color: #ffffff;"&gt;What standard deviation should I use? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Georgia, Times, serif; font-size: 14px; text-align: justify; background-color: #ffffff;"&gt;To give more details: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Georgia, Times, serif; font-size: 14px; text-align: justify; background-color: #ffffff;"&gt;My sample is partitioned into 28 industries, I thus estimate: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Georgia, Times, serif; font-size: 14px; text-align: justify; background-color: #ffffff;"&gt;Y1 = a1 + b1X1 + c1W1 + e1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Georgia, Times, serif; font-size: 14px; text-align: justify; background-color: #ffffff;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Georgia, Times, serif; font-size: 14px; text-align: justify; background-color: #ffffff;"&gt;y28=a28 +b28X28 + c28W28 + e28&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Georgia, Times, serif; font-size: 14px; text-align: justify; background-color: #ffffff;"&gt;I want to assess how significantly different from zero is median(X), and similarly for W and a. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Georgia, Times, serif; font-size: 14px; text-align: justify; background-color: #ffffff;"&gt;So my p-value should be p-value=2*(1-prob((med(x)-0))/std). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Georgia, Times, serif; font-size: 14px; text-align: justify; background-color: #ffffff;"&gt;Problem is, what is the correct standard deviation? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Georgia, Times, serif; font-size: 14px; text-align: justify; background-color: #ffffff;"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 21:13:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/P-value-median-coefficients-system-of-equations/m-p/132860#M6936</guid>
      <dc:creator>dreanne</dc:creator>
      <dc:date>2012-06-05T21:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: P-value, median coefficients, system of equations</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/P-value-median-coefficients-system-of-equations/m-p/132861#M6937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Big assumption 1 to make any of this even close: The coefficients have a normal (or nearly normal) distribution.&lt;/P&gt;&lt;P&gt;Big assumption 2: You want the distribution of the coefficients, rather than the X's and W's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If these are met, then the distribution of the coefficients has an expected value of mu (mean) and a variance of pi*sigma^2/(4*m), where m is the number of observations.&amp;nbsp; Plugging in the 28 you have for the number of observations, I get something like: 0.16748114642266969311508887484349 * sigma hat, as the standard error you want to put in for std, where sigma hat is the estimate of the standard deviation of the sample of coefficients.&lt;/P&gt;&lt;P&gt;See &lt;A href="http://web.williams.edu/go/math/sjmiller/public_html/BrownClasses/162/Handouts/MedianThm04.pdf"&gt;http://web.williams.edu/go/math/sjmiller/public_html/BrownClasses/162/Handouts/MedianThm04.pdf&lt;/A&gt; (page 4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But all this really makes me curious--you probably wouldn't look at the median as an estimator unless there was pretty strong evidence that the distribution was something that deviates substantially from normal.&amp;nbsp; Consequently, the estimator given here is going to be off, and you don't know how much, thus the p values obtained are sketchy at best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are truly concerned about the distribution, why not look at the sample distribution and select the observations at the 2.5th and 97.5th percentiles to form a nonparametric confidence interval.&amp;nbsp; With only 28 observations, these would be the minimum and maximum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if all this is about the distributions of the independent variables, rather than the coefficients, you could make the change in the denominator of the variance estimator to get a standard error, but it might just be easier to do a median test on the values and get a p value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck, and I hope this helps some.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 11:52:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/P-value-median-coefficients-system-of-equations/m-p/132861#M6937</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-06-06T11:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: P-value, median coefficients, system of equations</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/P-value-median-coefficients-system-of-equations/m-p/132862#M6938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;I know that the above makes BIG assumptions, but I am trying to replicate someone's results... I'll see if I need to correct these assumptions later. &lt;/P&gt;&lt;P&gt;But your answer does help me, thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 12:40:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/P-value-median-coefficients-system-of-equations/m-p/132862#M6938</guid>
      <dc:creator>dreanne</dc:creator>
      <dc:date>2012-06-06T12:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: P-value, median coefficients, system of equations</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/P-value-median-coefficients-system-of-equations/m-p/132863#M6939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not approach the problem by pooling the 28 industries?&amp;nbsp; That way, the b's and c's would be lumped into two t-statistics that would automatically tell you if they are significantly different from zero.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 10:51:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/P-value-median-coefficients-system-of-equations/m-p/132863#M6939</guid>
      <dc:creator>xtc283</dc:creator>
      <dc:date>2012-06-18T10:51:27Z</dc:date>
    </item>
  </channel>
</rss>

