Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEM instead of SD #33

Open
lmanchon opened this issue Dec 30, 2021 · 2 comments
Open

SEM instead of SD #33

lmanchon opened this issue Dec 30, 2021 · 2 comments
Assignees
Labels

Comments

@lmanchon
Copy link

--Hi,

sometimes people prefer to use SEM instead of SD.
pcr_analyze function return SD (error), so is there a way to obtain SEM ?
Thank you --

@MahShaaban MahShaaban self-assigned this Dec 31, 2021
@MahShaaban
Copy link
Owner

Hi @lmanchon
It is not clear to me how to get the SEM with error propagation as obtained in the package.
You could just divide the "error" term by the square root of the number of samples, but again I am not sure if this is the correct way to go about it.

@lmanchon
Copy link
Author

--Hi,
i have read in some papers they use SEM instead of SD, this reduces the amplitude of the error bar.
When s is the SD or SEM of the delta-ct's, then s' of the delta-deltas is given as s' = SQRT(s²[treat]+s²[control]).
(the delta-delta-ct is from the two average delta-cts (treated and control, for instance)).
But in your package s is SD and s' too, and there is no formula to convert s' to SEM.
SEM=SD/SQRT(N) with N size of the sample.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants