Big assumption 1 to make any of this even close: The coefficients have a normal (or nearly normal) distribution. Big assumption 2: You want the distribution of the coefficients, rather than the X's and W's. 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. 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. See http://web.williams.edu/go/math/sjmiller/public_html/BrownClasses/162/Handouts/MedianThm04.pdf (page 4). 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. 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. 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. With only 28 observations, these would be the minimum and maximum. 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. Good luck, and I hope this helps some. Steve Denham
... View more