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

Discussion: sigma scaling factor #370

Open
adeane-ga opened this issue Oct 22, 2021 · 2 comments
Open

Discussion: sigma scaling factor #370

adeane-ga opened this issue Oct 22, 2021 · 2 comments
Assignees

Comments

@adeane-ga
Copy link
Contributor

This is just a question I have up for discussion:
What do we mean when we say 2 Sigma for the error of the velocity estimates in PyRate?

Summary

  • PyRate uses scipy.stats.linregress() to calculate the velocity (or slope of the trend line). It returns the standard error of this slope estimate. https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.linregress.html
  • This results in the per pixel values in the linear_error.tif output file in the velocity_dir.
  • PyRate has a config parameter called velerror_nsig which determines whether we report 1 or 2 "sigma".
  • The default is 2 where it literally takes this input argument and scales the standard error of the velocity.
  • Should we be using 1.96 to reflect the formal definition of 95 % confidence?
  • Or does this not matter?
@adeane-ga adeane-ga changed the title Sigma Scaling factor Sigma scaling factor Oct 22, 2021
@adeane-ga adeane-ga changed the title Sigma scaling factor Discussion: sigma scaling factor Oct 24, 2021
@mcgarth
Copy link
Contributor

mcgarth commented Oct 29, 2021

Assigning @richardt94 for comment, who implemented this feature

@adu461386118
Copy link
Contributor

Hi Al, these are some lectures slides in Probability and Statistics from UTS about the 95 % confidence, personally, I think people tend to use 2 instead of 1.96 is because is it easier to do the calculation,

WeChat Image_20211105005242

WeChat Image_20211105005249

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

No branches or pull requests

4 participants