Skip to content

Getting Started with Julia

For installing Julia, setting up an editor, working with Julia environments, a productive REPL, and common setup problems, see Using Julia on the EpiAware site. That guide is written once for the whole ecosystem, so it is not repeated here.

This page covers only what is specific to CensoredDistributions.jl.

Working with CensoredDistributions.jl

Installing and using the package

julia
julia> ]
(@v1.11) pkg> add CensoredDistributions
julia> using CensoredDistributions

# Start using the package
julia> using Distributions
julia> primary_censored(Gamma(2, 1), Uniform(0, 1))

Working with the tutorials

The tutorials are Literate.jl scripts that can be run directly in the REPL or as standalone Julia scripts. See the FAQ for instructions on running them.

Next steps

  • Work through the tutorials to learn CensoredDistributions.jl.

  • Explore the API documentation.

  • Ready to contribute? The Contributing guide and Developer FAQ cover the development workflow — running tests, switching environments, and troubleshooting — with the package's actual task-based commands, not the generic advice above.