{"id":"oscr:b:NP46M91FGH59T-Q","url":"https://openscicode.org/b/oscr:b:NP46M91FGH59T-Q","status":"current","doi":"10.1371/journal.pbio.3001627","since":"2026-11-16","page":"doi_10.1371_journal.pbio.3001627","repo":"github.com/oualidbenkarim/ps_diversity","commit":"de34914a1cd71f41bce163a13dcd4141b8d611fd","path":"propensity_score.py","swhid":"swh:1:cnt:be43b9dfccc5757f8fa6f96507513471c760d7ac","lines":[19,49],"symbol":"estimate_ps","paragraphs":[[16,"Methods › Quantifying diversity using propensity scores"]],"method":"lexical-v1","origin":"machine","paper":"https://doi.org/10.1371/journal.pbio.3001627","swhid_qualified":"swh:1:cnt:be43b9dfccc5757f8fa6f96507513471c760d7ac;origin=https://github.com/oualidbenkarim/ps_diversity;anchor=swh:1:rev:de34914a1cd71f41bce163a13dcd4141b8d611fd;path=/propensity_score.py;lines=19-49","reader":"https://openscicode.org/paper/doi_10.1371_journal.pbio.3001627/?path=propensity_score.py#L19-L49","citation":"Code block oscr:b:NP46M91FGH59T-Q (https://openscicode.org/b/oscr:b:NP46M91FGH59T-Q)\npropensity_score.py, lines 19 to 49, in github.com/oualidbenkarim/ps_diversity (https://github.com/oualidbenkarim/ps_diversity), commit de34914a1cd71f41bce163a13dcd4141b8d611fd.\nPaper: https://doi.org/10.1371/journal.pbio.3001627\nSWHID: swh:1:cnt:be43b9dfccc5757f8fa6f96507513471c760d7ac;origin=https://github.com/oualidbenkarim/ps_diversity;anchor=swh:1:rev:de34914a1cd71f41bce163a13dcd4141b8d611fd;path=/propensity_score.py;lines=19-49"}