This webpage contains supplementary material for the paper ``Goodnessoffit for loglinear network models: Dynamic Markov bases using hypergraphs'' by Elizabeth Gross, Sonja Petrovic, and Despina Stasi (arXiv link).
In particualr, this page provides the R code necessary to carry out the pvalue computations discussed in the paper.
Functions implementing Algorithms 15 for the p1 model
Description 
File 
This file contains all functions needed to run Algorithms 15, including additional auxiliary functions for storing the data from a random walk. All functions are described within the file. 
p1walk.R 
Functions for analyzing the examples
Description 
File 
This file contains the graph from Figure 5 and code to obtain simulation results from Section 4.1. 
OHT.R 
