Package: ASMbook 1.0.3

ASMbook: Functions for the Book "Applied Statistical Modeling for Ecologists"

Provides functions to accompany the book "Applied Statistical Modeling for Ecologists" by Marc Kéry and Kenneth F. Kellner (2024, ISBN: 9780443137150). Included are functions for simulating and customizing the datasets used for the example models in each chapter, summarizing output from model fitting engines, and running custom Markov Chain Monte Carlo.

Authors:Marc Kéry [aut], Ken Kellner [cre, aut]

ASMbook_1.0.3.tar.gz
ASMbook_1.0.3.zip(r-4.5)ASMbook_1.0.3.zip(r-4.4)ASMbook_1.0.3.zip(r-4.3)
ASMbook_1.0.3.tgz(r-4.4-any)ASMbook_1.0.3.tgz(r-4.3-any)
ASMbook_1.0.3.tar.gz(r-4.5-noble)ASMbook_1.0.3.tar.gz(r-4.4-noble)
ASMbook_1.0.3.tgz(r-4.4-emscripten)ASMbook_1.0.3.tgz(r-4.3-emscripten)
ASMbook.pdf |ASMbook.html
ASMbook/json (API)

# Install 'ASMbook' in R:
install.packages('ASMbook', repos = c('https://kenkellner.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/kenkellner/asmbook/issues

On CRAN:

3.60 score 10 scripts 196 downloads 30 exports 7 dependencies

Last updated 4 months agofrom:487b7ead4c. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 06 2024
R-4.5-winOKNov 06 2024
R-4.5-linuxOKNov 06 2024
R-4.4-winOKNov 06 2024
R-4.4-macOKNov 06 2024
R-4.3-winOKNov 06 2024
R-4.3-macOKNov 06 2024

Exports:demoMCMCget_MLEgetMLEnimble_summarynimbleSummarysimDat102simDat105simDat11simDat122simDat123simDat124simDat13simDat14simDat15simDat16simDat17simDat18simDat19simDat19BsimDat20simDat4simDat5simDat62simDat63simDat72simDat73simDat8simDat9tmb_summarytmbSummary

Dependencies:codalatticeMASSMatrixRcppRcppEigenTMB

Readme and manuals

Help Manual

Help pageTopics
Fit a Poisson GLM with MCMCdemoMCMC
Print Estimates, Standard Errors, and 95% Wald-type Confidence Intervals From optim OutputgetMLE get_MLE
Summarize MCMC Samples in an mcmc.list Object Created by NIMBLEnimbleSummary nimble_summary
Simulate data for Chapter 10.2: Linear mixed-effects modelsimDat102
Simulate data for Chapter 10.5: Linear mixed-effects model with correlation between intercepts and slopessimDat105
Simulate data for Chapter 11: Comparing two groups of Poisson countssimDat11
Simulate data for Chapter 12.2: Overdispersed countssimDat122
Simulate data for Chapter 12.3: Zero-inflated countssimDat123
Simulate data for Chapter 12.4: Counts with offsetssimDat124
Simulate data for Chapter 13: Poisson ANCOVAsimDat13
Simulate data for Chapter 14: Poisson GLMMsimDat14
Simulate data for Chapter 15: Comparing two groups of binomial countssimDat15
Simulate data for Chapter 16: Binomial ANCOVAsimDat16
Simulate data for Chapter 17: Binomial GLMMsimDat17
Simulate data for Chapter 18: model selectionsimDat18
Simulate data for Chapter 19: Occupancy modelsimDat19
Simulate data for Chapter 19B: Binomial N-mixture ModelsimDat19B
Simulate data for Chapter 20: Integrated modelsimDat20
Simulate data for Chapter 4: Model of the meansimDat4
Simulate data for Chapter 5: Simple linear regressionsimDat5
Simulate data for Chapter 6.2: Two groups with equal variancesimDat62
Simulate data for Chapter 6.3: Two groups with unequal variancesimDat63
Simulate data for Chapter 7.2: ANOVA with fixed effects of populationsimDat72
Simulate data for Chapter 7.3: ANOVA with random effects of populationsimDat73
Simulate data for Chapter 8: Two-way ANOVAsimDat8
Simulate data for Chapter 9: ANCOVA or general linear modelsimDat9
Summarize Output from TMBtmbSummary tmb_summary