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

Fix computation of skewness and kurtosis with MCM. #123

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Fix computation of skewness and kurtosis with MCM. #123

merged 1 commit into from
Aug 12, 2024

Conversation

mcol
Copy link
Contributor

@mcol mcol commented Aug 6, 2024

When n.MCM is not NULL, data.MCM is a matrix with as many columns as number of Monte Carlo samples: calling sum() over it when computating skewness and kurtosis will sum n * n.MCM values, so we must divide by n * n.MCM to produce the correct expectations.

Fixes #122.

When `n.MCM` is not NULL, `data.MCM` is a matrix with as many
columns as number of Monte Carlo samples: calling `sum()` over
it when computating skewness and kurtosis will sum `n * n.MCM`
values, so we must divide by `n * n.MCM` to produce the correct
expectations.

Fixes #122.
@RLumSK RLumSK merged commit 8c43c9e into R-Lum:dev_0.9.x Aug 12, 2024
10 checks passed
RLumSK added a commit that referenced this pull request Aug 12, 2024
@mcol mcol deleted the issue_122 branch August 12, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants