To get an overview of the data, we will first do univariate From 1962 to 1969...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
To get an overview of the data, we will first do univariate From 1962 to 1969 a number of patients with liver cirrhosis at analyses of the effects of the covariates treatment, sex, age several hospitals in Copenhagen were included in a and prothrombin index using Kaplan-Meier plots and the log- rank tests. randomized clinical trial. The purpose of the study was to investigate whether patients treated with the hormone prednisone had a better survival than patients who got an inactive placebo treatment. In this exercise, we will restrict attention to the 386 patients in the study who had no excess fluid in the abdomen at entry. (Source: Andersen, Borgan, Gill & Keiding, Springer, 1993.) We will study the effect of treatment with prednisone. We will also investigate the effect on survival of the covariates sex, age, and prothrombin index (a measurement based on a blood test of some coagulation factors produced by the liver, in percent of the normal value). 1 You may read the data into R by the command: liver=read.table ("http://folk.uio.no/borg an/IMB9335/liver.txt", header=T) The data are organized with one line for each of the 386 patients, and with the following variables in the six columns: status: indicator for death/censoring (1=dead; 0=censored) time: time in days from start of treatment to death/censoring treat: treatment (0=prednisone; 1=placebo) gender (0=female; 1=male) age in years at start of treatment prothrombin index sex: age: prot: For treatment, you may give the commands (when time is converted to years). fit.treat=survfit (Surv (time/365.25, status ) ~factor (treat), data=liver) plot (fit.treat, mark.time=FALSE, xlab="Ye ars after randomization", lty=1:2, main="Treatment") legend ("bottomleft",c("Prednisone", "Place bo"),lty=1:2) survdiff (Surv (time/365.25, status) ~factor ( treat), data=liver) 2 a) Perform the commands and interpret the results. b) Perform similar analyses as in a) for the covariate sex. We want to do similar analyses as in a) and b) for the numeric covariates age and prothrombin index. But then we first have to make a grouping based on these covariates. In order to group age into the groups: 49 years or less, 50-59 years, 60- 69 years, and 70 years or more, you may create a new categorial covariate agegroup by the command: liver$agegroup-cut (liver$age, breaks-c (0, 49, 59, 69, 100), labels=1:4) c) Make a grouping of age by the command given above, and perform similar analyses for age group as the ones in a) and b). d) Make an appropriate grouping of prothrombin index and do similar analyses for grouped prothrombin as in a), b) and c). In order to study jointly the effects the covariates, we fit a Cox regression model with all covariates. If we use age and prothrombin as numeric covariates, we may give the 3 commands: cox.fit=coxph (Surv(time/365.25,status) ~fa ctor (treat) +factor (sex)+age+prot,data=liv er) summary(cox.fit) e) Perform the commands, and interpret the estimated hazard ratios. f) Do you think that it is reasonable to use both age and prothrombin index as numeric covariates in the Cox regre ssion model? If not, also fit model(s) where you use the grouped version of on e or both of these covariates. Interpret the estimated hazard ratios. To get an overview of the data, we will first do univariate From 1962 to 1969 a number of patients with liver cirrhosis at analyses of the effects of the covariates treatment, sex, age several hospitals in Copenhagen were included in a and prothrombin index using Kaplan-Meier plots and the log- rank tests. randomized clinical trial. The purpose of the study was to investigate whether patients treated with the hormone prednisone had a better survival than patients who got an inactive placebo treatment. In this exercise, we will restrict attention to the 386 patients in the study who had no excess fluid in the abdomen at entry. (Source: Andersen, Borgan, Gill & Keiding, Springer, 1993.) We will study the effect of treatment with prednisone. We will also investigate the effect on survival of the covariates sex, age, and prothrombin index (a measurement based on a blood test of some coagulation factors produced by the liver, in percent of the normal value). 1 You may read the data into R by the command: liver=read.table ("http://folk.uio.no/borg an/IMB9335/liver.txt", header=T) The data are organized with one line for each of the 386 patients, and with the following variables in the six columns: status: indicator for death/censoring (1=dead; 0=censored) time: time in days from start of treatment to death/censoring treat: treatment (0=prednisone; 1=placebo) gender (0=female; 1=male) age in years at start of treatment prothrombin index sex: age: prot: For treatment, you may give the commands (when time is converted to years). fit.treat=survfit (Surv (time/365.25, status ) ~factor (treat), data=liver) plot (fit.treat, mark.time=FALSE, xlab="Ye ars after randomization", lty=1:2, main="Treatment") legend ("bottomleft",c("Prednisone", "Place bo"),lty=1:2) survdiff (Surv (time/365.25, status) ~factor ( treat), data=liver) 2 a) Perform the commands and interpret the results. b) Perform similar analyses as in a) for the covariate sex. We want to do similar analyses as in a) and b) for the numeric covariates age and prothrombin index. But then we first have to make a grouping based on these covariates. In order to group age into the groups: 49 years or less, 50-59 years, 60- 69 years, and 70 years or more, you may create a new categorial covariate agegroup by the command: liver$agegroup-cut (liver$age, breaks-c (0, 49, 59, 69, 100), labels=1:4) c) Make a grouping of age by the command given above, and perform similar analyses for age group as the ones in a) and b). d) Make an appropriate grouping of prothrombin index and do similar analyses for grouped prothrombin as in a), b) and c). In order to study jointly the effects the covariates, we fit a Cox regression model with all covariates. If we use age and prothrombin as numeric covariates, we may give the 3 commands: cox.fit=coxph (Surv(time/365.25,status) ~fa ctor (treat) +factor (sex)+age+prot,data=liv er) summary(cox.fit) e) Perform the commands, and interpret the estimated hazard ratios. f) Do you think that it is reasonable to use both age and prothrombin index as numeric covariates in the Cox regre ssion model? If not, also fit model(s) where you use the grouped version of on e or both of these covariates. Interpret the estimated hazard ratios.
Expert Answer:
Answer rating: 100% (QA)
Answer in image Answer 2 Given ty 05 years for substance it I is the decay constant of substance A ... View the full answer
Related Book For
Research Methods for Business A Skill Building Approach
ISBN: 978-1119165552
7th edition
Authors: Uma Sekaran, Roger Bougie
Posted Date:
Students also viewed these mathematics questions
-
Use the diagram to answer the following questions (ad). a. At the equilibrium price before the tax is imposed, what area represents consumer surplus? What area represents producer surplus? b. Say...
-
Use Checkpoint to answer the following questions regarding the ability to expense advanced mine safety equipment. a. Using expense mine safety equipment as keywords (not in quotation marks), search...
-
Use these data to answer the following questions about the market for British pounds: a. Draw the demand and supply curves for pounds and determine the equilibrium exchange rate (dollars per pound)....
-
A car has a sticker price of $69,000. The car has a 100 hp engine and can accelerate from 0 to 60 mph in 15.8 seconds. The lease rate is 4.6%. The term of the lease is three years. The buyout is...
-
The level of impurity (in percent) in the product of a certain chemical process is a random variable with probability density function a. What is the probability that the impurity level is greater...
-
Much research is being conducted on repairing faulty sensory organs through devices such as personal guidance systems and eyeglasses, among others. Do you think that researchers should attempt to...
-
Explain the structure and working of four-stroke petrol engine with a neat sketch.
-
A commercial grade cubical freezer, 3 m on a side, has a composite wall consisting of an exterior sheet of 6.35-mm-thick plain carbon steel, an intermediate layer of 100-mm-thick cork insulation, and...
-
The following data shows the beginning cash balance along with the cash transactions for the month of January. Beginning cash balance $ 3,200 Cash payment toward long-term loan 1,000 Cash payment for...
-
Suppose the program counter (PC) is set to 0x20000000. 1. What range of addresses can be reached using the MIPS jump-and-link (jai) instruction? (In other words, what is the set of possible values...
-
Search an annual financial report for a public U.S. company. Read the Notes to the Financial Statements to determine the criteria for cash equivalents and how cash and cash equivalents are handled....
-
What can retailers, produce buyers and C-suite leaders do to reduce food loss?
-
Define delegation Discuss changes in healthcare delivery that make task delegation important Identify the essential elements of effective delegation Determine whether state law and facility policies...
-
What would you do as an operations management practitioner to survive in a VUCA business environment?
-
What does "Critical Thinking" mean and how do you think Critical Thinking helps a manager in today's workplace? Give two examples with your response.
-
What does brand equity consist of? Explain the terms
-
With reference to the latest Annual Report of the Bank Islam Malaysia, discuss credit exposure of the bank by industry. Subsequently provide an assessment on the impact of the recent flood disaster...
-
In the busy port of Chennai, India, the number of containers loaded onto ships during a 15-week period is as follows: 1. Develop a linear trend equation to forecast container loadings. 2. Using the...
-
When we collect data on the effects of treatment in experimental designs, which statistical test would be most appropriate to test the treatment effects?
-
A field study is often more useful than a lab experiment. Discuss this statement.
-
A researcher wants to provide an overview of the gender of the respondents in his sample. The gender is measured like this: What is your gender? 0 Male 0 Female What is the best way to provide an...
-
Amherst Metal Works produces two types of metal lamps. Amherst manufactures 20,000 basic lamps and 5,000 designer lamps. Its activity-based costing system uses two indirect-cost pools. One cost pool...
-
Amherst Metal Works produces two types of metal lamps. Amherst manufactures 20,000 basic lamps and 5,000 designer lamps. Its simple costing system uses a single indirect-cost pool and allocates costs...
-
How do managers refine a costing system?
Study smarter with the SolutionInn App