Calculation of trending concordance between two measures using the Error Field method
Project description
ErrorFieldConcordance
Thie package provides calculation (and optionally graphing) of trending concordance between two measures using the Error Field method.
Function Call
After importing the package, the method can be called as follows:
Concordance = ErrorFieldConcordance(X,Y,plot_TF=False,graph_label='',XMeasName='ΔX (LPM)',YMeasName='ΔY (LPM)')
Function Parameters:
- The X and Y parameters are lists or arrays of equal size corresponding to paired measures to be compared.
- plot_TF is a boolean that controls whether or not a figure is created
- graph_label is an optional parameter to be prefixed to the graph title
- XMeasName and YMeasName are used to customize the X and Y graph labels
Output
The returned concordance value is a number in the range of [-1,1]. Values close to 1 indicate strong concordance. Values close to -1 indicate strong negative concordance (i.e. the measures tend to move in the opposite direction of one another). Values near 0 suggest independence of the two measures.
Graphing
The figure above shows an Error Field Concordance plot for two 1,000 sample arrays of noise (i.e. independent samples). The data demonstrates the fields in the plot, with blue zones indicating concordance (the measures move in the same direction and magnitude), red zones indicating discordance (the measures move in opposite directions), and yellow zones indicating relative independence of movement.
The second figure shows two data sets that are highly concordant. Larger movements in the measures (points farther from the origin in the plot) are weighted more heavily than points with little movement.
Citing
Please cite this package using the following: PubMed Reference & Citation TBD
Contributors
Thanks go out to Bernd Saugel, Sean Coeckelenbergh, Ishita Srivastava, and Brandon Woo for their contributions to this project.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file errorfieldconcordance-0.4.tar.gz.
File metadata
- Download URL: errorfieldconcordance-0.4.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b3baccab527785ccf44142a14adc16a6817b6bb492117193cceed01eb33cd1f
|
|
| MD5 |
7feb83e83c5c3a0ff790ca9b7461ba74
|
|
| BLAKE2b-256 |
d2bfd3c103e669710e9eb0e4ec8ff5a9d92a0be69dc2a980d83df1858a4c2b71
|
File details
Details for the file ErrorFieldConcordance-0.4-py3-none-any.whl.
File metadata
- Download URL: ErrorFieldConcordance-0.4-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3271d3d55e503c53db3c163cf1f5cde04ac5934cb48b863c336c98a296da05b4
|
|
| MD5 |
c6463a15795a7740ac3bbf92090b44bb
|
|
| BLAKE2b-256 |
08d4382a3db91f5c104e457931f016c945c78c8c78b70caf51319ade7513f6a2
|