TOST for TERGM sampling #129
AdrienLeGuillou
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Following up on this discussion I played around the idea of the Two One Sided Student Test (TOST) of the Hamming distance between two time steps to check if the model as converged.
Below is a simple implementation I came up to.
The main change compared to the code in
tergm/src/MCMCDyn.cis that here I do not estimate the variance.The below implementation only counts when a transition actually occurs. Therefore, the value passed to
ham_advancewould be-1or+1but never0. The reasoning being that otherwise a model could theoretically be seen as converging just because no transition ever occurs.The side benefit is that the variance that we need to calculate the TOST is
1when the model has converged and<1otherwise. It then makes sense to just use1always I think.Are my assumptions there correct or am I missing an important point?
Then, with such an implementation, we would need to define the
p-valueandthresholdto use it within theMCMCDyn1StepBeta Was this translation helpful? Give feedback.
All reactions