Description Usage Arguments Value Author(s) See Also Examples
Given a vector of data, this function computes the bivariate posteror for the expectation parameter and the logged scale parameter of a normal distribution, assuming that the data represents independent observations from the normal distribution. One assumes a flat prior.
1 |
data |
A vector with data values. |
An object representing a bivariate Normal-ExpGamma distribution.
Petter Mostad <mostad@chalmers.se>
1 2 3 | data <- simulate(normal(3.3, log(2)), 9)
posteriornormal1(data)
linearmodel(data, designOneGroup(length(data))) #Gives same result
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.