-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Make sure all internals use the same notation for the time series (`source`, `target` and `cond` instead of `x`, `y` and `z`). - Major documentation restructuring/improvements.
- Loading branch information
Showing
42 changed files
with
587 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name = "CausalityTools" | |
uuid = "5520caf5-2dd7-5c5d-bfcb-a00e56ac49f7" | ||
authors = ["Kristian Agasøster Haaga <[email protected]>", "Tor Einar Møller <[email protected]>"] | ||
repo = "https://github.com/kahaaga/CausalityTools.jl.git" | ||
version = "0.9.0" | ||
version = "0.9.1" | ||
|
||
[deps] | ||
CausalityToolsBase = "b1f25513-c649-51ee-8a1c-0e98d01ae897" | ||
|
@@ -51,7 +51,7 @@ StateSpaceReconstruction = "^0.4.2, ^1" | |
StaticArrays = "^0.11.0, ^1" | ||
StatsBase = "^0.32.0, ^1" | ||
TimeseriesSurrogates = "^0.5.1, ^1" | ||
TransferEntropy = "^0.5.4, ^1" | ||
TransferEntropy = "^0.5.6, ^1" | ||
UncertainData = "^0.10" | ||
julia = "^1.1" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# [FAQ](@id FAQ) | ||
|
||
## I want to see an overview of available causality tests | ||
|
||
See the [package overview](@ref package_overview). | ||
|
||
## I want to use low-level methods directly | ||
|
||
### Transfer entropy | ||
|
||
- I want to understand how [marginals are assigned](@ref te_assigning_marginals) during transfer entropy computations. | ||
- [`transferentropy(::Any, ::TEVars, ::RectangularBinning, ::BinningTransferEntropyEstimator)`](@ref) for estimating transfer entropy by discretizing the [state space reconstruction](@ref custom_delay_reconstruction) of your data into a rectangular grid. | ||
- [`transferentropy(::Any, ::TEVars, ::NearestNeighbourMI)`](@ref) for estimating transfer entropy by counting nearest neighbours in [state space reconstruction](@ref custom_delay_reconstruction) of your data. | ||
- [`transferentropy(::Any, ::TEVars, ::RectangularBinning, ::BinningTransferEntropyEstimator)`](@ref) for estimating transfer entropy by discretizing the [state space reconstruction](@ref custom_delay_reconstruction) of your data into a triangular partition. | ||
|
||
### Joint distance distribution | ||
|
||
- [`joint_distance_distribution(source, target)`](@ref) computes the joint distance distribution over a set of subintervals. | ||
- [`joint_distance_distribution(test::OneSampleTTest, source, target)`](@ref) computes the joint distance distribution over a set of subintervals and returns a t-test for the distribution. | ||
|
||
## Cross mappings | ||
|
||
- [`crossmap(driver, response)`](@ref) computes cross mapping skills for a given library size. | ||
- [`convergentcrossmap(driver, response, timeseries_lengths)`](@ref) computes cross mapping skills for a given library size, but over multiple time series lengths. | ||
|
||
## Regular time series | ||
|
||
I have regular time series want to see a tuturial on a specific causality detection method: | ||
|
||
- [`SMeasureTest` tutorial](@ref tutorial_SMeasureMest). | ||
|
||
## Time series with uncertainties | ||
|
||
My data have uncertainties in time indices (and potentially values). I want to use the | ||
built-in uncertainty handling tools to compute a causality statitistic for my data. | ||
|
||
### Estimating causality statistics on binned data | ||
|
||
- [PredictiveAsymmetryTest](@ref tutorial_PredictiveAsymmetryTest_BinnedMeanResampling). |
2 changes: 1 addition & 1 deletion
2
...algorithms/joint_distance_distribution.md → ...stribution/joint_distance_distribution.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# [S-measure](@id Smeasure_overview) | ||
|
||
```@docs | ||
s_measure | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
# Abstract causality test types | ||
|
||
```@docs | ||
CausalityTest | ||
``` | ||
|
||
# Distance based casuality tests | ||
|
||
```@docs | ||
DistanceBasedCausalityTest | ||
``` | ||
|
||
## Entropy based causality tests | ||
|
||
```@docs | ||
EntropyBasedCausalityTest | ||
``` | ||
|
||
```@docs | ||
TransferEntropyCausalityTest | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
# An introduction to time series causality | ||
|
||
|
||
[1]: | ||
Hannisdal, B., & Peters, S. E. (2011). Phanerozoic Earth system evolution and marine biodiversity. science, 334(6059), 1121-1124. | ||
[2]: | ||
Dunhill, A. M., Hannisdal, B., & Benton, M. J. (2014). Disentangling rock record bias and common-cause from redundancy in the British fossil record. Nature communications, 5, 4818. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.