Skip to content

sceptre default covariate model #127

Answered by ekatsevi
redbybeing asked this question in Q&A
Discussion options

You must be logged in to vote

I am curious why log is applied for the count values?

Our rationale is primarily for the sequencing depth variables like response_n_umis. To see why the logarithmic transformation makes sense at least for this variable, see Section 5.2.2 of my lecture notes. This section is in the context of Poisson regression, but it's similar for NB regression. Furthermore, the notes discuss adding a term like log(response_n_umis) as an offset (i.e. with coefficient 1), but in sceptre we add it as a covariate (i.e. with a coefficient we fit based on the data) for added robustness.

And, is the exact same formula used for all pairs tested? Would there be a case where some pairs are better fitted with a…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@redbybeing
Comment options

Answer selected by ekatsevi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants