Demographic data
#number of tests
nt=0
p_values=1
tests=""
# SEX
table(leiac$sex,leiac$ponv)
##
## FALSE TRUE
## Female 707 404
## Male 559 159
chisq.test(leiac$sex,leiac$ponv)
##
## Pearson's Chi-squared test with Yates' continuity correction
##
## data: leiac$sex and leiac$ponv
## X-squared = 40.72, df = 1, p-value = 1.757e-10
nt=nt+1
p_values[nt]=unname(chisq.test(leiac$sex,leiac$ponv)[3])
tests[nt]="SEX"
# APFEL
table(leiac$Apfel,leiac$ponv)
##
## FALSE TRUE
## 0 52 8
## 1 219 57
## 2 534 168
## 3 379 217
## 4 82 113
wilcox.test(leiac$Apfel~leiac$ponv)
##
## Wilcoxon rank sum test with continuity correction
##
## data: leiac$Apfel by leiac$ponv
## W = 258730, p-value < 2.2e-16
## alternative hypothesis: true location shift is not equal to 0
nt=nt+1
p_values[nt]=unname(wilcox.test(leiac$Apfel~leiac$ponv)[3])
tests[nt]="APFEL"
# AGE
comparenp(leiac$age,leiac$ponv,"Age in years")
## [1] "Mean Age in years in no PONV group: "
## [1] 58.56793
## [1] "Standard deviation in no PONV group"
## [1] 13.31018
## [1] "Mean Age in years in PONV group: "
## [1] 55.56128
## [1] "Standard deviation in PONV group"
## [1] 14.86706
## [1] "hypothesis test p-value"
## [[1]]
## [1] 0.0001595741
##
## [1] "-------------------"

## [1] "-------------------"
t=wilcox.test(leiac$age ~leiac$ponv)
t
##
## Wilcoxon rank sum test with continuity correction
##
## data: leiac$age by leiac$ponv
## W = 395730, p-value = 0.0001596
## alternative hypothesis: true location shift is not equal to 0
nt=nt+1
p_values[nt]=unname(t[3])
tests[nt]="AGE"
# PREVIOUS PONV
table(leiac$previous.ponv,leiac$ponv)
##
## FALSE TRUE
## FALSE 1053 367
## TRUE 213 196
chisq.test(leiac$previous.ponv,leiac$ponv)
##
## Pearson's Chi-squared test with Yates' continuity correction
##
## data: leiac$previous.ponv and leiac$ponv
## X-squared = 71.603, df = 1, p-value < 2.2e-16
nt=nt+1
p_values[nt]=unname(chisq.test(leiac$previous.ponv,leiac$ponv)[3])
tests[nt]="PREVIOUS PONV"
# PO OPIOIDS
table(leiac$postoperative.opioids,leiac$ponv)
##
## FALSE TRUE
## FALSE 367 135
## TRUE 899 428
chisq.test(leiac$postoperative.opioids,leiac$ponv)
##
## Pearson's Chi-squared test with Yates' continuity correction
##
## data: leiac$postoperative.opioids and leiac$ponv
## X-squared = 4.6641, df = 1, p-value = 0.0308
nt=nt+1
p_values[nt]=unname(chisq.test(leiac$postoperative.opioids,leiac$ponv)[3])
tests[nt]="PO OPIOIDS"
#NON-SMOKER
table(leiac$non.smoker,leiac$ponv)
##
## FALSE TRUE
## FALSE 344 104
## TRUE 922 459
chisq.test(leiac$non.smoker,leiac$ponv)
##
## Pearson's Chi-squared test with Yates' continuity correction
##
## data: leiac$non.smoker and leiac$ponv
## X-squared = 15.481, df = 1, p-value = 8.335e-05
nt=nt+1
p_values[nt]=unname(chisq.test(leiac$non.smoker,leiac$ponv)[3])
tests[nt]="NON SMOKER"
# SURGERY
table(leiac$surgical.procedure,leiac$ponv)
##
## FALSE TRUE
## Amputação de Membro 5 2
## Anexectomia/Ooforectomia 24 17
## Artoplastia Quadril 14 5
## Artrodese Espinhal 60 16
## Cirurgia biliodigestiva 5 1
## Cirurgia de Cabeça e Pescoço 26 5
## Cirurgia Gastrointestinal 308 130
## Cirurgia Plástica 33 18
## Cirurgias Ortopédicas 31 5
## Cirurgia Torácica 85 37
## Cistectomia 39 24
## Citorredução 33 18
## Esofagectomia 14 1
## Hepatectomia 39 14
## Histerectomia 1 1
## Histerectomia 70 32
## Histerectomia VLP 17 12
## Laparotomia Exploradora 71 25
## Linfadenectomia Extenso 18 10
## Mastectomia 172 84
## Nefrectomia 75 37
## Outros 47 29
## Pancreatectomia 9 15
## Prostatectomia 41 13
## Ressecção TU partes moles 10 6
## Setorectomia Mamária 19 6
t=chisq.test(leiac$surgical.procedure,leiac$ponv)
## Warning in chisq.test(leiac$surgical.procedure, leiac$ponv): Chi-squared
## approximation may be incorrect
t
##
## Pearson's Chi-squared test
##
## data: leiac$surgical.procedure and leiac$ponv
## X-squared = 40.937, df = 25, p-value = 0.02331
nt=nt+1
p_values[nt]=unname(t[3])
tests[nt]="SURGERY"
# CHRONIC OPIOID USER
table(leiac$chronic.opioid.user,leiac$ponv)
##
## FALSE TRUE
## FALSE 1077 485
## TRUE 164 70
t=chisq.test(leiac$chronic.opioid.user,leiac$ponv)
t
##
## Pearson's Chi-squared test with Yates' continuity correction
##
## data: leiac$chronic.opioid.user and leiac$ponv
## X-squared = 0.075448, df = 1, p-value = 0.7836
nt=nt+1
p_values[nt]=unname(t[3])
tests[nt]="CHRONIC OPIOID USER"
# PREVIOUS CHEMOTHERAPY
table(leiac$previous.chemotherapy,leiac$ponv)
##
## FALSE TRUE
## FALSE 825 347
## TRUE 441 216
t=chisq.test(leiac$previous.chemotherapy,leiac$ponv)
t;nt=nt+1
##
## Pearson's Chi-squared test with Yates' continuity correction
##
## data: leiac$previous.chemotherapy and leiac$ponv
## X-squared = 1.9611, df = 1, p-value = 0.1614
p_values[nt]=unname(t[3])
tests[nt]="PREVIOUS CHEMOTHERAPY"
# HOW MANY MONTHS AGO RECEIVED CHEMOTHERAPY
comparenp(leiac$how.many.months.ago.chemotherapy,leiac$ponv,"how many months ago received chemotherapy")
## [1] "Mean how many months ago received chemotherapy in no PONV group: "
## [1] 13.49276
## [1] "Standard deviation in no PONV group"
## [1] 37.17242
## [1] "Mean how many months ago received chemotherapy in PONV group: "
## [1] 11.54681
## [1] "Standard deviation in PONV group"
## [1] 22.68942
## [1] "hypothesis test p-value"
## [[1]]
## [1] 0.1242484
##
## [1] "-------------------"

## [1] "-------------------"
t;nt=nt+1
##
## Pearson's Chi-squared test with Yates' continuity correction
##
## data: leiac$previous.chemotherapy and leiac$ponv
## X-squared = 1.9611, df = 1, p-value = 0.1614
p_values[nt]=unname(t[3])
tests[nt]="HOW MANY MONTHS AGO RECEIVED CHEMOTHERAPY"
# CHEMOTHERAPY EMETOGENICITY
table(leiac$chemotherapy.emetogenicity,leiac$ponv)
##
## FALSE TRUE
## a.minimal(<10%) 22 12
## b.low(10-30%) 167 82
## c.moderate(30-90%) 154 86
## d.high(>90%) 38 21
t=wilcox.test(rank(leiac$chemotherapy.emetogenicity)~leiac$ponv)
t;nt=nt+1
##
## Wilcoxon rank sum test with continuity correction
##
## data: rank(leiac$chemotherapy.emetogenicity) by leiac$ponv
## W = 375070, p-value = 0.07231
## alternative hypothesis: true location shift is not equal to 0
p_values[nt]=unname(t[3])
tests[nt]="CHEMOTHERAPY EMETOGENICITY"
# CHEMOTHERAPY INDUCED NAUSEA
table(leiac$post.chemotherapy.nausea,leiac$ponv)
##
## FALSE TRUE
## FALSE 249 73
## No.Previous.Chemotherapy 804 336
## TRUE 213 154
t=chisq.test(leiac$post.chemotherapy.nausea,leiac$ponv)
t;nt=nt+1
##
## Pearson's Chi-squared test
##
## data: leiac$post.chemotherapy.nausea and leiac$ponv
## X-squared = 32.388, df = 2, p-value = 9.271e-08
p_values[nt]=unname(t[3])
tests[nt]="CHEMOTHERAPY INDUCED NAUSEA"
# CHEMOTHERAPY INDUCED VOMITING
table(leiac$post.chemotherapy.vomiting,leiac$ponv)
##
## FALSE TRUE
## 0 3 1
## 3 1 0
## FALSE 300 127
## TRUE 169 101
t=chisq.test(leiac$post.chemotherapy.vomiting,leiac$ponv)
## Warning in chisq.test(leiac$post.chemotherapy.vomiting, leiac$ponv): Chi-
## squared approximation may be incorrect
t;nt=nt+1
##
## Pearson's Chi-squared test
##
## data: leiac$post.chemotherapy.vomiting and leiac$ponv
## X-squared = 5.0139, df = 3, p-value = 0.1708
p_values[nt]=unname(t[3])
tests[nt]="CHEMOTHERAPY INDUCED VOMITING"
# WHEN STOPED SMOKING
table(leiac$when.stopped.smoking,leiac$ponv)
##
## FALSE TRUE
## a.smokes 73 12
## b.1.month.ago 27 6
## c.1-6.months.ago 76 25
## d.>6months.ago 412 172
## e.never.smoked 678 348
t=wilcox.test(rank(leiac$when.stopped.smoking)~leiac$ponv)
t;nt=nt+1
##
## Wilcoxon rank sum test with continuity correction
##
## data: rank(leiac$when.stopped.smoking) by leiac$ponv
## W = 320050, p-value = 8.904e-05
## alternative hypothesis: true location shift is not equal to 0
p_values[nt]=unname(t[3])
tests[nt]="WHEN STOPED SMOKING"
# CIGAR PACKETS x YEARS
comparenp(leiac$packets.years,leiac$ponv,"Cigar Packets.Years")
## [1] "Mean Cigar Packets.Years in no PONV group: "
## [1] 8.19331
## [1] "Standard deviation in no PONV group"
## [1] 16.75298
## [1] "Mean Cigar Packets.Years in PONV group: "
## [1] 5.788298
## [1] "Standard deviation in PONV group"
## [1] 13.62073
## [1] "hypothesis test p-value"
## [[1]]
## [1] 0.005472456
##
## [1] "-------------------"

## [1] "-------------------"
t=wilcox.test(leiac$packets.years ~leiac$ponv)
t;nt=nt+1
##
## Wilcoxon rank sum test with continuity correction
##
## data: leiac$packets.years by leiac$ponv
## W = 310610, p-value = 0.005472
## alternative hypothesis: true location shift is not equal to 0
p_values[nt]=unname(t[3])
tests[nt]="CIGAR PACKETS x YEARS"
# SURGERY CLASSIFICATION 2
table(leiac$surgery.classification.2,leiac$ponv)
##
## FALSE TRUE
## Amputação de Membro 5 2
## Anexectomia/Ooforectomia 24 17
## Artoplastia Quadril 14 5
## Artrodese Espinhal 60 16
## Cirurgia biliodigestiva 5 1
## Cirurgia de Cabeça e Pescoço 26 5
## Cirurgia Gastrointestinal 308 130
## Cirurgia Plástica 33 18
## Cirurgias Ortopédicas 31 5
## Cirurgia Torácica 85 37
## Cistectomia 39 24
## Citorredução 33 18
## Esofagectomia 14 1
## Hepatectomia 39 14
## Histerectomia 1 1
## Histerectomia 70 32
## Histerectomia VLP 17 12
## Laparotomia Exploradora 71 25
## Linfadenectomia Extenso 18 10
## Mastectomia 172 84
## Nefrectomia 75 37
## Outros 47 29
## Pancreatectomia 9 15
## Prostatectomia 41 13
## Ressecção TU partes moles 10 6
## Setorectomia Mamária 19 6
t=chisq.test(leiac$surgery.classification.2,leiac$ponv)
## Warning in chisq.test(leiac$surgery.classification.2, leiac$ponv): Chi-
## squared approximation may be incorrect
t;nt=nt+1
##
## Pearson's Chi-squared test
##
## data: leiac$surgery.classification.2 and leiac$ponv
## X-squared = 40.937, df = 25, p-value = 0.02331
p_values[nt]=unname(t[3])
tests[nt]="SURGERY CLASSIFICATION 2"
Anestesia
table(leiac$anesthesia.technique,leiac$ponv)
##
## FALSE TRUE
## 1 405 153
## 2 11 3
## 3 9 2
## 4 730 365
## 5 107 40
## 6 4 0
t=chisq.test(leiac$anesthesia.technique,leiac$ponv)
## Warning in chisq.test(leiac$anesthesia.technique, leiac$ponv): Chi-squared
## approximation may be incorrect
t;nt=nt+1
##
## Pearson's Chi-squared test
##
## data: leiac$anesthesia.technique and leiac$ponv
## X-squared = 10.36, df = 5, p-value = 0.06566
p_values[nt]=unname(t[3])
tests[nt]="Anesthesia technique"
table(leiac$neuraxial.opioid,leiac$ponv)
##
## FALSE TRUE
## FALSE 522 200
## TRUE 744 363
t=chisq.test(leiac$neuraxial.opioid,leiac$ponv)
t;nt=nt+1
##
## Pearson's Chi-squared test with Yates' continuity correction
##
## data: leiac$neuraxial.opioid and leiac$ponv
## X-squared = 5.0784, df = 1, p-value = 0.02423
p_values[nt]=unname(t[3])
tests[nt]="NEURAXIAL OPIOIDS"
table(leiac$intraoperative.opioid,leiac$ponv)
##
## FALSE TRUE
## FALSE 95 32
## TRUE 1170 531
t=chisq.test(leiac$intraoperative.opioid,leiac$ponv)
t;nt=nt+1
##
## Pearson's Chi-squared test with Yates' continuity correction
##
## data: leiac$intraoperative.opioid and leiac$ponv
## X-squared = 1.737, df = 1, p-value = 0.1875
p_values[nt]=unname(t[3])
tests[nt]="INTRAOPERATIVE OPIOD"
table(leiac$remifentanil,leiac$ponv)
##
## FALSE TRUE
## FALSE 1028 468
## TRUE 238 95
t=chisq.test(leiac$remifentanil,leiac$ponv)
t;nt=nt+1
##
## Pearson's Chi-squared test with Yates' continuity correction
##
## data: leiac$remifentanil and leiac$ponv
## X-squared = 0.8452, df = 1, p-value = 0.3579
p_values[nt]=unname(t[3])
tests[nt]="REMIFENTANIL"
table(leiac$continuous.sufentanil,leiac$ponv)
##
## FALSE TRUE
## FALSE 1257 554
## TRUE 9 9
t=chisq.test(leiac$continuous.sufentanil,leiac$ponv)
t;nt=nt+1
##
## Pearson's Chi-squared test with Yates' continuity correction
##
## data: leiac$continuous.sufentanil and leiac$ponv
## X-squared = 2.3061, df = 1, p-value = 0.1289
p_values[nt]=unname(t[3])
tests[nt]="CONTINUOUS SUFENTANIL"
#table(leiac,leiac$ponv)
comparenp(leiac$fentanil.mcg,leiac$ponv,"Fentanil in mcg")
## [1] "Mean Fentanil in mcg in no PONV group: "
## [1] 179.0009
## [1] "Standard deviation in no PONV group"
## [1] 252.4321
## [1] "Mean Fentanil in mcg in PONV group: "
## [1] 219.8313
## [1] "Standard deviation in PONV group"
## [1] 294.2206
## [1] "hypothesis test p-value"
## [[1]]
## [1] 0.005806661
##
## [1] "-------------------"

## [1] "-------------------"
t=wilcox.test(leiac$fentanil.mcg ~leiac$ponv)
t;nt=nt+1
##
## Wilcoxon rank sum test with continuity correction
##
## data: leiac$fentanil.mcg by leiac$ponv
## W = 329810, p-value = 0.005807
## alternative hypothesis: true location shift is not equal to 0
p_values[nt]=unname(t[3])
tests[nt]="FENTANIL DOSE"
comparenp(leiac$sufentanil.mcg,leiac$ponv,"Sufentanil in mcg")
## [1] "Mean Sufentanil in mcg in no PONV group: "
## [1] 23.88499
## [1] "Standard deviation in no PONV group"
## [1] 52.39576
## [1] "Mean Sufentanil in mcg in PONV group: "
## [1] 18.04121
## [1] "Standard deviation in PONV group"
## [1] 29.56713
## [1] "hypothesis test p-value"
## [[1]]
## [1] 0.1256867
##
## [1] "-------------------"

## [1] "-------------------"
t=wilcox.test(leiac$sufentanil.mcg ~leiac$ponv)
t;nt=nt+1
##
## Wilcoxon rank sum test with continuity correction
##
## data: leiac$sufentanil.mcg by leiac$ponv
## W = 370560, p-value = 0.1257
## alternative hypothesis: true location shift is not equal to 0
p_values[nt]=unname(t[3])
tests[nt]="SUFENTANIL DOSE"
# PACU TRAMADOL
table(leiac$tramadol.pacu,leiac$ponv)
##
## FALSE TRUE
## FALSE 1217 527
## TRUE 49 36
t=fisher.test(leiac$tramadol.pacu, leiac$ponv)
t;nt=nt+1
##
## Fisher's Exact Test for Count Data
##
## data: leiac$tramadol.pacu and leiac$ponv
## p-value = 0.02191
## alternative hypothesis: true odds ratio is not equal to 1
## 95 percent confidence interval:
## 1.057938 2.697320
## sample estimates:
## odds ratio
## 1.696101
p_values[nt]=unname(t[1])
tests[nt]="TRAMADOL PACU"
comparenp(leiac$tramadol.dose.pacu,leiac$ponv,"Tramadol (mg) in PACU")
## [1] "Mean Tramadol (mg) in PACU in no PONV group: "
## [1] 3.120063
## [1] "Standard deviation in no PONV group"
## [1] 16.27762
## [1] "Mean Tramadol (mg) in PACU in PONV group: "
## [1] 5.417407
## [1] "Standard deviation in PONV group"
## [1] 21.54929
## [1] "hypothesis test p-value"
## [[1]]
## [1] 0.01710378
##
## [1] "-------------------"

## [1] "-------------------"
t=wilcox.test(leiac$tramadol.dose.pacu ~leiac$ponv)
t;nt=nt+1
##
## Wilcoxon rank sum test with continuity correction
##
## data: leiac$tramadol.dose.pacu by leiac$ponv
## W = 347310, p-value = 0.0171
## alternative hypothesis: true location shift is not equal to 0
p_values[nt]=unname(t[3])
tests[nt]="TRAMADOL PACU DOSE"
# Intraoperative Ketamine
table(leiac$intraoperative.ketamine,leiac$ponv)
##
## FALSE TRUE
## FALSE 1164 532
## TRUE 102 31
t=fisher.test(leiac$intraoperative.ketamine, leiac$ponv)
t;nt=nt+1
##
## Fisher's Exact Test for Count Data
##
## data: leiac$intraoperative.ketamine and leiac$ponv
## p-value = 0.06334
## alternative hypothesis: true odds ratio is not equal to 1
## 95 percent confidence interval:
## 0.424258 1.017695
## sample estimates:
## odds ratio
## 0.6651092
p_values[nt]=unname(t[1])
tests[nt]="KETAMINE"
comparenp(leiac$ketamine.dose,leiac$ponv,"Ketamine dose")
## [1] "Mean Ketamine dose in no PONV group: "
## [1] 2.624901
## [1] "Standard deviation in no PONV group"
## [1] 11.79795
## [1] "Mean Ketamine dose in PONV group: "
## [1] 1.46714
## [1] "Standard deviation in PONV group"
## [1] 7.668179
## [1] "hypothesis test p-value"
## [[1]]
## [1] 0.05335759
##
## [1] "-------------------"

## [1] "-------------------"
t=wilcox.test(leiac$ketamine.dose ~leiac$ponv)
t;nt=nt+1
##
## Wilcoxon rank sum test with continuity correction
##
## data: leiac$ketamine.dose by leiac$ponv
## W = 365130, p-value = 0.05336
## alternative hypothesis: true location shift is not equal to 0
p_values[nt]=unname(t[3])
tests[nt]="KETAMINE DOSE"
# Intraoperative morphine
table(leiac$intraoperative.morphine,leiac$ponv)
##
## FALSE TRUE
## FALSE 1060 479
## TRUE 205 83
t=fisher.test(leiac$intraoperative.morphine,leiac$ponv)
t;nt=nt+1
##
## Fisher's Exact Test for Count Data
##
## data: leiac$intraoperative.morphine and leiac$ponv
## p-value = 0.4867
## alternative hypothesis: true odds ratio is not equal to 1
## 95 percent confidence interval:
## 0.6704286 1.1898227
## sample estimates:
## odds ratio
## 0.8960095
p_values[nt]=unname(t[1])
tests[nt]="INTRAOPERATIVE MORPHINE"
comparenp(leiac$intraoperative.morphine.dose,leiac$ponv,"Intraoperative morphine dose")
## [1] "Mean Intraoperative morphine dose in no PONV group: "
## [1] 0.7133758
## [1] "Standard deviation in no PONV group"
## [1] 1.942257
## [1] "Mean Intraoperative morphine dose in PONV group: "
## [1] 0.6167558
## [1] "Standard deviation in PONV group"
## [1] 1.749797
## [1] "hypothesis test p-value"
## [[1]]
## [1] 0.5220393
##
## [1] "-------------------"

## [1] "-------------------"
t=wilcox.test(leiac$intraoperative.morphine.dose ~leiac$ponv)
t;nt=nt+1
##
## Wilcoxon rank sum test with continuity correction
##
## data: leiac$intraoperative.morphine.dose by leiac$ponv
## W = 356450, p-value = 0.522
## alternative hypothesis: true location shift is not equal to 0
p_values[nt]=unname(t[3])
tests[nt]="INTRAOPERATIVE MORPHINE DOSE"
Prophylactic antiemetics (INTRAOPERATIVE)
comparenp(leiac$antiemeticos.intraop.numero,leiac$ponv,"Number of intraoperative antiemetic drugs")
## [1] "Mean Number of intraoperative antiemetic drugs in no PONV group: "
## [1] 1.396524
## [1] "Standard deviation in no PONV group"
## [1] 0.7017453
## [1] "Mean Number of intraoperative antiemetic drugs in PONV group: "
## [1] 1.383659
## [1] "Standard deviation in PONV group"
## [1] 0.7319958
## [1] "hypothesis test p-value"
## [[1]]
## [1] 0.4026941
##
## [1] "-------------------"

## [1] "-------------------"
t=wilcox.test(leiac$antiemeticos.intraop.numero ~leiac$ponv)
t;nt=nt+1
##
## Wilcoxon rank sum test with continuity correction
##
## data: leiac$antiemeticos.intraop.numero by leiac$ponv
## W = 364330, p-value = 0.4027
## alternative hypothesis: true location shift is not equal to 0
p_values[nt]=unname(t[3])
tests[nt]="NUMBER OF INTRAOPERATIVE ANTIEMETIC DRUGS"
# INTRAOPERATIVE ONDANSETRON
table(leiac$ondansetron.intraoperative,leiac$ponv)
##
## FALSE TRUE
## FALSE 262 102
## TRUE 1004 461
t=fisher.test(leiac$ondansetron.intraoperative,leiac$ponv)
t;nt=nt+1
##
## Fisher's Exact Test for Count Data
##
## data: leiac$ondansetron.intraoperative and leiac$ponv
## p-value = 0.228
## alternative hypothesis: true odds ratio is not equal to 1
## 95 percent confidence interval:
## 0.9095345 1.5367987
## sample estimates:
## odds ratio
## 1.179285
p_values[nt]=unname(t[1])
tests[nt]="INTRAOPERATIVE ONDANSETRON"
comparenp(leiac$intraoperative.ondansetron.dose,leiac$ponv,"Intraoperative ondansetron dose")
## [1] "Mean Intraoperative ondansetron dose in no PONV group: "
## [1] 6.088678
## [1] "Standard deviation in no PONV group"
## [1] 3.259275
## [1] "Mean Intraoperative ondansetron dose in PONV group: "
## [1] 6.327402
## [1] "Standard deviation in PONV group"
## [1] 3.112781
## [1] "hypothesis test p-value"
## [[1]]
## [1] 0.1388728
##
## [1] "-------------------"

## [1] "-------------------"
t=wilcox.test(leiac$intraoperative.ondansetron.dose ~leiac$ponv)
t;nt=nt+1
##
## Wilcoxon rank sum test with continuity correction
##
## data: leiac$intraoperative.ondansetron.dose by leiac$ponv
## W = 343070, p-value = 0.1389
## alternative hypothesis: true location shift is not equal to 0
p_values[nt]=unname(t[3])
tests[nt]="INTRAOPERATIVE ONDANSETRON DOSE"
# INTRAOPERATIVE DEXAMETHASONE
table(leiac$intraoperative.dexamethasone,leiac$ponv)
##
## FALSE TRUE
## FALSE 527 278
## TRUE 739 285
t=fisher.test(leiac$intraoperative.dexamethasone,leiac$ponv)
t;nt=nt+1
##
## Fisher's Exact Test for Count Data
##
## data: leiac$intraoperative.dexamethasone and leiac$ponv
## p-value = 0.002202
## alternative hypothesis: true odds ratio is not equal to 1
## 95 percent confidence interval:
## 0.5958982 0.8971092
## sample estimates:
## odds ratio
## 0.7312221
p_values[nt]=unname(t[1])
tests[nt]="INTRAOPERATIVE DEXAMETHASONE"
comparenp(leiac$dexamethasone.dose,leiac$ponv,"Intraoperative dexamethasone dose")
## [1] "Mean Intraoperative dexamethasone dose in no PONV group: "
## [1] 3.970705
## [1] "Standard deviation in no PONV group"
## [1] 3.810894
## [1] "Mean Intraoperative dexamethasone dose in PONV group: "
## [1] 3.385305
## [1] "Standard deviation in PONV group"
## [1] 3.785582
## [1] "hypothesis test p-value"
## [[1]]
## [1] 0.002385579
##
## [1] "-------------------"

## [1] "-------------------"
t=wilcox.test(leiac$dexamethasone.dose ~leiac$ponv)
t;nt=nt+1
##
## Wilcoxon rank sum test with continuity correction
##
## data: leiac$dexamethasone.dose by leiac$ponv
## W = 382100, p-value = 0.002386
## alternative hypothesis: true location shift is not equal to 0
p_values[nt]=unname(t[3])
tests[nt]="INTRAOPERATIVE DEXAMETHASONE DOSE"
# INTRAOPERATIVE DIMENIDRATE
table(leiac$intraoperative.dimenidrate,leiac$ponv)
##
## FALSE TRUE
## FALSE 1261 554
## TRUE 5 9
t=fisher.test(leiac$intraoperative.dimenidrate,leiac$ponv)
t;nt=nt+1
##
## Fisher's Exact Test for Count Data
##
## data: leiac$intraoperative.dimenidrate and leiac$ponv
## p-value = 0.01538
## alternative hypothesis: true odds ratio is not equal to 1
## 95 percent confidence interval:
## 1.225402 15.624013
## sample estimates:
## odds ratio
## 4.093916
p_values[nt]=unname(t[1])
tests[nt]="INTRAOPERATIVE DIMENIDRATE"
comparenp(leiac$intraoperative.dimenidrate.dose,leiac$ponv,"Intraoperative dimenidrate dose")
## [1] "Mean Intraoperative dimenidrate dose in no PONV group: "
## [1] 0.1342812
## [1] "Standard deviation in no PONV group"
## [1] 2.33163
## [1] "Mean Intraoperative dimenidrate dose in PONV group: "
## [1] 0.5506217
## [1] "Standard deviation in PONV group"
## [1] 4.45006
## [1] "hypothesis test p-value"
## [[1]]
## [1] 0.006432522
##
## [1] "-------------------"

## [1] "-------------------"
t=wilcox.test(leiac$intraoperative.dimenidrate.dose ~leiac$ponv)
t;nt=nt+1
##
## Wilcoxon rank sum test with continuity correction
##
## data: leiac$intraoperative.dimenidrate.dose by leiac$ponv
## W = 352090, p-value = 0.006433
## alternative hypothesis: true location shift is not equal to 0
p_values[nt]=unname(t[3])
tests[nt]="INTRAOPERATIVE DIMENIDRATE DOSE"
# INTRAOPERATIVE METOCLOPRAMIDE
table(leiac$Intraoperative.metoclopramide,leiac$ponv)
##
## FALSE TRUE
## FALSE 1246 539
## TRUE 20 24
t=fisher.test(leiac$Intraoperative.metoclopramide,leiac$ponv)
t;nt=nt+1
##
## Fisher's Exact Test for Count Data
##
## data: leiac$Intraoperative.metoclopramide and leiac$ponv
## p-value = 0.001329
## alternative hypothesis: true odds ratio is not equal to 1
## 95 percent confidence interval:
## 1.453750 5.341568
## sample estimates:
## odds ratio
## 2.772284
p_values[nt]=unname(t[1])
tests[nt]="INTRAOPERATIVE METOCLOPRAMIDE"
comparenp(leiac$metoclopramide.dose,leiac$ponv,"Intraoperative metoclopramide dose")
## [1] "Mean Intraoperative metoclopramide dose in no PONV group: "
## [1] 0.1579779
## [1] "Standard deviation in no PONV group"
## [1] 1.247418
## [1] "Mean Intraoperative metoclopramide dose in PONV group: "
## [1] 0.4262877
## [1] "Standard deviation in PONV group"
## [1] 2.021984
## [1] "hypothesis test p-value"
## [[1]]
## [1] 0.0005490021
##
## [1] "-------------------"

## [1] "-------------------"
t=wilcox.test(leiac$metoclopramide.dose ~leiac$ponv)
t;nt=nt+1
##
## Wilcoxon rank sum test with continuity correction
##
## data: leiac$metoclopramide.dose by leiac$ponv
## W = 346820, p-value = 0.000549
## alternative hypothesis: true location shift is not equal to 0
p_values[nt]=unname(t[3])
tests[nt]="INTRAOPERATIVE METOCLOPRAMIDE DOSE"
# INTRAOPERATIVE DROPERIDOL
table(leiac$intraoperative.droperidol,leiac$ponv)
##
## FALSE TRUE
## FALSE 1260 555
## TRUE 6 8
t=fisher.test(leiac$intraoperative.droperidol,leiac$ponv)
t;nt=nt+1
##
## Fisher's Exact Test for Count Data
##
## data: leiac$intraoperative.droperidol and leiac$ponv
## p-value = 0.04169
## alternative hypothesis: true odds ratio is not equal to 1
## 95 percent confidence interval:
## 0.915511 10.630256
## sample estimates:
## odds ratio
## 3.02496
p_values[nt]=unname(t[1])
tests[nt]="INTRAOPERATIVE DROPERIDOL"
comparenp(leiac$droperidol.dose,leiac$ponv,"Intraoperative droperidol dose")
## [1] "Mean Intraoperative droperidol dose in no PONV group: "
## [1] 0.02409163
## [1] "Standard deviation in no PONV group"
## [1] 0.3674129
## [1] "Mean Intraoperative droperidol dose in PONV group: "
## [1] 0.06660746
## [1] "Standard deviation in PONV group"
## [1] 0.5928132
## [1] "hypothesis test p-value"
## [[1]]
## [1] 0.03225235
##
## [1] "-------------------"

## [1] "-------------------"
t=wilcox.test(leiac$droperidol.dose ~leiac$ponv)
t;nt=nt+1
##
## Wilcoxon rank sum test with continuity correction
##
## data: leiac$droperidol.dose by leiac$ponv
## W = 353010, p-value = 0.03225
## alternative hypothesis: true location shift is not equal to 0
p_values[nt]=unname(t[3])
tests[nt]="INTRAOPERATIVE DROPERIDOL DOSE"
Prophylactic antiemetics (POSTOPERATIVE)
# ONDANSETRON
table(leiac$regular.ondansetron,leiac$ponv)
##
## FALSE TRUE
## FALSE 841 359
## TRUE 423 203
t=fisher.test(leiac$regular.ondansetron,leiac$ponv)
t;nt=nt+1
##
## Fisher's Exact Test for Count Data
##
## data: leiac$regular.ondansetron and leiac$ponv
## p-value = 0.2855
## alternative hypothesis: true odds ratio is not equal to 1
## 95 percent confidence interval:
## 0.9074592 1.3910059
## sample estimates:
## odds ratio
## 1.124159
p_values[nt]=unname(t[1])
tests[nt]="ONDANSETRON"
# DEXAMETHASONE
table(leiac$regular.dexamethasone,leiac$ponv)
##
## FALSE TRUE
## FALSE 1171 537
## TRUE 91 26
t=fisher.test(leiac$regular.dexamethasone,leiac$ponv)
t;nt=nt+1
##
## Fisher's Exact Test for Count Data
##
## data: leiac$regular.dexamethasone and leiac$ponv
## p-value = 0.03845
## alternative hypothesis: true odds ratio is not equal to 1
## 95 percent confidence interval:
## 0.3819941 0.9860945
## sample estimates:
## odds ratio
## 0.6231861
p_values[nt]=unname(t[1])
tests[nt]="DEXAMETHASONE"
# DIMENIDRATE
table(leiac$regular.dimenidrate,leiac$ponv)
##
## FALSE TRUE
## FALSE 1254 562
## TRUE 8 1
t=fisher.test(leiac$regular.dimenidrate,leiac$ponv)
t;nt=nt+1
##
## Fisher's Exact Test for Count Data
##
## data: leiac$regular.dimenidrate and leiac$ponv
## p-value = 0.2896
## alternative hypothesis: true odds ratio is not equal to 1
## 95 percent confidence interval:
## 0.006278657 2.089628765
## sample estimates:
## odds ratio
## 0.2790846
p_values[nt]=unname(t[1])
tests[nt]="DIMENIDRATE"
# DROPERIDOL
table(leiac$regular.droperidol,leiac$ponv)
##
## FALSE TRUE
## FALSE 1168 514
## TRUE 2 4
t=fisher.test(leiac$regular.droperidol,leiac$ponv)
t;nt=nt+1
##
## Fisher's Exact Test for Count Data
##
## data: leiac$regular.droperidol and leiac$ponv
## p-value = 0.0757
## alternative hypothesis: true odds ratio is not equal to 1
## 95 percent confidence interval:
## 0.6483642 50.3284491
## sample estimates:
## odds ratio
## 4.540194
p_values[nt]=unname(t[1])
tests[nt]="DROPERIDOL"
# METOCLOPRAMIDE
table(leiac$regular.metoclopramide,leiac$ponv)
##
## FALSE TRUE
## FALSE 1109 503
## TRUE 153 60
t=fisher.test(leiac$regular.metoclopramide,leiac$ponv)
t;nt=nt+1
##
## Fisher's Exact Test for Count Data
##
## data: leiac$regular.metoclopramide and leiac$ponv
## p-value = 0.3862
## alternative hypothesis: true odds ratio is not equal to 1
## 95 percent confidence interval:
## 0.6187898 1.1964026
## sample estimates:
## odds ratio
## 0.8646648
p_values[nt]=unname(t[1])
tests[nt]="METOCLOPRAMIDE"