rscopulas 0.2.3

Core Rust library for fitting, evaluating, and sampling copula models and vine copulas
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

/// Standard return value for fitting routines.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct FitResult<T> {
    /// The fitted model.
    pub model: T,
    /// Likelihood-based diagnostics reported by the fitter.
    pub diagnostics: crate::domain::FitDiagnostics,
}