Closed caseyyoungflesh closed 3 years ago
Max Rhat min n.eff summary = FALSE argument?
MCMCdiag(object, params = 'all', summary = TRUE, txt = TRUE) outputs diagnostic information can output summary information for params can select params to output if summary = TRUE can write all info to txt file MCMCdiag(fit) --> outputs all diagnostic and summary info to txt file (just time, Rhat, n.eff and summary for JAGS) MCMCdiag(fit, summary = FALSE, txt = FALSE) --> outputs just diagnostic info to terminal
Function should return: time elapsed inputs for adapt delta, max tree depth, initial step size for each chain: num divergences, avg tree depth, step size, mean accept stat, mean energy, number tree exceeds, low BFMI (Y/N) Max Rhat min n.eff MCMCsummary for selected parameters
merge with #18
Possibly create html file with tables for diagnostics?
report_params argument?
arg2 to: 1) create new dir (and put text file there) 2) save out model fit object 3) save data used to fit model
MCMCstats? MCMCdiag?
MCMCtxt
?Create text file with model summary:
input name of model time elapsed info from MCMCdiag inputs for DELTA, TREE_DEPTH, and STEP_SIZE if Stan obj MCMCsummary (round argument)