Skip to content

Commit

Permalink
[Docs] Reorganize the docs (#158)
Browse files Browse the repository at this point in the history
Fixes #157
  • Loading branch information
lrnv authored Feb 19, 2024
1 parent 3ecdae0 commit 8655de5
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 24 deletions.
30 changes: 14 additions & 16 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,31 +22,29 @@ makedocs(;
collapselevel=3,
),
pages=[
"Copulas.jl package" => "index.md",
"Getting Started" => "getting_started.md",
"Sklar's Distributions" => "sklar.md",
"Elliptical Copulas" => [
"elliptical/generalities.md",
"elliptical/available_models.md",
"Home" => "index.md",
"Manual" => [
"Getting Started" => "getting_started.md",
"Sklar's Distributions" => "sklar.md",
"Elliptical Copulas" => "elliptical/generalities.md",
"Archimedean Copulas" => "archimedean/generalities.md",
"Liouville Copulas" => "Liouville.md",
"Empirical Copulas" => "empirical/generalities.md",
"Dependence measures" => "dependence_measures.md",
],
"Archimedean Copulas" => [
"archimedean/generalities.md",

"Bestiary" => [
"elliptical/available_models.md",
"archimedean/available_models.md",
],
"Liouville Copulas" => "Liouville.md",
"Other Copulas" => "miscellaneous.md",
"Transformed Copulas" => "transformations.md",
"Empirical Copulas" => [
"empirical/generalities.md",
"empirical/available_models.md",
"Other Copulas" => "miscellaneous.md",
"Transformed Copulas" => "transformations.md",
],
"Dependence measures" => "dependence_measures.md",
"Examples" => [
"examples/fitting_sklar.md",
"examples/turing.md",
"examples/other_usecases.md"
],

"Dev Roadmap" => "dev_roadmap.md",
"Package Index" => "idx.md",
"References" => "references.md",
Expand Down
2 changes: 1 addition & 1 deletion docs/src/Liouville.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
CurrentModule = Copulas
```

## Liouville Copulas
# Liouville Copulas

!!! note "Not merged yet !"
Liouville copulas are coming in this PR : https://github.com/lrnv/Copulas.jl/pull/83, but this is not merged yet.
Expand Down
2 changes: 1 addition & 1 deletion docs/src/archimedean/available_models.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
CurrentModule = Copulas
```

# [Available Models](@id available_archimedean_models)
# [Archimedean Generators](@id available_archimedean_models)

## `WilliamsonGenerator`
```@docs; canonical=false
Expand Down
2 changes: 1 addition & 1 deletion docs/src/elliptical/available_models.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
CurrentModule = Copulas
```

# Available models
# Elliptical Copulas

## `GaussianCopula`

Expand Down
7 changes: 4 additions & 3 deletions docs/src/elliptical/generalities.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
```@meta
CurrentModule = Copulas
```
# [General Discussion](@id elliptical_copulas_header)
## Elliptical random vectors
# [Elliptical Copulas](@id elliptical_copulas_header)


The easiest families of copulas are the one derived from known families of random vectors, and the first presented one are, generally, the Elliptical families (in particular, the Gaussian and Student families are very standard in the litterature).

Expand Down Expand Up @@ -41,7 +41,7 @@ To fix ideas, for Gaussian random vectors, $\psi(t) = e^{-\frac{t^2}{2}}$.
T = MvTDist(ν,Σ)
```

## Elliptical copulas


Elliptical copulas are simply copulas of elliptical distributions. This simplicity of definition is paid for in the expression of the copulas itself: the obtained function has usually no better expression than:
```math
Expand All @@ -61,6 +61,7 @@ On the other hand, there exist performant estimators of high-dimensional covaria
!!! note "Note on internal implementation"
If the exposition we just did on characteristic functions of Elliptical random vectors is fundamental to the definition of elliptical copulas, the package does not use this at all to function, and rather rely on the existence of multivariate and corresponding univariate families of distributions in `Distributions.jl`.


You can obtain these elliptical copulas by the following code:
```julia
using Copulas
Expand Down
2 changes: 1 addition & 1 deletion docs/src/empirical/available_models.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
CurrentModule = Copulas
```

# Available Models
# Empirical Copulas

## `EmpiricalCopula`

Expand Down
2 changes: 1 addition & 1 deletion docs/src/sklar.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
CurrentModule = Copulas
```

# Sklar's Theorem
# Sklar's Distribution

Recall the following theorem from [sklar1959](@cite):

Expand Down

0 comments on commit 8655de5

Please sign in to comment.