- Home
- R-Forge
**glmBfp**: Bayesian Fractional Polynomials for GLMs**HypergPrior**: Constructor for the hyper-g prior class

# Constructor for the hyper-g prior class

### Description

Constructor for the hyper-g prior class

### Usage

1 | ```
HypergPrior(a = 4)
``` |

### Arguments

`a` |
the hyperparameter which must be larger than 3, and should not be larger than 4 in order not to favour too much shrinkage a priori (default: 4) |

### Value

a new `HypergPrior`

object

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.

- as.data.frame.GlmBayesMfp: Convert a GlmBayesMfp object into a data frame
- boxTidwell: Box Tidwell transformation
- computeModels: Compute model information for a given list of model...
- constructNewdataMatrix: Construct the covariates matrix for new data based on an...
- convert2Mcmc: Convert samples to mcmc objects
- coxTBF: Fit Cox models using glmBayesMfp
- cppBfgs: Interface to the internal C++ optimization routine "bfgs"
- cppOptimize: Interface to the internal C++ optimization routine "optimize"
- CustomGPrior: Constructor for the custom g-prior class
- CustomGPrior-class: The custom g-prior class
- empiricalHpd: Construct an empirical HPD interval from samples
- evalZdensity: Evaluate the (negative log) unnormalized marginal z density...
- Extract.GlmBayesMfp: Extract method for GlmBayesMfp objects
- formula: Mark a covariate for transformation with fractional...
- fpScale: Shift and scale a covariate vector (if wished) to have...
- fpTrans: Transform formula variables
- getDesignMatrix: Construct the design matrix for a given bfp GLM model
- getFamily: Helper function for glmBayesMfp: Extracts an S3 family object
- getFpTransforms: Get the FP transforms matrix of a given covariate vector
- getGenerator: Internal helper function which gets the generator (and...
- getLogGPrior: Helper function for glmBayesMfp: Returns the normalized log g...
- getLogMargLikEstimate: Compute the Chib-Jeliazkov log marginal likelihood estimate...
- getMarginalZ: Construct a (smooth) marginal z density approximation from a...
- getModelCoefs: Estimate shrunken coefficients from GlmBayesMfp object for...
- getUncenteredDesignMatrix: Construct the design matrix for a given bfp GLM model
- glmBayesMfp: Bayesian model inference for fractional polynomial GLMs and...
- GlmBayesMfpSamples-class: Class for samples from a single GlmBayesMfp model or a model...
- GlmBayesMfpSamples-subsetting: Subset method for GlmBayesMfpSamples objects
- glmBfp-package: Bayesian inference for fractional polynomial models from the...
- GPrior-class: The virtual g-prior class
- HypergPrior: Constructor for the hyper-g prior class
- HypergPrior-class: The hyper-g prior class
- HypergPrior-initialize: Initialization method for the "HypergPrior" class
- IncInvGammaGPrior: Constructor for the incomplete inverse gamma g-prior class
- IncInvGammaGPrior-class: The incomplete inverse gamma g-prior class
- IncInvGammaGPrior-initialize: Initialization method for the "IncInvGammaGPrior" class
- inclusionProbs: Compute posterior inclusion probabilites based on GlmBayesMfp...
- InvGammaGPrior: Constructor for the inverse gamma g-prior class
- InvGammaGPrior-class: The inverse gamma g-prior class
- InvGammaGPrior-initialize: Initialization method for the "InvGammaGPrior" class
- is.bool: Predicate checking for a boolean option
- logMargLiks: Extract the log marginal likelihood estimates from a...
- logPriors: Extract the log prior values from a GlmBayesMfp object
- McmcOptions: Constructor for class McmcOptions
- McmcOptions-class: Class for the three canonical MCMC options
- plotCurveEstimate: Function for plotting a fractional polynomial curve estimate
- posteriors: Extract posterior model probability estimates from a...
- predict.TBFcox: Prediction methods for CoxTBF objects
- predict.TBFcox.BMA: Prediction methods for CoxTBF objects for BMA models
- predict.TBFcox.sep: Prediction methods for CoxTBF objects with separate estimates
- print.GlmBayesMfp: Print a GlmBayesMfp object.
- sampleBma: Produce posterior samples from a Bayesian model average over...
- sampleGlm: Produce posterior samples from one GLM / Cox model
- sampleSize: Compute the number of samples for a given MCMC options triple
- scrHpd: Calculate an SCB from a samples matrix
- testCox: Test the Cox model computation for the TBF approach
- writeFormula: Construct a survival formula based on a glmBfp object with...