thin
(Package: Bolstad2) :
Thin an MCMC sample
Thins the output from an MCMC process
● Data Source:
CranContrib
● Keywords:
● Alias: thin
●
1 images
|
sintegral
(Package: Bolstad2) :
Numerical integration using Simpson's Rule
Takes a vector of x values and a corresponding set of postive f(x)=y values and evaluates the area under the curve:
● Data Source:
CranContrib
● Keywords: misc
● Alias: sintegral
●
0 images
|
pnullSamp
(Package: Bolstad2) :
Test a one sided hypothesis using a sample from a posterior density
Calculates the probability of a one sided null hypothesis from a sample from a posterior density.
● Data Source:
CranContrib
● Keywords:
● Alias: pnullSamp
●
0 images
|
pnullNum
(Package: Bolstad2) :
Test a one sided hypothesis from a numerically specified posterior CDF
Calculates the probability of a one sided null hypothesis from a numerically calculated posterior CDF.
● Data Source:
CranContrib
● Keywords:
● Alias: pnullNum
●
0 images
|
pNull
(Package: Bolstad2) :
Test a one sided hypothesis from a numerically specified
Calculates the probability of a one sided null hypothesis from a numerically calculated posterior CDF or from a sample from the posterior.
● Data Source:
CranContrib
● Keywords:
● Alias: pNull
●
0 images
|
normMixMH
(Package: Bolstad2) :
Sample from a normal mixture model using Metropolis-Hastings
normMixMH uses the Metropolis-Hastings algorithm to draw a sample from a univariate target distribution that is a mixture of two normal distributions using an independent normal candidate density or a random walk normal candidate density.
● Data Source:
CranContrib
● Keywords:
● Alias: normMixMH
●
2 images
|
normGibbs
(Package: Bolstad2) :
Draw a sample from a posterior distribution of data with an
normGibbs draws a Gibbs sample from the posterior distribution of the parameters given the data fron normal distribution with unknown mean and variance. The prior for μ given var is prior mean m0 and prior variance var/n0 . That means n0 is the 'equivalent sample size.' The prior distribution of the variance is s0 times an inverse chi-squared with kappa0 degrees of freedom. The joint prior is the product g(var)g(mu|var).
● Data Source:
CranContrib
● Keywords:
● Alias: normGibbs
●
3 images
|
hierMeanReg
(Package: Bolstad2) :
Hierarchical Normal Means Regression Model
fits a hierarchical normal model of the form E[y_{ij}] = μ_{j} + β_{1}x_{i1}+…+β_{p}x_{ip}
● Data Source:
CranContrib
● Keywords:
● Alias: hierMeanReg
●
2 images
|
describe
(Package: Bolstad2) :
Give simple descriptive statistics for a matrix or a data frame
This function is designed to emulate the Minitab function DESCRIBE. It gives simple descriptive statistics for a data frame
● Data Source:
CranContrib
● Keywords:
● Alias: describe
●
0 images
|
credIntSamp
(Package: Bolstad2) :
Calculate a credible interval from a numerically specified
Calculates a lower, upper, or two-sided credible interval from the numerical posterior CDF.
● Data Source:
CranContrib
● Keywords:
● Alias: credIntSamp
●
1 images
|