post_treatment_bliss: post_treatment_bliss

View source: R/basic_functions.R

post_treatment_blissR Documentation

post_treatment_bliss

Description

Compute the post treatment values.

Usage

post_treatment_bliss(posterior_sample, param, data)

Arguments

posterior_sample

a list provided by the function Bliss_Gibbs_Sampler.

param

a list containing:

K

a vector of integers, corresponding to the numbers of intervals for each covariate.

data

a list containing required options to run the function dposterior.

Value

A list of important post treatment value: BIC, the maximum of the log likelihood and the numbre of parameters.

Examples


data(data1)
data(param1)
data(res_bliss1)

post_treatment_bliss(res_bliss1$posterior_sample,param1,data1)


bliss documentation built on May 29, 2024, 8:35 a.m.