代写ST332/ST409 Medical Statistics 2023-24: Practical 1帮做R程序

ST332/ST409 Medical Statistics 2023-24: Practical 1

Clinical Efficacy of Orlistat Therapy in Overweight and Obese Patients With Insulin-Treated Type 2

The aim of this study was to assess the effect of orlistat, a gastrointestinal lipase inhibitor, on weight loss, glycaemic control, and cardiovascular risk factors in overweight or obese    insulin-treated type 2 diabetic patients. The original trial paper can be found in Diabetes Care 2002 Jun; 25(6): 1033-1041.https://doi.org/10.2337/diacare.25.6.1033& there is a pdf on Moodle ST332 page.

This study was a 1-year multicentre, randomised, double-blind, placebo-controlled trial of orlistat (120 mg three times a day) or placebo combined with a reduced-calorie diet in overweight or obese adults (BMI 28–40 kg/m2) with type 2 diabetes treated with insulin alone or combined with oral agents, but with suboptimal metabolic control (HbA1c 7.5– 12.0%). The only stratification factor was HbA1c<=10%/HbA1c>10%.

Outcome measurements included changes in body weight, glycaemic control, blood pressure, and gastrointestinal adverse events (AEs).

Variables

orlistat:  Diet+Placebo=0 Diet+Orlistat=1

Age: age in years

bmi: (Body Mass Index, weight[Kg]/(height*height [m], 25-

30=overweight, 30+=obese)

female: Male=0 Female=1

caucasian: ther=0 Caucasian=1

hba1c: HbA1c<=10%=0 HbA1c>10%=1

weight.change: change in weight from baseline (Kg) – negative

values indicate a loss in weight (compared to baseline)

gastro.ae: gastrointestinal adverse events, no=0, yes=1

From the ST332 Moodle page you should download the R dataset ot2d.RData –  note that this is a synthetic version of the trial data so your results will not be exactly the same as those reported in the paper but should be similar.

1.   In order to assess whether randomisation has worked look at the baseline variables (age, bmi, female, hba1c and caucasian) in each of the two treatment groups. Does randomisation appear to have worked? [Hint: use the table, prop.table, mean and sd functions in R/RStudio)

2.   For weight loss: (i) calculate the mean (and the standard deviation) in each of thetwo treatment groups separately, (ii) produce a boxplot for weight loss for each of the two treatment groups, (iii) perform. a 2-sample t-test to compare the weight loss in the two treatment groups. What evidence is there that orlistat is better than placebo?  [Hint: use the mean, sd, boxplot and t.test functions in R/RStudio]

3.   For gastrointestinal adverse events: (i) estimate the probability of having a

gastrointestinal adverse event in each of the two treatment groups, and (ii) compare them using a Chi-squared test. What evidence is there that the probability of having  a gastrointestinal event is greater if a patient takes orlistat compared to placebo?

[Hint: use the table, prop.table and chisq.test functions in R/RStudio] What is surprising as regards the Diet+Placebo group?

4.   Repeat the analyses in Questions 2. and 3. but only for women in the trial. What

evidence is there that effect of orilstat is different in women compared to the overall trial population? [Hint:

ot2d$orlistat=="Diet+Orlistat"&ot2d$female=="Female" will identify women who take orlistat]

5.   The trial used HbA1c<=10%/HbA1c>10% as a stratification factor, and therefore to

attain maximal statistical power this should be adjusted for in any analyses. Using a linear model repeat the unadjusted analysis of weight change for Question 2 and check that you get the same answers. Then extend the model to also include HbA1c – what is the effect of the adjustment on the treatment effect and the level of uncertainty? Further extend the model to assess whether the effect or orlistat differs between males and females [Hint: you will need to fit an appropriate interaction model].

6.   Using a generalised linear model (GLM) conduct an unadjusted analysis of

gastrointestinal AEs as in Question 3 – what is the Odds Ratio (OR) [and 95% CI] for

the risk of having a gastrointestinal AE in the Diet+Orlistat group compared to the

Diet+Placebo group? [Hint: you can use exp(cbind(coef(x), confint(x))) where x is a GLM model fit object to calculate the OR and 95% CI].  Extend the model to also include HbA1c – what is the effect of the adjustment on the OR and 95% CI?

7.   If a parent or grandparent was overweight or obese and had sub-optimally

controlled type 2 diabetes write a one sentence summary of the key trial results for them.

Questions 8 & 9 require you to have covered sample size calculations in the next lecture … attempt them afterwards.

8.   A clinician asks you to help design a future follow-on trial (for a similar patient

population), but this time with a Minimum Clinically Significant Difference for the difference in weight loss (from baseline) between orlistat and placebo of 1Kg – calculate how many patients would be needed for this new trial (assuming a 5% significance level and 80% power) [Hint: use the power.t.test function in

R/RStudio].

9.   Worried about the increase in adverse events, another colleague suggests that even a 10% increase over placebo would be concerning – how many patients would be

required to detect such a difference in this patient population (assuming a 5%

significance level and 80% power)? [Hint: use the power.prop.test function in R/RStudio]





热门主题

课程名

litr1-uc6201.200 ee1102 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst cosc2803 math39512 omp9727 ddes9903 babs2202 mis2002s phya21 18-213 cege0012 mgt253 fc021 int2067/int5051 bsb151 math38032 mech5125 mdia1002 cisc102 07 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 efim20036 mn-3503 comp9414 math21112 fins5568 comp4337 bcpm000028 info6030 inft6800 bcpm0054 comp(2041|9044) 110.807 bma0092 cs365 math20212 ce335 math2010 ec3450 comm1170 cenv6141 ftec5580 ecmt1010 csci-ua.0480-003 econ12-200 ectb60h3f cs247—assignment ib3960 tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 econ7230 msinm014/msing014/msing014b math2014 math350-real eec180 stat141b econ2101 fit2004 comp643 bu1002 cm2030 mn7182sr ectb60h3s ib2d30 ohss7000 fit3175 econ20120/econ30320 acct7104 compsci 369 math226 127.241 info1110 37007 math137a mgt4701 comm1180 fc300 ectb60h3 llp120 bio99 econ7030 csse2310/csse7231 comm1190 125.330 110.309 csc3100 bu1007 comp 636 qbus3600 compx222 stat437 kit317 hw1 ag942 fit3139 115.213 ipa61006 econ214 envm7512 6010acc fit4005 fins5542 slsp5360m 119729 cs148 hld-4267-r comp4002/gam cava1001 or4023 cosc2758/cosc2938 cse140 fu010055 csci410 finc3017 comp9417 fsc60504 24309 bsys702 mgec61 cive9831m pubh5010 5bus1037 info90004 p6769 bsan3209 plana4310 caes1000 econ0060 ap/adms4540 ast101h5f plan6392 625.609.81 csmai21 fnce6012 misy262 ifb106tc csci910 502it comp603/ense600 4035 csca08 8iar101 bsd131 msci242l csci 4261 elec51020 blaw1002 ec3044 acct40115 csi2108–cryptographic 158225 7014mhr econ60822 ecn302 philo225-24a acst2001 fit9132 comp1117b ad654 comp3221 st332 cs170 econ0033 engr228-digital law-10027u fit5057 ve311 sle210 n1608 msim3101 badp2003 mth002 6012acc 072243a 3809ict amath 483
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图