Learn R Programming

bcgam (version 1.0)

Bayesian Constrained Generalised Linear Models

Description

Fits generalised partial linear regression models using a Bayesian approach, where shape and smoothness constraints are imposed on nonparametrically modelled predictors through shape-restricted splines, and no constraints are imposed on optional parametrically modelled covariates. See Meyer et al. (2011) for more details. IMPORTANT: before installing 'bcgam', you need to install 'Rtools' (Windows) or 'Xcode' (Mac OS X). These are required for the correct installation of 'nimble' ().

Copy Link

Version

Install

install.packages('bcgam')

Monthly Downloads

41

Version

1.0

License

GPL (>= 2)

Maintainer

Cristian Oliva-Aviles

Last Published

March 18th, 2018

Functions in bcgam (1.0)

bcgam

Fitting Bayesian Constrained Generalised Additive Models
sm.decr.conv

Specify a smooth, decreasing and convex shape-restriction in a bcgam formula
predict.bcgam

Predict method for bcgam fits
sm.conc

Specify a smooth and concave shape-restriction in a bcgam formula
plot.bcgam

2D plots for bcgam fits
sm.incr

Specify a smooth and increasing shape-restriction in a bcgam formula
duncan

Duncan's occupational prestige data
sm.conv

Specify a smooth and convex shape-restriction in a bcgam formula
persp.bcgam

3D plots for bcgam fits
sm.decr.conc

Specify a smooth, decreasing and concave shape-restriction in a bcgam formula
sm.decr

Specify a smooth and decreasing shape-restriction in a bcgam formula
sm.incr.conc

Specify a smooth, increasing and concave shape-restriction in a bcgam formula
sm.incr.conv

Specify a smooth, increasing and convex shape-restriction in a bcgam formula
summary.bcgam

Summarizing bcgam fits