diff --git a/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-110-1.pdf b/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-110-1.pdf
index 100ebfd..c38208f 100644
Binary files a/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-110-1.pdf and b/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-110-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-111-1.pdf b/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-111-1.pdf
index eee26cd..480ce82 100644
Binary files a/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-111-1.pdf and b/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-111-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-131-1.pdf b/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-131-1.pdf
index 08163ea..ecacfa3 100644
Binary files a/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-131-1.pdf and b/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-131-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-132-1.pdf b/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-132-1.pdf
index f696b63..8beb34f 100644
Binary files a/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-132-1.pdf and b/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-132-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-169-1.pdf b/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-169-1.pdf
index b060881..d002ee8 100644
Binary files a/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-169-1.pdf and b/_bookdown_files/banana-book_files/figure-html/unnamed-chunk-169-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/acfchainlength-1.pdf b/_bookdown_files/banana-book_files/figure-latex/acfchainlength-1.pdf
new file mode 100644
index 0000000..b48dd5e
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/acfchainlength-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/betadistribution-1.pdf b/_bookdown_files/banana-book_files/figure-latex/betadistribution-1.pdf
new file mode 100644
index 0000000..715e6c5
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/betadistribution-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/bgr-1.pdf b/_bookdown_files/banana-book_files/figure-latex/bgr-1.pdf
new file mode 100644
index 0000000..4d6dc38
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/bgr-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/binlik-1.pdf b/_bookdown_files/banana-book_files/figure-latex/binlik-1.pdf
new file mode 100644
index 0000000..fac928f
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/binlik-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/burnin-1.pdf b/_bookdown_files/banana-book_files/figure-latex/burnin-1.pdf
new file mode 100644
index 0000000..9dc4d33
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/burnin-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/chain-1.pdf b/_bookdown_files/banana-book_files/figure-latex/chain-1.pdf
new file mode 100644
index 0000000..08ff82e
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/chain-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/compar-1.pdf b/_bookdown_files/banana-book_files/figure-latex/compar-1.pdf
new file mode 100644
index 0000000..878b799
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/compar-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/dag-survival-1.pdf b/_bookdown_files/banana-book_files/figure-latex/dag-survival-1.pdf
new file mode 100644
index 0000000..93605f2
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/dag-survival-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/longchain-1.pdf b/_bookdown_files/banana-book_files/figure-latex/longchain-1.pdf
new file mode 100644
index 0000000..a616d4f
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/longchain-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/numapprox-1.pdf b/_bookdown_files/banana-book_files/figure-latex/numapprox-1.pdf
new file mode 100644
index 0000000..2a9ebdd
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/numapprox-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/tracechainlength-1.pdf b/_bookdown_files/banana-book_files/figure-latex/tracechainlength-1.pdf
new file mode 100644
index 0000000..3a969c5
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/tracechainlength-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/traceown-1.pdf b/_bookdown_files/banana-book_files/figure-latex/traceown-1.pdf
new file mode 100644
index 0000000..4683df6
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/traceown-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/twochains-1.pdf b/_bookdown_files/banana-book_files/figure-latex/twochains-1.pdf
new file mode 100644
index 0000000..cc1ab40
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/twochains-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-110-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-110-1.pdf
new file mode 100644
index 0000000..b1e3639
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-110-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-111-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-111-1.pdf
new file mode 100644
index 0000000..3f3b130
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-111-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-131-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-131-1.pdf
new file mode 100644
index 0000000..14cec8b
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-131-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-132-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-132-1.pdf
new file mode 100644
index 0000000..fd1db48
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-132-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-169-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-169-1.pdf
new file mode 100644
index 0000000..f23eec4
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-169-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-184-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-184-1.pdf
new file mode 100644
index 0000000..ecbdc35
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-184-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-204-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-204-1.pdf
new file mode 100644
index 0000000..1f12bfb
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-204-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-205-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-205-1.pdf
new file mode 100644
index 0000000..230cf67
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-205-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-225-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-225-1.pdf
new file mode 100644
index 0000000..a72ec7e
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-225-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-227-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-227-1.pdf
new file mode 100644
index 0000000..655e636
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-227-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-241-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-241-1.pdf
new file mode 100644
index 0000000..5a1a9f7
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-241-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-252-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-252-1.pdf
new file mode 100644
index 0000000..33f9f1b
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-252-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-253-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-253-1.pdf
new file mode 100644
index 0000000..2cd07ff
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-253-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-281-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-281-1.pdf
new file mode 100644
index 0000000..ed10221
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-281-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-282-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-282-1.pdf
new file mode 100644
index 0000000..53d3e80
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-282-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-292-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-292-1.pdf
new file mode 100644
index 0000000..27de69c
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-292-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-293-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-293-1.pdf
new file mode 100644
index 0000000..769074b
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-293-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-312-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-312-1.pdf
new file mode 100644
index 0000000..d5b715d
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-312-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-313-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-313-1.pdf
new file mode 100644
index 0000000..ced267a
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-313-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-314-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-314-1.pdf
new file mode 100644
index 0000000..9f1862f
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-314-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-43-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-43-1.pdf
new file mode 100644
index 0000000..eb44612
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-43-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-46-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-46-1.pdf
new file mode 100644
index 0000000..8f38c29
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-46-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-47-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-47-1.pdf
new file mode 100644
index 0000000..f75012a
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-47-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-48-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-48-1.pdf
new file mode 100644
index 0000000..c13b4a6
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-48-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-52-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-52-1.pdf
new file mode 100644
index 0000000..b3f042c
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-52-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-72-1.pdf b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-72-1.pdf
new file mode 100644
index 0000000..6ff2313
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/unnamed-chunk-72-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/viterbiaveragecompute-1.pdf b/_bookdown_files/banana-book_files/figure-latex/viterbiaveragecompute-1.pdf
new file mode 100644
index 0000000..72ec9b6
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/viterbiaveragecompute-1.pdf differ
diff --git a/_bookdown_files/banana-book_files/figure-latex/viterbicomputeaverage-1.pdf b/_bookdown_files/banana-book_files/figure-latex/viterbicomputeaverage-1.pdf
new file mode 100644
index 0000000..32972f1
Binary files /dev/null and b/_bookdown_files/banana-book_files/figure-latex/viterbicomputeaverage-1.pdf differ
diff --git a/covariates.Rmd b/covariates.Rmd
index 0d9496e..f39416d 100644
--- a/covariates.Rmd
+++ b/covariates.Rmd
@@ -1,4 +1,4 @@
-# Covariates {#covariates}
+# Covariates {#covariateschapter}
## Missing values
diff --git a/dispersal.Rmd b/dispersal.Rmd
index e3ff07d..67e7f56 100644
--- a/dispersal.Rmd
+++ b/dispersal.Rmd
@@ -1,4 +1,4 @@
-# Movements between sites, and states {#dispersal}
+# Sites and states {#dispersal}
WORK IN PROGRESS. **I'm missing a section on gof w/ R2ucare and posterior predictive checks/Bayesian p-values.**
diff --git a/docs/404.html b/docs/404.html
index cf9bb89..9153378 100644
--- a/docs/404.html
+++ b/docs/404.html
@@ -78,12 +78,12 @@
Hidden Markov models
II. Transitions
Introduction
- Survival
- Movements between sites, and states
+ Live and dead
+ Sites and states
III. Case studies
Introduction
Life history
- Covariates
+ Covariates
Miscelleanous
Lack of fit
IV. Conclusions
diff --git a/docs/about-the-author.html b/docs/about-the-author.html
index 6895aa2..e9d7c18 100644
--- a/docs/about-the-author.html
+++ b/docs/about-the-author.html
@@ -78,12 +78,12 @@
Hidden Markov models
II. Transitions
Introduction
- Survival
- Movements between sites, and states
+ Live and dead
+ Sites and states
III. Case studies
Introduction
Life history
- Covariates
+ Covariates
Miscelleanous
Lack of fit
IV. Conclusions
diff --git a/docs/covariates.html b/docs/covariates.html
index 71418bc..d1294d2 100644
--- a/docs/covariates.html
+++ b/docs/covariates.html
@@ -79,7 +79,7 @@
II. Transitions
Introduction
Survival
- Movements between sites, and states
+ Of sites and states
III. Case studies
Introduction
Life history
diff --git a/docs/covariateschapter.html b/docs/covariateschapter.html
new file mode 100644
index 0000000..81c7a66
--- /dev/null
+++ b/docs/covariateschapter.html
@@ -0,0 +1,218 @@
+
+
+
+
+
+
+Chapter 7 Covariates | Bayesian Analysis of Capture-Recapture Data with Hidden Markov Models
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Covariates
+
+
+
+
+ Nonlinearities
+
+
splines à la main et avec jagam, ex snow petrels
+
+
+
+ Covariate selection
+
+
rjmcmc on turdus merila, papier Evolution Gimenez. Exemple cigognes, papier Gimenez WinBUGS.
+
+
+
+ Sex uncertainty
+
+
Pradel et al. (2008 ) and Genovart, Pradel, and Oro (2012 )
+
+
+
+ Actuarial senescence
+
+
Choquet et al. (2011 ) , Péron et al. (2016 ) , Marzolin on dipper in Ecology.
+
+
+
+ Covariate on multinomial logit link
+
+
papier Loreleï
+
+
+
+ Uncertainty in age
+
+
Papier Vincenzo et d’autre papiers.
+
+
+
+
+
+
+
+
+
+
+
+
"Bayesian Analysis of Capture-Recapture Data with Hidden Markov Models : Theory and Case Studies in R" was written by Olivier Gimenez. It was last built on 2023-08-14.
+
+
+
+
This book was built by the bookdown R package.
+
+
+
+
+
+
diff --git a/docs/crashcourse.html b/docs/crashcourse.html
index efc0d18..b1d44ba 100644
--- a/docs/crashcourse.html
+++ b/docs/crashcourse.html
@@ -78,12 +78,12 @@
Hidden Markov models
II. Transitions
Introduction
- Survival
- Movements between sites, and states
+ Live and dead
+ Sites and states
III. Case studies
Introduction
Life history
- Covariates
+ Covariates
Miscelleanous
Lack of fit
IV. Conclusions
@@ -260,7 +260,7 @@
sample_from_posterior <- rbeta ( 1000 , 20 , 39 ) # draw 1000 values from posterior survival beta(20,39)
mean ( sample_from_posterior ) # compute mean with Monte Carlo integration
-## [1] 0.3443
+## [1] 0.3365
You may check that the mean we have just calculated matches closely the expectation of a beta distribution:
20 / ( 20 + 39 ) # expectation of beta(20,39)
@@ -269,7 +269,7 @@
quantile ( sample_from_posterior , probs = c ( 2.5 / 100 , 97.5 / 100 ) )
## 2.5% 97.5%
-## 0.2253 0.4602
+## 0.2266 0.4695
- Movements between sites, and states
+ Sites and states
WORK IN PROGRESS. I’m missing a section on gof w/ R2ucare and posterior predictive checks/Bayesian p-values.
@@ -35066,12 +35066,12 @@
-## Time difference of 19.07 secs
+## Time difference of 19.01 secs
We can have a look to numerical summaries:
MCMCsummary ( mcmc.output , round = 2 )
@@ -5627,7 +5627,7 @@
## |-------------------------------------------------------|
end_time <- Sys.time ( )
end_time - start_time
-## Time difference of 17.68 secs
+
## Time difference of 17.84 secs
The numerical summaries are similar to those we obtained with the complete likelihood, and effective samples sizes are larger denoting better mixing:
MCMCsummary ( mcmc.output , round = 2 )
@@ -5763,7 +5763,7 @@
## |-------------------------------------------------------|
end_time <- Sys.time ( )
end_time - start_time
-## Time difference of 17.81 secs
+## Time difference of 17.63 secs
MCMCsummary ( mcmc.output , round = 2 )
## mean sd 2.5% 50% 97.5% Rhat n.eff
## p 0.61 0.06 0.49 0.61 0.72 1 1453
diff --git a/docs/index.html b/docs/index.html
index dd90a1e..016b818 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -78,12 +78,12 @@
Hidden Markov models
II. Transitions
Introduction
- Survival
- Movements between sites, and states
+ Live and dead
+ Sites and states
III. Case studies
Introduction
Life history
- Covariates
+ Covariates
Miscelleanous
Lack of fit
IV. Conclusions
diff --git a/docs/introduction-4.html b/docs/introduction-4.html
index de7f0c9..04f8e2f 100644
--- a/docs/introduction-4.html
+++ b/docs/introduction-4.html
@@ -78,12 +78,12 @@
Hidden Markov models
II. Transitions
Introduction
- Survival
- Movements between sites, and states
+ Live and dead
+ Sites and states
III. Case studies
Introduction
Life history
- Covariates
+ Covariates
Miscelleanous
Lack of fit
IV. Conclusions
@@ -104,7 +104,7 @@