From ffb94e1ba756141f177cd8b0bc5a457ddb14d729 Mon Sep 17 00:00:00 2001 From: nmueller18 Date: Wed, 13 Sep 2023 23:13:49 +0200 Subject: [PATCH] Correction to vignette and representativity. --- R/representativity.R | 4 ++-- vignettes/mortAAR_vignette_lt_correction.Rmd | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/representativity.R b/R/representativity.R index b734839..5c1d404 100644 --- a/R/representativity.R +++ b/R/representativity.R @@ -70,8 +70,8 @@ lt.representativity.mortaar_life_table <- function(life_table) { "5q0 > 5q15", "5q10 < 5q15", "(5D5 / 5D10) >= 2", "(10D5 / D20+) >= 0.1" ), - value1 = round(c(mortality$q0_5, mortality$q15_5, indx$d5_9, indx$d5_14), 2), - value2 = round(c(mortality$q10_5, mortality$q15_5, indx$d10_14, indx$d20plus), 2), + value1 = round(c(mortality$q0_5, mortality$q10_5, indx$d5_9, indx$d5_14), 2), + value2 = round(c(mortality$q15_5, mortality$q15_5, indx$d10_14, indx$d20plus), 2), result = round( c( mortality$q0_5 / mortality$q15_5, mortality$q10_5 / mortality$q15_5, diff --git a/vignettes/mortAAR_vignette_lt_correction.Rmd b/vignettes/mortAAR_vignette_lt_correction.Rmd index 4490546..fff1e89 100644 --- a/vignettes/mortAAR_vignette_lt_correction.Rmd +++ b/vignettes/mortAAR_vignette_lt_correction.Rmd @@ -38,7 +38,7 @@ nitra_life <- life.table(nitra_prep,option_spline = 20) plot(nitra_life, display=c("dx","qx")) ``` -As expected, applying the option leads to much smoother curves. However, for the 10-option, the oldest age group shows a local maximum which is not reflected in the original data and therefore is an artefact of the smoothing algorithm working on the available data. In this case, the 20-year-option seems to offer a better compromise between a much more natural looking curve and still trueness to the original data. +As expected, applying the option leads to much smoother curves. However, for the 10-year-option, the oldest age group shows a local maximum which is not reflected in the original data and therefore is an artefact of the smoothing algorithm working on the available data. In this case, the 20-year-option seems to offer a better compromise between a much more natural looking curve and still trueness to the original data. ## Representativity of data @@ -46,7 +46,7 @@ Anthropological data from archaeological contexts is necessarily fragmentary. Th Weiss chose the mortality (qx) as deciding factor and claimed that (1) the probability of death of the age group 10-15 (5q10) should be lower than that of the group 15-20 (5q15) and that (2) the latter in turn should be lower than that of age group 0-5 (5q0). -In contrast, Bocquet-Appel and Masset took the raw number of dead (Dx) and asserted that (1) the ratio of those having died between 5 and 10 (D5-10) and those died between 10 and 15 years (D5-10) should be equal or larger than 2 and that (2) the ratio of those having died between 5 and 15 (D5-15) and all adults (>= 20; D20+) should be 0.1 or larger. +In contrast, Bocquet-Appel and Masset took the raw number of dead (Dx) and asserted that (1) the ratio of those having died between 5 and 10 (D5-10) and those died between 10 and 15 years (D10-15) should be equal or larger than 2 and that (2) the ratio of those having died between 5 and 15 (D5-15) and all adults (>= 20; D20+) should be 0.1 or larger. If either of these prerequisites is not met, the results from such data should be treated with extreme caution as the mortality structure is different from that of known populations. Due to the specific nature of the indices, they only give meaningful results if 5-year-age categories have been chosen for the non-adults.