Hi,
the textmodel_wordfish() function does not give the exact same results in two runs in case the DFM is sparse. Is this due to the use of an approximation to the SVD if the DFM is sparse? In any case, it would be great to add a possibility of deterministic results in case the DFM is sparse. This would be important for replication purposes.
To see the problem, just run the following a few times and compare the last digits of the theta estimates.
library(quanteda)
summary(textmodel_wordfish(dfm(data_corpus_inaugural)))
Thanks so much for your support and best wishes,
Chris
Hi,
the textmodel_wordfish() function does not give the exact same results in two runs in case the DFM is sparse. Is this due to the use of an approximation to the SVD if the DFM is sparse? In any case, it would be great to add a possibility of deterministic results in case the DFM is sparse. This would be important for replication purposes.
To see the problem, just run the following a few times and compare the last digits of the theta estimates.
Thanks so much for your support and best wishes,
Chris