Skip to content

Commit

Permalink
[Docs] Reorganize the docs
Browse files Browse the repository at this point in the history
Fixes #157
  • Loading branch information
lrnv committed Feb 19, 2024
1 parent 9fd6733 commit 06b6185
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 26 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
8 changes: 4 additions & 4 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 is, generally, the Elliptical family.

Expand All @@ -24,7 +24,7 @@ This class contains the (multivariate) Normal and Student distributions, and it
```
which is still a function of only the norm of $\bm t$. To fix ideas, for Gaussian random vectors, $\psi(t) = e^{-\frac{t^2}{2}}$.

## 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 @@ -44,7 +44,7 @@ On the other hand, there exist performant estimators of high-dimensional covaria
!!! note "Discrepancy with the code"
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`.

## Implementation


```@docs
EllipticalCopula
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/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The package revolves around two main types:
- `Copula`, the abstract mother type of all copulas
- `SklarDist`, the type for multivariate compound distribution through [Sklar's theorem](https://en.wikipedia.org/wiki/Copula_(probability_theory)#Sklar's_theorem).

## Instalation
## Installation

The package is available on Julia's general registry, and can be installed as follows:

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 06b6185

Please sign in to comment.