# Bayesian Time-Stratified Population Analysis

## Documentation for package ‘BTSPAS’ version 2024.11.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

expit | Logit and anti-logit function.
logit | Logit and anti-logit function.
RunTime | Compute percentiles of the run timing distribution.
SimplePetersen | Simple Petersen Estimator and test if pooling can be done
TestIfPool | Simple Petersen Estimator and test if pooling can be done
TimeStratPetersenDiagErrorWHChinook2_fit | Wrapper (*_fit) to fit the Time Stratified Petersen Estimator with Diagonal Entries and separating Wild from Hatchery Chinook function.
TimeStratPetersenDiagErrorWHChinook_fit | Wrapper (*_fit) to fit the Time Stratified Petersen Estimator with Diagonal Entries and separating Wild from Hatchery Chinook function.
TimeStratPetersenDiagErrorWHSteel_fit | Wrapper (*_fit) and function to call the Time Stratified Petersen Estimator with Diagonal Entries and separating Wild from Hatchery Steelhead function.
TimeStratPetersenDiagError_fit | Wrapper (*_fit) to call the Time Stratified Petersen Estimator with Diagonal Entries function.
TimeStratPetersenNonDiagErrorNPMarkAvail_fit | Wrapper (*_fit) to call the function to fit a Time Stratified Petersen Estimator with NON Diagonal Entries with an non-parametric travel time and fall back
TimeStratPetersenNonDiagErrorNP_fit | Wrapper (*_fit) to fit the Time Stratified Petersen Estimator with NON Diagonal Entries function and a non-parametric travel time estimator..
TimeStratPetersenNonDiagError_fit | Wrapper (*_fit) to fit the Time Stratified Petersen Estimator with NON Diagonal Entries function.
TimeToTargetRunSize | Computes and plots posterior distribution of time to get target run size. For example, the time to reach a cumulative run of 10,000 fish.