Description: This is a survivorship study concerning the PiW3 strain in species Plodia interpunctella. It is specifically concerning the effects that sex has on survivorship, replication a similar study “Pint003” that found females had a significantly shorter lifespan than males. We see the same pattern here.
library("tidyverse")
── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
✔ dplyr 1.1.4 ✔ readr 2.1.5
✔ forcats 1.0.0 ✔ stringr 1.5.1
✔ ggplot2 3.5.1 ✔ tibble 3.2.1
✔ lubridate 1.9.3 ✔ tidyr 1.3.1
✔ purrr 1.0.2
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag() masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
pint006$PupalDays[pint006$PupalDays >15| pint006$PupalDays ==0] <-NA#some individuals had no pupation date, and Excel interpretted this as having the earliest date possible, which wasn't useful.str(pint006)
Welch Two Sample t-test
data: pint006$PupalDays[pint006$Sex == "Female"] and pint006$PupalDays[pint006$Sex == "Male"]
t = 0.10422, df = 76.398, p-value = 0.9173
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-0.3850600 0.4275866
sample estimates:
mean of x mean of y
7.435897 7.414634
[[1]]
Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
NA NA NA NaN NA NA 17
$Female
Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
5 7 8 8 9 12 2
$Male
Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
3.00 12.00 14.00 13.75 16.00 21.00 1