Other packages > Find by keyword >

dmrfit  

Scalable Bayesian Inference for Discrete Markov Random Fields
View on CRAN: Click here


Download and install dmrfit package within the R console
Install from CRAN:
install.packages("dmrfit")

Install from Github:
library("remotes")
install_github("cran/dmrfit")

Install by package version:
library("remotes")
install_version("dmrfit", "0.1.1")



Attach the package and use:
library("dmrfit")
Maintained by
Giuseppe Arena
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-10-22
Latest Update: 2026-10-22
Description:
Estimation of discrete Markov random fields through the pseudo-likelihood, for both Ising models (Ising (1925) <doi:10.1007/BF02980577>) and ordinal Markov random fields (Marsman et al. (2025) <doi:10.1017/psy.2024.4>). Point estimates, either maximum pseudo-likelihood or maximum a posteriori, are obtained through a trust region optimization algorithm, with robust standard errors from the Godambe-Huber-White (GHW, or sandwich) estimator, for both full and constrained network structures. Bayesian inference corrects the pseudo-posterior through coordinate rescaling (Arena and Marsman (2026) <doi:10.48550/arXiv.2601.17205>), which matches its covariance to the GHW covariance, and samples from it with the Fisher adaptive Metropolis-adjusted Langevin algorithm (Titsias (2024) <doi:10.48550/arXiv.2305.14442>). For comparison, the posterior based on the full likelihood can also be sampled, exactly for small networks or with the double Metropolis-Hastings algorithm (Liang (2010) <doi:10.1080/00949650902882162>). Savage-Dickey Bayes factors test each pairwise interaction, computed either by sampling importance resampling (Skare et al. (2003) <doi:10.1111/1467-9469.00360>) or from the posterior draws.
How to cite:
Giuseppe Arena (2026). dmrfit: Scalable Bayesian Inference for Discrete Markov Random Fields. R package version 0.1.1, https://cran.r-project.org/web/packages/dmrfit. Accessed 25 Oct. 2026.
Previous versions and publish date:
(2026-10-22 15:20), 0.1.0 (2026-10-18 17:10)
Other packages that cited dmrfit R package
View dmrfit citation profile
Other R packages that dmrfit depends, imports, suggests or enhances
Complete documentation for dmrfit
Functions, R codes and Examples using the dmrfit R package
Full dmrfit package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

fstcore  
R Bindings to the 'Fstlib' Library
The 'fstlib' library provides multithreaded serialization of compressed data frames using the 'fst' ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
CTT  
Classical Test Theory Functions
A collection of common test and item analyses from a classical test theory (CTT) framework. Analyses ...
Download / Learn more Package Citations See dependency  
imputeTS  
Time Series Missing Value Imputation
Imputation (replacement) of missing values in univariate time series. Offers several imputation fu ...
Download / Learn more Package Citations See dependency  
guardianapi  
Access 'The Guardian' Newspaper Open Data API
Access to 'The Guardian' newspaper's open API , containing ...
Download / Learn more Package Citations See dependency  
nlstools  
Tools for Nonlinear Regression Analysis
Several tools for assessing the quality of fit of a gaussian nonlinear model are provided. ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA