The following tables are arranged in order to facilitate the interpretation of the data generated in the project. The name of the variables have been modified to make the coding process easier, nevertheless an effort was made to keep them understandable. There is a total of 835 patients in this data set.

Smokers in the population

smoke_labels smoke_counts smoke_percentage
Never Smoked 558 66.8
Current Smoker 50 6.0
Former Smoker 232 27.8

Descriptors of Population of Study

Former Smoker Current Smoker Never Smoked P-value between all 3 groups
age 49.8 43.8 46.1 0.0
malePerc 21.900 30.400 18.800 0.129
bmi 43.900 44.700 45.200 0.149
racePerc 82.900 89.100 82.100 0.482
rygbPerc 29.800 21.700 27.800 0.527
sleevePerc 57.000 21.700 62.500 0.251
chemoPerc 6.600 4.300 4.700 0.677
radioPerc 6.100 4.300 3.600 0.233
immunoPerc 4.400 6.500 3.800 0.649
biologicsPerc 3.100 4.300 1.400 0.177
anticoagPerc 5.700 4.300 5.800 0.933

Group Analysis of variables showing statistically significant differences for descriptors of population

Age

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  dat$age and dat$group 
## 
##        current former 
## former 0.00517 -      
## never  0.22475 0.00038
## 
## P value adjustment method: BH

Preoperative Vitals and Lab Values

Former Smoker Current Smoker Never Smoked P-value between all 3 groups
weight0Mean 122.600 132.700 126.000 0.229

Complications at 1-Month

Former Smoker Current Smoker Never Smoked P-value between all 3 groups
los1Mean 2.300 2.300 2.400 0.902
erMonthPerc 11.40 17.40 11.90 0.95
clinicMonthPerc NA NA NA NA
readmMonthPerc 4.800 19.600 8.700 0.151
ssiMonthPerc 3.50 10.90 5.10 0.97
hapMonthPerc 0.400 10.900 2.300 0.065
bsiMonthPerc 0.400 10.900 2.300 0.015
utiMonthPerc 1.800 8.700 3.100 0.704
cdiMonthPerc 0.400 8.700 2.200 0.781
sepsisMonthPerc 1.300 8.700 2.700 0.758
ileusMonthPerc 1.30 13.00 4.70 0.69
svaMonthPerc 1.300 10.900 4.500 0.322
ciMonthPerc NA NA NA NA
vteMonthPerc 0.400 8.700 3.100 0.369
hemMonthPerc 1.300 8.700 2.700 0.829
urMonthPerc 6.600 10.900 6.700 0.524
akiMonthPerc 0.900 8.700 2.500 0.878
cdscMonthPerc 11.400 28.300 15.200 0.177
secMonthPerc 2.60 8.70 3.80 0.59
mortMonthPerc 0.400 8.700 2.300 0.609

Group Analysis of variables showing statistically significant differences for descriptors of population

Blood Stream Infection

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  dat$thirty_bsi and dat$group 
## 
##        current former
## former 0.031   -     
## never  0.031   0.519 
## 
## P value adjustment method: BH

Information Table for Blood Stream Infection at the 30-Days Postop Cohort

Former Smokers Current Smokers Never Smoked
counts 228 46 554
missingData 1 4 12
positives 0 1 1

Available data for Vitals and Lab Values

3-Months 6-Months 1-Year 2-Years
hba1cAvail 292 107
weightAvail 152
sbpAvail 151
dbpAvail 151
hdlAvail 290 112
ldlAvail 290 112
cholAvail 290 112
triglycAvail 290 112
ibwAvail 610 499 366 151
ebwlAvail 150

Vitals and Lab values at 3-Months Postop

Former Smoker Current Smoker Never Smoked P-value between all 3 groups
ebwl3Mean 38.300 37.700 31.700 0.081

Vitals and Lab values at 6-Months Postop

Former Smoker Current Smoker Never Smoked P-value between all 3 groups
ebwl6Mean 53.500 52.500 51.100 0.799

Vitals and Lab values at 1-Year Postop

Former Smoker Current Smoker Never Smoked P-value between all 3 groups
hba1c12Mean 5.500 5.500 5.300 0.823
ibw12Mean 0.049 0.058 0.118 0.479
ldl12Mean 101.800 95.300 104.500 0.313
hdl12Mean 59.500 59.700 50.900 0.059
chol12Mean 178.000 173.200 173.100 0.521
trig12Mean 100.200 98.800 121.300 0.113
crp12Mean 5.400 2.800 2.900 0.309

Vitals and Lab values at 2-Year Postop

Former Smoker Current Smoker Never Smoked P-value between all 3 groups
hba1c24Mean 5.700 5.700 5.500 0.559
sbp24Mean 131.900 119.800 129.300 0.372
dbp24Mean 77.500 73.500 76.100 0.638
weight24Mean 95.000 103.700 92.200 0.795
ibw24Mean 0.024 0.333 0.094 0.100
ebwl24Mean 61.700 60.700 58.300 0.826
ldl24Mean 95.900 57.000 96.200 0.199
hdl24Mean 65.800 58.500 61.400 0.436
chol24Mean 176.900 130.500 175.500 0.133
trig24Mean 85.400 65.500 104.200 0.124
crp24Mean 4.500 4.100 2.200 0.351

Complications at 1-Month

Former Smoker Current Smoker Never Smoked P-value between all 3 groups
los1Mean 2.300 2.300 2.400 0.902
erMonthPerc 11.40 17.40 11.90 0.95
clinicMonthPerc NA NA NA NA
readmMonthPerc 4.800 19.600 8.700 0.151
ssiMonthPerc 3.50 10.90 5.10 0.97
hapMonthPerc 0.400 10.900 2.300 0.065
bsiMonthPerc 0.400 10.900 2.300 0.015
utiMonthPerc 1.800 8.700 3.100 0.704
cdiMonthPerc 0.400 8.700 2.200 0.781
sepsisMonthPerc 1.300 8.700 2.700 0.758
ileusMonthPerc 1.30 13.00 4.70 0.69
svaMonthPerc 1.300 10.900 4.500 0.322
ciMonthPerc NA NA NA NA
vteMonthPerc 0.400 8.700 3.100 0.369
hemMonthPerc 1.300 8.700 2.700 0.829
urMonthPerc 6.600 10.900 6.700 0.524
akiMonthPerc 0.900 8.700 2.500 0.878
cdscMonthPerc 11.400 28.300 15.200 0.177
secMonthPerc 2.60 8.70 3.80 0.59
mortMonthPerc 0.400 8.700 2.300 0.609

Group Analysis of variables showing statistically significant differences for descriptors of population

Blood Stream Infection

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  dat$thirty_bsi and dat$group 
## 
##        current former
## former 0.031   -     
## never  0.031   0.519 
## 
## P value adjustment method: BH

Information Table for Blood Stream Infection at the 30-Days Postop Cohort

Former Smokers Current Smokers Never Smoked
counts 228 46 554
missingData 1 4 12
positives 0 1 1

Complications at 1-Year

pValues when Comparing 1-Year Complications Among Groups
p-Value
year_er 0.9459882
year_clinic 0.1364021
year_readmin 0.3933231
year_ssi 0.7715368
year_aa 0.5936835
year_wound 0.7692027
year_hap 0.2787966
year_bsi 0.7715368
year_cauti 0.5821156
year_cdi NaN
year_sepsis 0.1094401
year_ileus 0.4773410
year_sva 0.5879340
year_va 0.4800807
year_ci NaN
year_vte 0.1671384
year_hem 0.8373828
year_ur NaN
year_aki 0.6115540
year_ards NaN
year_cdsc 0.1072537
year_los 0.6922765
year_sec 0.2255465
year_cultures 0.1235747
year_io_ae NaN
year_drains 0.3173105
year_sec_atb 0.4128729
year_sec_atb_dur 0.2206714
year_mortality 0.7825111
year_follow 0.5939791

Confounders by Subset Group

Age

<20 20-29 30-39 40-49 50-59 60-69 70-79 >= 80
Never Smoked 2 34 141 158 144 68 7 0
Current Smoker 1 4 14 11 11 5 11 0
Former Smoker 0 14 38 62 62 41 0 0
Smokeless 0 1 0 1 1 0 0 0

Gender

Males Females
Never Smoked 104 450
Current Smoker 14 32
Former Smoker 50 178
Smokeless 2 1

Ethnicity

Hispanic Non.Hispanic
Never Smoked 166 388
Current Smoker 12 34
Former Smoker 58 170
Smokeless 0 3

Alcohol/Ilicit Drugs

Alcohol.. Drugs..
Never Smoked 270 19
Current Smoker 35 7
Former Smoker 139 23
Smokeless 1 0

Procedure Type (RYGB vs Sleeve Gastrectomy)

RYGB Sleeve
Never Smoked 154 346
Current Smoker 10 25
Former Smoker 68 130
Smokeless 1 2

%EBWL Values by Confounding Variables

Mean of %EBWL by age subgroups

<20 20-29 30-39 40-49 50-59 60-69 70-79 >=80
Never Smoked 25.18 29.16 25.70 27.90 29.14 24.16 19.67 NaN
Current Smoker 39.30 42.77 38.37 38.58 39.54 31.99 28.58 NaN
Former Smoker NaN 57.16 55.35 53.46 54.22 47.21 44.67 NaN
Smokeless NaN 52.58 55.74 66.59 55.72 53.10 76.10 NaN

Mean of %EBWL by Gender

malesEbwl femalesEbwl
Never Smoked 25.48 27.54
Current Smoker 37.70 37.82
Former Smoker 51.34 53.57
Smokeless 54.70 60.00

Mean of %EBWL by ethnicity

hispanicEbwl nonHispanicEbwl
Never Smoked 29.08 26.31
Current Smoker 39.38 37.23
Former Smoker 56.55 51.92
Smokeless 63.19 57.34

Mean of %EBWL by Alcohol

alcoholEbwl drugsEbwl
Never Smoked 26.30 28.19
Current Smoker 37.78 34.83
Former Smoker 52.16 48.52
Smokeless 62.72 58.57

Mean of %EBWL by Procedure type

rygbEbwl sleeveEbwl
Never Smoked 28.46 25.48
Current Smoker 40.63 35.88
Former Smoker 57.72 49.91
Smokeless 72.42 52.13

Kruskal-Wallis test of %EBWL among age subgorups (looking for statistically significant differences)

One month

## 
##  Kruskal-Wallis rank sum test
## 
## data:  one_ebwl by groupAge
## Kruskal-Wallis chi-squared = 10.794, df = 6, p-value = 0.09496

<20

Error in kruskal.test.default(c(26.09, 24.26), c(“Non_Smoker”, “Non_Smoker” : all observations are in the same group

20-29

## 
##  Kruskal-Wallis rank sum test
## 
## data:  one_ebwl by groupBin
## Kruskal-Wallis chi-squared = 0.28256, df = 1, p-value = 0.595

30-39

## 
##  Kruskal-Wallis rank sum test
## 
## data:  one_ebwl by groupBin
## Kruskal-Wallis chi-squared = 0.34841, df = 1, p-value = 0.555

40-49

## 
##  Kruskal-Wallis rank sum test
## 
## data:  one_ebwl by groupBin
## Kruskal-Wallis chi-squared = 0.42214, df = 1, p-value = 0.5159

50-59

## 
##  Kruskal-Wallis rank sum test
## 
## data:  one_ebwl by groupBin
## Kruskal-Wallis chi-squared = 0.44055, df = 1, p-value = 0.5069

60-69

## 
##  Kruskal-Wallis rank sum test
## 
## data:  one_ebwl by groupBin
## Kruskal-Wallis chi-squared = 0.0040763, df = 1, p-value = 0.9491

70-79

Error in kruskal.test.default(c(37.1, 15.23, 9.67, 34.4, 24.16, 17.86, : all observations are in the same group

>80

Error in kruskal.test.default(numeric(0), character(0)) : all observations are in the same group

Three Months

## 
##  Kruskal-Wallis rank sum test
## 
## data:  three_ebwl by groupAge
## Kruskal-Wallis chi-squared = 13.413, df = 6, p-value = 0.03692
## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  dat$three_ebwl and dat$groupAge 
## 
##       <20  20-29 30-39 40-49 50-59 60-69
## 20-29 0.96 -     -     -     -     -    
## 30-39 0.75 0.30  -     -     -     -    
## 40-49 0.89 0.64  0.37  -     -     -    
## 50-59 0.81 0.39  0.73  0.69  -     -    
## 60-69 0.73 0.18  0.30  0.11  0.20  -    
## 70-79 0.73 0.20  0.31  0.20  0.29  0.73 
## 
## P value adjustment method: BH

<20 three months

Error in kruskal.test.default(39.3, “Non_Smoker”) : all observations are in the same group

20-29 three months

Error in kruskal.test.default(c(43.1, 28.8, 56, 41.01, 44.5, 58.36, 7.6, : all observations are in the same group

30-39 three_months

## 
##  Kruskal-Wallis rank sum test
## 
## data:  three_ebwl by groupBin
## Kruskal-Wallis chi-squared = 0.61946, df = 1, p-value = 0.4312

40-49 three_months

## 
##  Kruskal-Wallis rank sum test
## 
## data:  three_ebwl by groupBin
## Kruskal-Wallis chi-squared = 0.2821, df = 1, p-value = 0.5953

50-59 three months

## 
##  Kruskal-Wallis rank sum test
## 
## data:  three_ebwl by groupBin
## Kruskal-Wallis chi-squared = 4.088, df = 1, p-value = 0.04319

Mean for the Non_Smoker group in this interval of age: 38.0923271. Standard deviation for the Non_Smoker group in this interval of age: 21.7987619.

Mean for the Smoker group in this interval of age: 31.654. Standard deviation for the Smoker group in this interval of age: 13.4429963.

60-69 three months

## 
##  Kruskal-Wallis rank sum test
## 
## data:  three_ebwl by groupBin
## Kruskal-Wallis chi-squared = 0.14663, df = 1, p-value = 0.7018

70-79 three months

Error in kruskal.test.default(c(64.2, 40.6, 13.95, 30.52, 44.23, 23.53, : all observations are in the same group

>80 three months

Error in kruskal.test.default(numeric(0), character(0)) : all observations are in the same group

Six Months

## 
##  Kruskal-Wallis rank sum test
## 
## data:  six_ebwl by groupAge
## Kruskal-Wallis chi-squared = 7.3454, df = 5, p-value = 0.1962

<20 six months

Error in kruskal.test.default(numeric(0), character(0)) : all observations are in the same group

20-29 six months

## 
##  Kruskal-Wallis rank sum test
## 
## data:  six_ebwl by groupBin
## Kruskal-Wallis chi-squared = 0.0044444, df = 1, p-value = 0.9468

30-39 six_months

## 
##  Kruskal-Wallis rank sum test
## 
## data:  six_ebwl by groupBin
## Kruskal-Wallis chi-squared = 1.2348, df = 1, p-value = 0.2665

40-49 six_months

## 
##  Kruskal-Wallis rank sum test
## 
## data:  six_ebwl by groupBin
## Kruskal-Wallis chi-squared = 0.0045391, df = 1, p-value = 0.9463

50-59 six months

## 
##  Kruskal-Wallis rank sum test
## 
## data:  six_ebwl by groupBin
## Kruskal-Wallis chi-squared = 3.3555, df = 1, p-value = 0.06698

60-69 six months

## 
##  Kruskal-Wallis rank sum test
## 
## data:  six_ebwl by groupBin
## Kruskal-Wallis chi-squared = 0.16448, df = 1, p-value = 0.6851

70-79 six months

Error in kruskal.test.default(c(68.2, 60.37, 24.72, 38.92, 66.18, 31.97, : all observations are in the same group

>80 six months

Error in kruskal.test.default(numeric(0), character(0)) : all observations are in the same group

Kruskal-Wallis test of %EBWL among gender subgorups (looking for statistically significant differences)

One Month

## 
##  Kruskal-Wallis rank sum test
## 
## data:  one_ebwl by groupGender
## Kruskal-Wallis chi-squared = 0.74343, df = 1, p-value = 0.3886

Males

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  males$one_ebwl and males$groupBin 
## 
##        Non_Smoker
## Smoker 0.28      
## 
## P value adjustment method: BH

Females

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  females$one_ebwl and females$groupBin 
## 
##        Non_Smoker
## Smoker 0.94      
## 
## P value adjustment method: BH

Three Months

## 
##  Kruskal-Wallis rank sum test
## 
## data:  three_ebwl by groupGender
## Kruskal-Wallis chi-squared = 0.50944, df = 1, p-value = 0.4754

Males

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  males$three_ebwl and males$groupBin 
## 
##        Non_Smoker
## Smoker 0.069     
## 
## P value adjustment method: BH

Females

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  females$three_ebwl and females$groupBin 
## 
##        Non_Smoker
## Smoker 0.3       
## 
## P value adjustment method: BH

Six Months

## 
##  Kruskal-Wallis rank sum test
## 
## data:  six_ebwl by groupGender
## Kruskal-Wallis chi-squared = 1.5974, df = 1, p-value = 0.2063

Males

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  males$six_ebwl and males$groupBin 
## 
##        Non_Smoker
## Smoker 0.13      
## 
## P value adjustment method: BH

Females

pairwise.wilcox.test(females$six_ebwl, females$groupBin, p.adjust.method = "BH")
## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  females$six_ebwl and females$groupBin 
## 
##        Non_Smoker
## Smoker 0.37      
## 
## P value adjustment method: BH
#kruskal.test(one_ebwl ~ groupBin, data = males)

Kruskal-Wallis test of %EBWL among ethnicity subgorups (looking for statistically significant differences)

One Month

## 
##  Kruskal-Wallis rank sum test
## 
## data:  one_ebwl by groupEthnic
## Kruskal-Wallis chi-squared = 1.8101, df = 1, p-value = 0.1785

Hispanic

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  hispanic$one_ebwl and hispanic$groupBin 
## 
##        Non_Smoker
## Smoker 0.013     
## 
## P value adjustment method: BH

Mean for the Non_Smoker group in Hispanics: 29.5359204. Standard deviation for the Non_Smoker group in Hispanics: 27.4471924.

Mean for the Smoker group in Hispanics: 16.0814286. Standard deviation for the Smoker group in Hispanics: 9.0431695.

Non-Hispanic

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  nonHispanic$one_ebwl and nonHispanic$groupBin 
## 
##        Non_Smoker
## Smoker 0.46      
## 
## P value adjustment method: BH

Three Month

## 
##  Kruskal-Wallis rank sum test
## 
## data:  three_ebwl by groupEthnic
## Kruskal-Wallis chi-squared = 1.5503, df = 1, p-value = 0.2131

Hispanic

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  hispanic$three_ebwl and hispanic$groupBin 
## 
##        Non_Smoker
## Smoker 0.007     
## 
## P value adjustment method: BH

Mean for the Non_Smoker group in Hispanics at three months: 39.9167419. Standard deviation for the Non_Smoker group in Hispanics at three months: 23.645204.

Mean for the Smoker group in Hispanics at three months: 22.684. Standard deviation for the Smoker group in Hispanics at three months: 7.7423336.

Non-Hispanic

pairwise.wilcox.test(nonHispanic$three_ebwl, nonHispanic$groupBin, p.adjust.method = "BH")
## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  nonHispanic$three_ebwl and nonHispanic$groupBin 
## 
##        Non_Smoker
## Smoker 0.43      
## 
## P value adjustment method: BH

Six Month

## 
##  Kruskal-Wallis rank sum test
## 
## data:  six_ebwl by groupEthnic
## Kruskal-Wallis chi-squared = 2.9264, df = 1, p-value = 0.08714

Hispanic

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  hispanic$six_ebwl and hispanic$groupBin 
## 
##        Non_Smoker
## Smoker 0.14      
## 
## P value adjustment method: BH

Non-Hispanic

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  nonHispanic$six_ebwl and nonHispanic$groupBin 
## 
##        Non_Smoker
## Smoker 0.79      
## 
## P value adjustment method: BH

Kruskal-Wallis test of %EBWL among alcohol consumption subgorups (looking for statistically significant differences)

One Month

## 
##  Kruskal-Wallis rank sum test
## 
## data:  one_ebwl by groupAlcohol
## Kruskal-Wallis chi-squared = 8.9313e-05, df = 1, p-value = 0.9925

Alcohol Consumption Positive 1 month

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  alcohol$one_ebwl and alcohol$groupBin 
## 
##        Non_Smoker
## Smoker 0.27      
## 
## P value adjustment method: BH

Alcohol Consumption Negative 1 month

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  nonAlcohol$one_ebwl and nonAlcohol$groupBin 
## 
##        Non_Smoker
## Smoker 0.59      
## 
## P value adjustment method: BH

Three Month

## 
##  Kruskal-Wallis rank sum test
## 
## data:  three_ebwl by groupAlcohol
## Kruskal-Wallis chi-squared = 8.9959e-06, df = 1, p-value = 0.9976

Alcohol Consumption Positive 3 Months

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  alcohol$three_ebwl and alcohol$groupBin 
## 
##        Non_Smoker
## Smoker 0.013     
## 
## P value adjustment method: BH

Mean for the Non_Smoker group in Alcohol Consumption positive: 26.3168409. Standard deviation for the Non_Smoker group in Alcohol Consumption positive: 12.8750524.

Mean for the Smoker group in Alcohol Consumption positive: 28.22625. Standard deviation for the Smoker group in Alcohol COnsumption positive: 12.5668622.

Alcohol Consumption Negative 3 Months

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  nonAlcohol$three_ebwl and nonAlcohol$groupBin 
## 
##        Non_Smoker
## Smoker 0.78      
## 
## P value adjustment method: BH

Six Month

## 
##  Kruskal-Wallis rank sum test
## 
## data:  six_ebwl by groupAlcohol
## Kruskal-Wallis chi-squared = 0.41814, df = 1, p-value = 0.5179

Alcohol Consumption Positive 6 months

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  alcohol$six_ebwl and alcohol$groupBin 
## 
##        Non_Smoker
## Smoker 0.68      
## 
## P value adjustment method: BH

Alcohol Consumption Negative 6 months

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  nonAlcohol$six_ebwl and nonAlcohol$groupBin 
## 
##        Non_Smoker
## Smoker 0.8       
## 
## P value adjustment method: BH

Kruskal-Wallis test of %EBWL among drug consumption subgorups (looking for statistically significant differences)

One Month

## 
##  Kruskal-Wallis rank sum test
## 
## data:  one_ebwl by groupDrugs
## Kruskal-Wallis chi-squared = 0.72114, df = 1, p-value = 0.3958

Drug Consumption positive 1 month

## 
##  Pairwise comparisons using Wilcoxon rank sum exact test 
## 
## data:  drugs$one_ebwl and drugs$groupBin 
## 
##        Non_Smoker
## Smoker 0.72      
## 
## P value adjustment method: BH

Drug Consumption Negative at 1 month

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  noDrugs$one_ebwl and noDrugs$groupBin 
## 
##        Non_Smoker
## Smoker 0.48      
## 
## P value adjustment method: BH

Three Month

## 
##  Kruskal-Wallis rank sum test
## 
## data:  three_ebwl by groupDrugs
## Kruskal-Wallis chi-squared = 1.3554, df = 1, p-value = 0.2443

Drug Consumption Positive at 3 months

## 
##  Pairwise comparisons using Wilcoxon rank sum exact test 
## 
## data:  drugs$three_ebwl and drugs$groupBin 
## 
##        Non_Smoker
## Smoker 0.66      
## 
## P value adjustment method: BH

Drug Consumption Negative at 3 months

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  noDrugs$three_ebwl and noDrugs$groupBin 
## 
##        Non_Smoker
## Smoker 0.07      
## 
## P value adjustment method: BH

Six Month

## 
##  Kruskal-Wallis rank sum test
## 
## data:  six_ebwl by groupDrugs
## Kruskal-Wallis chi-squared = 0.27672, df = 1, p-value = 0.5989

Drug Consumption positive at 6 months

## 
##  Pairwise comparisons using Wilcoxon rank sum exact test 
## 
## data:  drugs$six_ebwl and drugs$groupBin 
## 
##        Non_Smoker
## Smoker 0.67      
## 
## P value adjustment method: BH

Drug Consumption Negative at 6 months

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  noDrugs$six_ebwl and noDrugs$groupBin 
## 
##        Non_Smoker
## Smoker 0.54      
## 
## P value adjustment method: BH

Kruskal-Wallis test of %EBWL among procedure type subgorups (looking for statistically significant differences)

One Month

## 
##  Kruskal-Wallis rank sum test
## 
## data:  one_ebwl by groupProcedure
## Kruskal-Wallis chi-squared = 9.9223, df = 1, p-value = 0.001633

RYGB at 1 month

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  rygb$one_ebwl and rygb$groupBin 
## 
##        Non_Smoker
## Smoker 0.41      
## 
## P value adjustment method: BH

Sleeve at 1 month

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  sleeve$one_ebwl and sleeve$groupBin 
## 
##        Non_Smoker
## Smoker 0.36      
## 
## P value adjustment method: BH

Three Month

## 
##  Kruskal-Wallis rank sum test
## 
## data:  three_ebwl by groupProcedure
## Kruskal-Wallis chi-squared = 20.614, df = 1, p-value = 5.617e-06

RYGB at 3 months

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  rygb$three_ebwl and rygb$groupBin 
## 
##        Non_Smoker
## Smoker 0.22      
## 
## P value adjustment method: BH

Sleeve at 3 months

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  sleeve$three_ebwl and sleeve$groupBin 
## 
##        Non_Smoker
## Smoker 0.29      
## 
## P value adjustment method: BH

Six Month

## 
##  Kruskal-Wallis rank sum test
## 
## data:  six_ebwl by groupProcedure
## Kruskal-Wallis chi-squared = 23.468, df = 1, p-value = 1.27e-06

RYGB at 6 months

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  rygb$six_ebwl and rygb$groupBin 
## 
##        Non_Smoker
## Smoker 0.48      
## 
## P value adjustment method: BH

Sleeve at 6 months

## 
##  Pairwise comparisons using Wilcoxon rank sum test with continuity correction 
## 
## data:  sleeve$six_ebwl and sleeve$groupBin 
## 
##        Non_Smoker
## Smoker 0.91      
## 
## P value adjustment method: BH