Docsity

Lecture Notes on Confidence Intervals | AEB 6933, Study notes of Introduction to Macroeconomics

Toggle sidebar
bg1
Confidence Intervals
Lecture XXI
I. Interval Estimation
A. As we discussed when we talked about continuous distribution functions, the
probability of a specific number under a continuous distribution is zero.
B. Thus, if we conceptualize any estimator, either a nonparametric estimate of the
mean or a parametric estimate of a function, the probability of the true value equal
to the estimated value is obviously zero.
C. Thus, usually talk about estimated values in terms of confidence intervals.
Specifically, as in the case when we discussed the probability of a continuous
variable, we define some range of outcomes. However, this time we usually work
the other way around defining a certain confidence level and then stating the
values that contain this confidence interval.
II. Confidence Intervals
A. Amemiya notes a difference between confidence and probability. Most troubling
is our classic definition of probability as “a probabilistic statement involving
parameters.” This is troublesome due to our inability without some additional
Bayesian structure to state anything concrete about probabilities.
A. Example 8.2.1. Let
i
X
be distributed as a Bernoulli distribution,
1,2,in
.
Then,
~ , (1 ) /
A
T X N p p p n
Therefore, we have
~ 0,1
1
A
Tp
ZN
pp
n
1. Why? By the Central Limit Theory
2. Given this distribution, we can ask questions about the probability.
Specifically, we know that if
Z
is distributed
0,1N
, then we can define
kP Z k
Building on the normal probability, the one tailed probabilities for the
normal distribution are:
pf3
pf4
pf5

Partial preview of the text

Download Lecture Notes on Confidence Intervals | AEB 6933 and more Study notes Introduction to Macroeconomics in PDF only on Docsity!

Confidence Intervals

Lecture XXI

I. Interval Estimation

A. As we discussed when we talked about continuous distribution functions, the probability of a specific number under a continuous distribution is zero. B. Thus, if we conceptualize any estimator, either a nonparametric estimate of the mean or a parametric estimate of a function, the probability of the true value equal to the estimated value is obviously zero. C. Thus, usually talk about estimated values in terms of confidence intervals. Specifically, as in the case when we discussed the probability of a continuous variable, we define some range of outcomes. However, this time we usually work the other way around defining a certain confidence level and then stating the values that contain this confidence interval.

II. Confidence Intervals

A. Amemiya notes a difference between confidence and probability. Most troubling is our classic definition of probability as “a probabilistic statement involving parameters.” This is troublesome due to our inability without some additional Bayesian structure to state anything concrete about probabilities. A. Example 8.2.1. Let Xi be distributed as a Bernoulli distribution, (^) i 1,2, n. Then, ~ , (1 ) /

A T X N p p p n

Therefore, we have ~ 0, 1

T p^ A Z N p p n

  1. Why? By the Central Limit Theory
  2. Given this distribution, we can ask questions about the probability. Specifically, we know that if Z is distributed N 0,1 , then we can define

k P^ Z^ k

Building on the normal probability, the one tailed probabilities for the normal distribution are:

Professor Charles Moss Fall 2007

Table 1. Confidence Levels k 2 1.0000 0.1587 0. 1.5000 0.0668 0. 1.6449 0.0500 0. 1.7500 0.0401 0. 1.9600 0.0250 0. 2.0000 0.0228 0. 2.3263 0.0100 0.

  1. The values of (^) k can be derived from the standard normal table as

k

T p P k p p n

  1. Assuming that the sample value of T is t , the confidence is defined by

k

t p C k p p n

  1. Building on the first term

(^2 )

2 2 2 2 2

2 2 2 2

(^1 2 0) k

T p (^) p p P k P T p k p p n n p p P T p k n

P T Tp p k^ p k p n n

P p k^ p T k T n n

Professor Charles Moss Fall 2007

Table 2. Empirical Confidence Intervals for Samples Draw 1 Draw 2 Draw 3 Draws p =.4 p =.6 p =.4 p =.6 p =.4 p =. 50 Linear 0.3143 0.5000 0.4814 0.5929 0.4814 0. Square Root 0.1232 0.1336 0.1335 0.1311 0.1335 0. Lower Bound 0.1910 0.3664 0.3480 0.4618 0.3480 0. Upper Bound 0.4375 0.6336 0.6149 0.7239 0.6149 0. 100 Linear 0.3267 0.5000 0.4326 0.5867 0.3844 0. Square Root 0.0900 0.0962 0.0953 0.0947 0.0935 0. Lower Bound 0.2367 0.4038 0.3373 0.4920 0.2910 0. Upper Bound 0.4166 0.5962 0.5278 0.6813 0.4779 0. 150 Linear 0.3505 0.5455 0.3960 0.5845 0.3830 0. Square Root 0.0753 0.0787 0.0772 0.0778 0.0768 0. Lower Bound 0.2752 0.4668 0.3188 0.5067 0.3062 0. Upper Bound 0.4258 0.6242 0.4732 0.6623 0.4598 0. 200 Linear 0.3626 0.5687 0.4019 0.6030 0.3823 0. Square Root 0.0659 0.0680 0.0673 0.0671 0.0667 0. Lower Bound 0.2967 0.5007 0.3346 0.5359 0.3156 0. Upper Bound 0.4286 0.6367 0.4692 0.6702 0.4489 0.

B. Example 8.2.2. Let Xi ~ N , 2 , i 1, 2, n where is unknown and 2 is known. We have 2 T X ~ N , n

Define

2 k

T

P k

n

C. Example 8.2.3. Suppose that X (^) i ~ N , 2 , i 1, 2, n with both and^2 unknown. Let T X

be an estimator of and 2 2 1

1 n S (^) n i X (^) i X

Professor Charles Moss Fall 2007

be the estimator of 2. Then the probability distribution 1 tn (^) 1 S T 1 n 1

or the Student’s t distribution with n-1 degrees of freedom is the probability distribution.

  1. Theorem 5.4.1: Let X (^) 1 , X (^) 2 , Xn be a random sample from a N ,^2 distribution, and let

1

1 n X (^) n i Xi

and 2 2 1

n S (^) n i X (^) i X

Then a) X and S^2 are independent random variables a) 2 X ~ N , n

b)

2 2 N^^1 S has a chi-squared distribution with n 1 degrees of freedom.

  1. The proof of independence is based on the fact that S^2 is a function of the deviations from the mean which, by definition, must be independent of the mean.
  2. More interesting, is the discussion of the chi-squared statistic. a) The chi-square is defined as: 2 1 2 2

p (^) x f x (^) p p x e

for all positive x , where p is called the degrees of freedom. b) In general, the gamma distribution function is defined through the gamma function: 1 0 t e tdt Dividing both sides of this expression by yields 1 1 0

t t e t^ dt f t t^ e

Professor Charles Moss Fall 2007

If n 2 , we get 2 2 2 2 1

S X X

Given that^2 2

^ X^ X is distributed N 0,1 ,^2 S 2 ~ 1 and by

extension for n^ k^ ,^ k^^1 Sk^2^ ~^2 k 1.

  1. Given these results for the chi-square, the distribution of the Student’s t then follows.

2 2

X

X n S (^) S n

Note that this creates a standard normal random variable in the numerator and 2 1 1

n n

in the denominator. The complete distribution found by multiplying the standard normal time the chi-squared distribution times the Jacobian of the transformation yields:

(^1 2 ) 2 2

T (^) p

p f t p (^) p t p