coef_summary {TriDimRegression}R Documentation

Computes mean and optional quantiles for a coefficient.

Description

Computes mean and optional quantiles for a coefficient.

Usage

coef_summary(coef_name, coef_matrix, probs)

Arguments

coef_name

String, name of the coefficient.

coef_matrix

Numeric matrix samplesN x 2 or a numeric vector with length samplesN.

probs

A numeric vector of quantiles to compute.

Value

data.frame with columns "Coef", "Mean", and a column for each quantile.

Examples

coef_summary("test", c(1, 2, 3), NULL)

[Package TriDimRegression version 1.0.2 Index]