Skip to content

Wordfish results change from run to run #1216

Description

@chriswratil

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions