Man pages for ddtlcm
Latent Class Analysis with Dirichlet Diffusion Tree Process Prior

add_leaf_branchAdd a leaf branch to an existing tree tree_old
add_multichotomous_tipAdd a leaf branch to an existing tree tree_old to make a...
add_one_sampleFunctions to simulate trees and node parameters from a DDT...
add_rootAdd a singular root node to an existing nonsingular tree
a_t_oneCompute divergence function
attach_subtreeAttach a subtree to a given DDT at a randomly selected...
a_t_twoCompute divergence function
compute_ICCompute information criteria for the DDT-LCM model
create_leaf_cor_matrixCreate a tree-structured covariance matrix from a given tree
data_syntheticSynthetic data example
ddtlcm_fitMH-within-Gibbs sampler to sample from the full posterior...
ddtlcm-packageddtlcm: Latent Class Analysis with Dirichlet Diffusion Tree...
div_timeSample divergence time on an edge uv previously traversed by...
draw_mnormEfficiently sample multivariate normal using precision matrix...
expitThe expit function
exp_normalizeCompute normalized probabilities: exp(x_i) / sum_j exp(x_j)
H_nHarmonic series
initializeInitialize the MH-within-Gibbs algorithm for DDT-LCM
initialize_hclustEstimate an initial binary tree on latent classes using...
initialize_poLCAEstimate an initial response profile from latent class model...
initialize_randomLCMProvide a random initial response profile based on latent...
J_nCompute factor in the exponent of the divergence time...
log_expitNumerically accurately compute f(x) = log(x / (1/x)).
logitThe logistic function
logllk_ddtCalculate loglikelihood of a DDT, including the tree...
logllk_ddt_lcmCalculate loglikelihood of the DDT-LCM
logllk_div_time_oneCompute loglikelihood of divergence times for a(t) = c/(1-t)
logllk_div_time_twoCompute loglikelihood of divergence times for a(t) =...
logllk_lcmCalculate loglikelihood of the latent class model,...
logllk_locationCompute log likelihood of parameters
logllk_tree_topologyCompute loglikelihood of the tree topology
parameter_dietParameters for the HCHS dietary recall data example
plot.ddt_lcmCreate trace plots of DDT-LCM parameters
plot.summary.ddt_lcmPlot the MAP tree and class profiles of summarized DDT-LCM...
plot_tree_with_barplotPlot the MAP tree and class profiles (bar plot) of summarized...
plot_tree_with_heatmapPlot the MAP tree and class profiles (heatmap) of summarized...
predict.ddt_lcmPrediction of class memberships from posterior predictive...
predict.summary.ddt_lcmPrediction of class memberships from posterior summaries
print.ddt_lcmPrint out setup of a ddt_lcm model
print.summary.ddt_lcmPrint out summary of a ddt_lcm model
proposal_log_probCalculate proposal likelihood
quietSuppress print from cat()
random_detach_subtreeMetropolis-Hasting algorithm for sampling tree topology and...
reattach_pointAttach a subtree to a given DDT at a randomly selected...
result_diet_1000itersResult of fitting DDT-LCM to a semi-synthetic data example
sample_class_assignmentSample individual class assignments Z_i, i = 1, ..., N
sample_c_oneSample divergence function parameter c for a(t) = c / (1-t)...
sample_c_twoSample divergence function parameter c for a(t) = c / (1-t)^2...
sample_leaf_locations_pgSample the leaf locations and Polya-Gamma auxilliary...
sample_sigmasqSample item group-specific variances through Gibbs sampler
sample_tree_topologySample a new tree topology using Metropolis-Hastings through...
simulate_DDT_treeSimulate a tree from a DDT process. Only the tree topology...
simulate_lcm_given_treeSimulate multivariate binary responses from a latent class...
simulate_lcm_responseSimulate multivariate binary responses from a latent class...
simulate_parameter_on_treeSimulate node parameters along a given tree.
summary.ddt_lcmSummarize the output of a ddt_lcm model
WAICCompute WAIC
ddtlcm documentation built on May 29, 2024, 5:41 a.m.