STA260 Lecture 12
- #tk self study on the slides
- Review
- Bayesian approach to estimators
is our posterior distribution of given the data is our likelihood function, which is the probability of observing the data given the parameter is our prior distribution of , which represents our beliefs about before observing the data - Parameter, given data
- We can use the Bayes' estimator to get updated parameter estimates based on the observed data and our prior beliefs
- From example from last lecture.
- The bayes estimator of mean.
- Look at the properties of
- Last example had prior as
, now our posterior is where and - When prior and posterior are from the same family of distributions, we call the prior a conjugate prior for the likelihood function.
- Bayesian approach to estimators
- Examples for the Bayesian Approach To Parameter Estimation
where the prior distribution of is - Find the Bayes estimator of
. - Likelihood function:
- Prior distribution:
- We need to find
- Posterior distribution:
- Let
and , then - So
- Because we absorb the constant into the proportionality, we can ignore the constant and just write
's dist by multiplying and dividing, then absorbing the constant into the proportionality. - Clearly then,
- Since prior and posterior are from the same family of distributions, we call the prior a conjugate prior for the likelihood function.
- Exercise, find posterior mean: #tk
- Answer:
- Answer:
- #tk do slide 55
- Exact method for parameter estimation
: a set of values based on a random sample . - Suppose
is a potential set of values for a parameter . - A
confidence interval for is exact if - Exact one sided:
is exact-one sided if is exact-one sided if
- Exact two sided:
is an exact two sided confidence interval if - This is the same as Confidence Intervals in STA258
- Exact one sided:
- Example:
- We know
- Find a
exact CI for - We need to find
where - We can obtain
and - #tk tikz graph:
- Show
and as well as what is and and
- Show
- So our exact
CI for is
- We know
- Pivotal Quantity Method
- A pivotal quantity is a function of the random sample
and the parameter such that the distribution of the function does not depend on any unknown parameters. - Example:
is a pivotal quantity because its distribution does not depend on any unknown parameters.
- A pivotal quantity is a function of the random sample
- Approximate Confidence Intervals
- Wald Type Confidence Intervals
- For a parameter
estimated by , a Wald type confidence interval is given by - The Standard Deviation of an estimator
.
- The Standard Deviation of an estimator
- Example:
- For sufficiently large
- Estimate
with - For a
CI - Since it's a standard normal distribution, we can obtain
and - We don't know
so we can use to estimate the interval around . - So we use the plug in principle.
- For a parameter