Thin_Statistic_Samples: A function to thin out simulated GOF statistics so that they...

View source: R/Thin_Statistic_Samples.R

Thin_Statistic_SamplesR Documentation

A function to thin out simulated GOF statistics so that they have an MCMC autocorrelation of less tahn 0.01.

Description

Takes as input the '@simulated_statistics_for_GOF' field of the GERGM object (a data.frame) and returns the same data frame but now thinned to reduce autocorrelation in the samples. Useful for exactly replicating the statistics used in the GOF() function.

Usage

Thin_Statistic_Samples(statistics)

Arguments

statistics

A data.frame stored in the '@simulated_statistics_for_GOF' field of the GERGM object.

Value

A data.frame that has been thinned to reduce autocorrelation.


matthewjdenny/GERGM documentation built on May 24, 2023, 1:28 a.m.