semicontinuous_models 0.1.1

Reusable models for semi-continuous outcomes (two-part, Tweedie, and log-normal)
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.87"
name = "semicontinuous_models"
version = "0.1.1"
authors = ["Tobias Kragholm"]
build = false
exclude = [
    "target/",
    ".DS_Store",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reusable models for semi-continuous outcomes (two-part, Tweedie, and log-normal)"
documentation = "https://docs.rs/semicontinuous_models"
readme = "README.md"
keywords = [
    "glm",
    "two-part",
    "tweedie",
    "lognormal",
    "statistics",
]
categories = [
    "science",
    "mathematics",
    "algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tkragholm/semicontinuous_models"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[lib]
name = "semicontinuous_models"
crate-type = ["lib"]
path = "src/lib.rs"

[[example]]
name = "compare_models"
path = "examples/compare_models.rs"

[[example]]
name = "selection"
path = "examples/selection.rs"

[[example]]
name = "tweedie"
path = "examples/tweedie.rs"

[[example]]
name = "two_part"
path = "examples/two_part.rs"

[dependencies.comfy-table]
version = "7.2"

[dependencies.faer]
version = "0.24"

[dependencies.num-traits]
version = "0.2"

[dependencies.rand]
version = "0.10"

[dependencies.statrs]
version = "0.18"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.approx]
version = "0.5"