Description Usage Arguments Details Value Note Author(s) References See Also
Produces plots to check fit of GaGa and MiGaGa model. Compares observed data with posterior predictive distribution of the model. Can also compare posterior distribution of parameters with method of moments estimates.
1 |
gg.fit |
GaGa or MiGaGa fit (object of type |
x |
|
groups |
If |
type |
|
logexpr |
If set to |
xlab |
Passed on to |
ylab |
Passed on to |
main |
Passed on to |
lty |
Ignored. |
lwd |
Ignored. |
... |
Other arguments to be passed to |
The routine generates random draws from the posterior and posterior
predictive distributions, fixing the hyper-parameters at their
estimated value (posterior mean if model was fit with
method=='Bayes'
or maximum likelihood estimate is model was fit
with method=='EBayes'
).
Produces a plot.
Posterior and posterior predictive checks can lack sensitivity to
detect model misfit, since they are susceptible to over-fitting. An
alternative is to perform prior predictive checks by generating
parameters and data with simGG
.
David Rossell
Rossell D. GaGa: a simple and flexible hierarchical model for microarray data analysis. http://rosselldavid.googlepages.com.
simGG
to simulate samples from the
prior-predictive distribution, simnewsamples
to generate parameters and
observations from the posterior predictive, which is useful to check
goodness-of-fit individually a desired gene.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.