tag:blogger.com,1999:blog-2198942534740642384.post8007676039262080870..comments2018-11-11T23:20:36.128-08:00Comments on Econometrics Beat: Dave Giles' Blog: Interpreting Confidence IntervalsDave Gileshttp://www.blogger.com/profile/05389606956062019445noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-2198942534740642384.post-76648312313121019742014-05-31T12:13:51.534-07:002014-05-31T12:13:51.534-07:00Mark -- I too like the culinary example. What led ...Mark -- I too like the culinary example. What led me to Dave's post was a discussion on another stats blog (http://wmbriggs.com/) about Bayesian inference and CI's which prompted me to get more perspectives.<br /><br />One of the things I realized in that and this discussion is that we do not typically draw distributions for the CI case when we teach the concept. In fact, in all the texts I still have, there is not one that does so, although I do not remember for those I tossed out. What is done instead is to present a table with 10 to 20 random samples drawn from a given distribution, computing the sample mean and the CI's for each, and showing how the true parameter is in these intervals 5 or 10% of the time. And then we make the statement that for the typical case of one sample that the true parameter is either in the interval or it is not. The students nearly always have a hard time with this. I suspect that this is because the verbal discussion is not usually translated into diagrams. <br /><br />But we know from neuroscience that the computing power of the visual cortex is very large indeed, and thus the oft repeated statement that a picture is worth a thousand words.<br /><br />I cannot draw the distributions here, but what may be clearer intuitively is to draw the distribution for the population, mark the X axis with the values of the random variable in that distribution, then select a sample AND plot the frequency diagram or distribution of that sample on the parent distribution diagram. Easy to show a sample distribution out near the tails that does not contain mu. Do this a few times with other samples, and then point to the diagram indicating that mu is in the CI or it is not, and that may be the students sample in practice, or on the job using stats.<br /><br />I don’t know if there are any software programs that do this. <br /><br />Your thoughts?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2198942534740642384.post-37276008562478421542014-05-26T04:34:56.512-07:002014-05-26T04:34:56.512-07:00It looks as though we are debating the meaning of ...It looks as though we are debating the meaning of the word function. To me a function (of x say) is something that we can plot on a graph so its value will vary. So I think of an estimator as being a function of random variables and so is also a random variable. It is the formula for the function that doesn't change and so is not a random variable. A function of X will be a random variable if X is a random variable. pe51terhttps://www.blogger.com/profile/01967023613826064039noreply@blogger.comtag:blogger.com,1999:blog-2198942534740642384.post-67226624417966348382014-05-26T04:09:19.593-07:002014-05-26T04:09:19.593-07:00To be absolutely clear on this point we need to re...To be absolutely clear on this point we need to recognize that we are are talking about three different things here. Observational values (or observations) are only random before we know what they are - ie before we measure or collect them. In formulae we usually denote such observations with capital letters and refer to an estimator. When we measure/collect (or whatever) the observations and plug them into a formula we have an estimate. But the known values can be denoted by lower case letters or by real numbers. So, a formula with X's is an estimator if capital X's are used, but an estimate if lower case x's are used. pe51terhttps://www.blogger.com/profile/01967023613826064039noreply@blogger.comtag:blogger.com,1999:blog-2198942534740642384.post-64821444351747125932014-05-21T14:49:34.516-07:002014-05-21T14:49:34.516-07:00OK - that's fair enough!OK - that's fair enough!Dave Gileshttps://www.blogger.com/profile/05389606956062019445noreply@blogger.comtag:blogger.com,1999:blog-2198942534740642384.post-53860897724501082562014-05-21T14:34:46.527-07:002014-05-21T14:34:46.527-07:00Actually, one of the motivations for setting out #...Actually, one of the motivations for setting out #2 in the way that I did was that I wanted to get away from "repeated sampling". If I'm trying to teach this to students, I think talking about repeated realizations would confuse them - I'm afraid they would say, what's the difference between #1 and #2 if both involve CIs "where observational values have been inserted"? And I'd have to explain something that isn't actually central.<br /><br />What I wanted to get at in #1 vs. #2 was that the key difference is between "estimate" and "estimator". (Hat-tip again to Anonymous!) "95% confidence" applies to the latter, not to the former. The distinction holds even if there is only ever going to be one realization (one dataset). And lots of times in economics we do have only one realization (e.g., one macro dataset for country X in the Bretton Woods era).<br /><br />Glad you like the culinary metaphor - it's growing on me too. Sadly, my actual culinary skills are less than impressive. The temptation to say that most of my output lies outside the tasty interval is near-irresistible...<br /><br />--MarkMark Schafferhttp://ideas.repec.org/e/psc51.htmlnoreply@blogger.comtag:blogger.com,1999:blog-2198942534740642384.post-78883035945842155122014-05-21T13:45:52.290-07:002014-05-21T13:45:52.290-07:00Mark - I'm happy with Statement #2, as long as...Mark - I'm happy with Statement #2, as long as we understand that the notion of probability that you are using to get the 95% is "long-run relative frequency".<br />I like the culinary metaphor - thanks for this!Dave Gileshttps://www.blogger.com/profile/05389606956062019445noreply@blogger.comtag:blogger.com,1999:blog-2198942534740642384.post-65855530021125536672014-05-21T12:55:20.299-07:002014-05-21T12:55:20.299-07:00Dave,
I'd like to have a go at "what you...Dave,<br /><br />I'd like to have a go at "what you can/can't say" about a CI and maybe you and/or Anonymous can comment.<br /><br />Anonymous's distinction above between an "estimator" and an "estimate" is very helpful. Let's apply this to a confidence interval.<br /><br />Notation (and apologies for the absence of subscripts):<br /><br />D is a dataset in general, "before the sample is specified numerically" (Theil).<br /><br />[ θL(D), θU(D) ] is an estimator: it is a CI for the parameter θ in general.<br /><br />D0 is my actual dataset at hand.<br /><br />[ θL(D0), θU(D0) ] is an estimate: it is the CI I calculate "after the observational values have been inserted" (Hoel).<br /><br />Or, to use a culinary metaphor, D = ingredient list, [ θL(D), θU(D) ] = recipe, D0 = the actual ingredients I've picked up at the market, [ θL(D0), θU(D0) ] = the dish I've prepared.<br /><br />Statement #1 (CI as "estimate"):<br /><br />"I have a dataset D0, and with it I have calculated a 95% confidence interval [ θL(D0), θU(D0) ]. This means there is a 95% probability that θ lies in the interval."<br /><br />Statement #2 (CI as "estimator"):<br /><br />"I have a dataset D0, and with it I am planning to calculate a 95% confidence interval [ θL(D), θU(D) ]. This means there is a 95% probability that θ will lie in this interval."<br /><br />Statement #1 is wrong but Statement #2 is fine.<br /><br />Or, to continue with the culinary metaphor, the "confidence" relates to the recipe (how likely it is to generate a tasty meal), not the actual dish I've prepared. Either it's tasty or it isn't!<br /><br />I hope I got that right. Would be interested to see what you think.<br /><br />--Mark<br />Mark Schafferhttp://ideas.repec.org/e/psc51.htmlnoreply@blogger.comtag:blogger.com,1999:blog-2198942534740642384.post-16740938939323180602014-05-18T18:02:38.179-07:002014-05-18T18:02:38.179-07:00Now I understand your point, and I am in total agr...Now I understand your point, and I am in total agreement.Dave Gileshttps://www.blogger.com/profile/05389606956062019445noreply@blogger.comtag:blogger.com,1999:blog-2198942534740642384.post-56172741476097520442014-05-18T14:38:24.838-07:002014-05-18T14:38:24.838-07:00Dave, I neglected to mention that I indeed did tha...Dave, I neglected to mention that I indeed did that. I have a good collection of stats, math stat and econometric texts from my UG and graduate stats courses. What I find, no surprise, is a fair amount of variation in the treatment (dare I say random treatment?) in the definition, although always making clear the distinction between estimator and estimate. That is not the issue I raise, although you seem to think so. <br /><br />A venerable text still in print is Hoel’s Introduction to Mathematical Statistics. Quoting from the 3rd edition, p. 58: “It is customary for some statisticians to use the word estimator for the function and the word estimate for the value of the function after the observational values have been inserted. Thus [sum of x’s over n] would be called the estimator of theta. Other statisticians, however, use the word estimate both for the function and its numerical value.” <br /><br />While you use the first definition that Hoel gives, as do I, my focus has been on the latter part: “. . . the word estimate for the value of the function after the observational values have been inserted”.<br /><br />Note that it is the observational values that are random, not the function, which is my point. <br /><br />Of all the texts that I consulted, 10 in total, Henri Theil in his Principles of Econometrics (1971) seems to have the clearest definition presented in a numerical example on p. 87:<br /><br /> “Note that the numerical value 9.84 is called an estimate of mu, where as Xbar [the function of the random variable X1, . . . . Xn before the sample is specified numerically] is called an estimator of mu.”<br /><br />Theil’s and Hoel’s definitions are nearly the same. My point all along is that you term the function as random, whereas I suggest that the function does not vary – its arguments or observational values do, and they are random. I am making a point about your description of the mathematics, not the statistics. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2198942534740642384.post-68356173458689583382014-05-16T18:14:54.183-07:002014-05-16T18:14:54.183-07:00Apparently we're not. You need to read up on t...Apparently we're not. You need to read up on the distinction between an estimator and an estimate.Dave Gileshttps://www.blogger.com/profile/05389606956062019445noreply@blogger.comtag:blogger.com,1999:blog-2198942534740642384.post-36329981813142078112014-05-16T17:31:03.543-07:002014-05-16T17:31:03.543-07:00We are not communicating. I am concerned about the...We are not communicating. I am concerned about the precision of the language we use. Agreed that the estimates are the realized values of the estimator. <br /><br />But the function or the procedure or the forumla is not random; one of its arguments is, the random variable y. For the function or formula or procedure to be random, that is to shift around randomly, there would have to be some other argument, such as an intercept, that would move randomly. But the procedure, “sum the x’s and divide by the sample size”, remains the same for all realizations of the estimator. That is, the (X 'X) 'X ' never changes from realization to realization. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2198942534740642384.post-37323874555331868002014-05-15T10:21:02.006-07:002014-05-15T10:21:02.006-07:00Nope, the the estimates are "realized values&...Nope, the the estimates are "realized values" of the random function we call the estimator., Check any intro stats. book.Dave Gileshttps://www.blogger.com/profile/05389606956062019445noreply@blogger.comtag:blogger.com,1999:blog-2198942534740642384.post-14578911096434558962014-05-15T07:38:47.949-07:002014-05-15T07:38:47.949-07:00Dave:
You said in your 2011 post: “Because an es...Dave:<br /><br />You said in your 2011 post: “Because an estimator is a function of the random data, it's random itself.”<br /><br />Let’s see. Take the case of the common sample mean. The formula, or the procedure, or estimator, is “sum the x’s and divide by the sample size”. With a set of x’s and sample size n one obtains the sample mean, the estimate. Take another set of x’s, repeat the procedure, and one obtains a new estimate of the sample mean. Repeat many times and one obtains the sampling distribution of the sample mean. <br /><br />However, the procedure, “sum the x’s and divide by the sample size”, remains invariant from sample to sample. Nothing random about it. And that means that the procedure or estimator (X 'X)'X 'y remains invariant, but that the estimates, the b’s vary from sample to sample because the y’s vary from sample to sample. So the b’s are random variables, but the procedure, the estimator, is not.<br /><br />Your thoughts?Anonymousnoreply@blogger.com