Skip to contents

Model fitting

htlr()
Fit a HTLR Model
htlr_prior()
Generate Prior Configuration

Prediction and inference

predict(<htlr.fit>)
Make Prediction on New Data
as.matrix(<htlr.fit>)
Create a Matrix of Markov Chain Samples
nzero_idx()
Get Indices of Non-Zero Coefficients
summary(<htlr.fit>)
Posterior Summaries
evaluate_pred()
Evaluate Prediction Results

Generating simulation data

gendata_FAM()
Generate Simulated Data with Factor Analysis Model
gendata_MLR()
Generate Simulated Data with Multinomial Logistic Regression Model

Utility functions

std()
Standardizes a Design Matrix
split_data()
Split Data into Train and Test Partitions

Data sets

colon
Colon Tissues
diabetes392
Pima Indians Diabetes