View source: R/get.ss.normal.post.r
get.ss.normal.post | R Documentation |
Returns the parameters of the posterior distribution in the case of normal prior with known variance and normal data
get.ss.normal.post( prior.mean = 0, prior.var = 1e+06, sample.n = 10, sample.xbar = seq(-1, 1, 0.01), sample.var = 1 )
prior.mean |
prior mean |
prior.var |
prior variance |
sample.n |
sample size |
sample.xbar |
sample mean |
sample.var |
sample variance |
returns a data.frame hold posterior parameters, sample x.bar, sample variance and posterior mean and variances
Greg Cicconetti
my.ss.normal.post <- get.ss.normal.post() head(my.ss.normal.post)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.