Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

tauFetch

Fetch Partial Proportional Odds Parameters


Description

Fetches matrix of posterior draws for partial proportional odds parameters (taus) for a given intercept. Can also form a matrix containing both regular parameters and taus, or for just non-taus. For the constrained partial proportional odds model the function returns the appropriate cppo function value multiplied by tau (tau being a vector in this case and not a matrix).

Usage

tauFetch(fit, intercept, what = c("tau", "nontau", "both"))

Arguments

fit

an object created by blrm()

intercept

integer specifying which intercept to fetch

what

specifies the result to return

Value

matrix with number of raws equal to the numnber of original draws

Author(s)

Frank Harrell


rmsb

Bayesian Regression Modeling Strategies

v0.0.2
GPL (>= 3)
Authors
Frank Harrell [aut, cre] (<https://orcid.org/0000-0002-8271-5493>), Ben Goodrich [ctb] (contributed Stan code), Ben Bolker [ctb] (wrote original code that is folded into the pdensityContour function), Doug Bates [ctb] (write original code for highest posterior density interval that is folded into the HPDint function)
Initial release
2021-02-27

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.