Package: clustGLMM 1.0

clustGLMM: Model-Based Clustering of Mixed-Type Longitudinal Data
Provides tools for Bayesian estimation and inference for modelling clusterwise multivariate regression models for numeric, count, binary, ordinal and count outcomes observed repeatedly on the same units and where possible relations among outcomes are captured through a joint distribution of random effects. The clusters are defined through cluster-specific parameters, which the analyst can choose, e.g., with respect to the regression coefficients. In particular, the model specification for each regression model via the formula is specific to the outcome and consists of four parts: (1) fixed - regression coefficients common to all clusters, (2) group - group-specific regression coefficients, (3) random - random effects specific for each unit, (3) offset - name of an offset variable (if needed). Estimation is performed using MCMC sampling combining Gibbs and Metropolis-Hastings steps. Post-processing tools allow to assess convergence and address label switching and provide visual diagnostics. Units may be classified based on sampled allocation indicators or by exploiting the posterior distribution of the classification probabilities. For more details see Vavra et al. (2024) <doi:10.1007/s11222-023-10304-5>.
Authors:
clustGLMM_1.0.tar.gz
clustGLMM_1.0.tar.gz(r-4.7-arm64)clustGLMM_1.0.tar.gz(r-4.7-x86_64)clustGLMM_1.0.tar.gz(r-4.6-arm64)clustGLMM_1.0.tar.gz(r-4.6-x86_64)
clustGLMM_1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
clustGLMM/json (API)
| # Install 'clustGLMM' in R: |
| install.packages('clustGLMM', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
- longitudinal_mixed_type_data - A Simulated Dataset of Longitudinal Mixed-Type Data
- psurvey - A Simulated Panel Survey Data
- psurvey_latent - A Simulated Panel Survey Data
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:19cbfca99a. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 149 | ||
| linux-devel-x86_64 | OK | 191 | ||
| source / vignettes | OK | 276 | ||
| linux-release-arm64 | OK | 161 | ||
| linux-release-x86_64 | OK | 159 | ||
| wasm-release | OK | 148 |
Exports:as_codaclustering_probabilities_and_devianceclustGLMMdefault_paramdefault_savedefault_tuningdefault_varyingfrom_C_to_listfrom_C_to_matrixfrom_list_to_Cfrom_list_to_codafrom_list_to_matrixfrom_matrix_to_Cfrom_matrix_to_codafrom_matrix_to_listgenerate_longitudinal_mixed_type_dataget_scalar_samplesget_sd_numget_Sigmanice_nrow_ncolpermute_cluster_labelsplot_ACFplot_ACF_paramplot_cat_vs_x_groupedplot_clustersplot_clusters_ECDF_paramplot_clusters_kerneldensity_paramplot_diagnosticsplot_ECDFplot_ECDF_paramplot_kerneldensityplot_kerneldensity_paramplot_ng_trace_chain_splitplot_num_vs_x_groupedplot_traceplotsplot_traceplots_parampost_processingrescale_listrescale_matrixslategray.colorsslategrey.colors
Dependencies:codacolorspacegaussquadHDIntervallatticeMASSmvtnormnnetorthopolynompolynomRcppRcppHungarian
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Model-Based Clustering of Mixed-Type Longitudinal Data | clustGLMM-package |
| Change the Output Formats of 'clustGLMM' | as_coda from_C_to_list from_C_to_matrix from_list_to_C from_list_to_coda from_list_to_matrix from_matrix_to_C from_matrix_to_coda from_matrix_to_list |
| Evaluate Clustering Probabilities and Deviance of Output of 'clustGLMM' | clustering_probabilities_and_deviance |
| Sample MCMC for a Mixture of GLMMs of Mixed-type | clustGLMM |
| Setting Default Values in 'clustGLMM' | default_param default_save default_tuning default_varying |
| Generate an Artificial Longitudinal Dataset with Mixed-type Outcomes | generate_longitudinal_mixed_type_data |
| Extract Samples for Specified Scalar Model Parameter | get_scalar_samples |
| A Simulated Dataset of Longitudinal Mixed-Type Data | longitudinal_mixed_type_data |
| Determine Optimal Matrix Dimensions Given the Number of Cells | nice_nrow_ncol |
| Plot Clustered Longitudinal (Panel) Data | plot_cat_vs_x_grouped plot_num_vs_x_grouped |
| Plot MCMC Samples from 'clustGLMM' | plot_ACF plot_ACF_param plot_clusters plot_clusters_ECDF_param plot_clusters_kerneldensity_param plot_diagnostics plot_ECDF plot_ECDF_param plot_kerneldensity plot_kerneldensity_param plot_ng_trace_chain_split plot_traceplots plot_traceplots_param |
| Plot the Output of 'clustGLMM' | plot.clustglmm |
| Post-process the Chains Sampled with 'clustGLMM' | permute_cluster_labels post_processing |
| Predict Method for Class 'clustglmm' | predict.clustglmm |
| Print the Output of 'clustGLMM' | print.clustglmm |
| A Simulated Panel Survey Data | psurvey psurvey_latent |
| Slategray Color Palette | slategray.colors slategrey.colors |
| Compute the Summary Statistics of 'clustGLMM' Output | print.summary.clustglmm summary.clustglmm |
