count_accept: Calculate acceptance rate of MCMC chain

View source: R/estimation.R

count_acceptR Documentation

Calculate acceptance rate of MCMC chain

Description

Calculate acceptance rate of MCMC chain

Usage

count_accept(all_iters, resp)

Arguments

all_iters

the output object from estimate_thirt_params_mcmc function

resp

a data.frame of length ⁠[n_person x n_block]⁠ with at least three first variables: variable person of the format p for person number p, variable block of the format b for block number b, variable resp of the format r for response number r which corresponds to mupp::find_permutation_index().


nguyenllpsych/thirt documentation built on Feb. 14, 2024, 10:53 p.m.