The estimating functions for this example have been described in detail elsewhere. Here are a few, with accompanying code in multiple languages
https://academic.oup.com/aje/article/192/3/467/6564140#412157886
https://pubmed.ncbi.nlm.nih.gov/38423105/
https://academic.oup.com/aje/article/192/3/467/6564140#412157886
https://pubmed.ncbi.nlm.nih.gov/38423105/
Comments
https://deli.readthedocs.io/en/latest/Examples/Cole-AJE-2023.html#Case-2:-Estimating-a-Misclassified-Proportion
https://pubmed.ncbi.nlm.nih.gov/39198907/