Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Discussion: sigma scaling factor #370

@adeane-ga

Description

@adeane-ga

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?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions