You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this discussion, we settled the current method of transforming DPWCs. The method we selected was:
asinh(dwpc_matrix / mean(dwpc_matrix))
However, now I realize it probably makes more sense to scale by the mean of nonzero DPWCs rather than the overall mean. This approach would be more aligned with our current understanding of DWPCs, namely the gamma-hurdle model. Specifically, the percent nonzero is a separate parameter than the mean of nonzero DWPCs.
Implementing this change would be highly disruptive and would break backwards compatibility with Rephetio transformed DWPCs. Furthermore, it would require regenerating the degree-grouped permuted DWPC statistics for hetmech. Because this change would be highly disruptive, I'm not necessarily suggesting we implement it unless we see that the current transformation is deficient in practice.
Here are some lines in the current hetmatpy codebase that deal with transforming DWPCs:
In this discussion, we settled the current method of transforming DPWCs. The method we selected was:
However, now I realize it probably makes more sense to scale by the mean of nonzero DPWCs rather than the overall mean. This approach would be more aligned with our current understanding of DWPCs, namely the gamma-hurdle model. Specifically, the percent nonzero is a separate parameter than the mean of nonzero DWPCs.
Implementing this change would be highly disruptive and would break backwards compatibility with Rephetio transformed DWPCs. Furthermore, it would require regenerating the degree-grouped permuted DWPC statistics for hetmech. Because this change would be highly disruptive, I'm not necessarily suggesting we implement it unless we see that the current transformation is deficient in practice.
Here are some lines in the current hetmatpy codebase that deal with transforming DWPCs:
hetmatpy/hetmatpy/degree_group.py
Line 89 in 4911389
hetmatpy/hetmatpy/degree_group.py
Lines 57 to 58 in 4911389
The text was updated successfully, but these errors were encountered: