https://github.com/cossio/truncatednormal.jl
Compute mean and variance of the univariate truncated normal distribution (works far from the peak).
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.1%) to scientific vocabulary
Keywords
Repository
Compute mean and variance of the univariate truncated normal distribution (works far from the peak).
Basic Info
Statistics
- Stars: 8
- Watchers: 3
- Forks: 3
- Open Issues: 2
- Releases: 2
Topics
Metadata Files
README.md
TruncatedNormal
Note: Merged in to Distributions.jl, see JuliaStats/Distributions.jl#1058, JuliaStats/Distributions.jl#691.
Installation
Install with
julia
using Pkg
Pkg.add(url="https://github.com/cossio/TruncatedNormal.jl")
Usage
This package does not export any symbols. The following functions are defined.
Mean of the truncated standard normal distribution:
julia
TruncatedNormal.tnmean(a,b)
Mean of the truncated normal distribution, where μ,σ are the mean and standard deviation of the untruncated distribution:
julia
TruncatedNormal.tnmean(a, b, μ, σ)
Variance of the truncated standard normal distribution:
julia
TruncatedNormal.tnvar(a,b)
Variance of the truncated normal distribution, where μ,σ are the mean and standard deviation of the untruncated distribution:
julia
TruncatedNormal.tnvar(a, b, μ, σ)
It works even if the truncation interval is far from the mode of the distribution. See https://github.com/cossio/TruncatedNormal.jl/blob/master/notes/normal.pdf for mathematical details.
Owner
- Name: Jorge Fernandez-de-Cossio-Diaz
- Login: cossio
- Kind: user
- Repositories: 24
- Profile: https://github.com/cossio
GitHub Events
Total
Last Year
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Jorge Fernandez-de-Cossio-Diaz | j****z@g****m | 75 |
| Jorge Fernandez-de-Cossio-Diaz | c****o | 10 |
| Sue Parkinson | s****p@g****m | 1 |
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 4
- Total pull requests: 1
- Average time to close issues: about 11 hours
- Average time to close pull requests: about 7 hours
- Total issue authors: 4
- Total pull request authors: 1
- Average comments per issue: 1.25
- Average comments per pull request: 1.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: about 1 hour
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 3.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- TheAeryan (1)
- stephens999 (1)
- suzannastep (1)
- ParadaCarleton (1)
Pull Request Authors
- suzannastep (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v2 composite
- julia-actions/julia-buildpkg latest composite
- julia-actions/julia-runtest latest composite
- julia-actions/setup-julia v1 composite