2. Consider the following censored lifetime data: 12 13 14+ 15+ 23 23+ 25 25 16+ 26 18 18 19 21 26 26+ 27+ 29 22+ 30 Recall that the + sign corresponds to censoring: for e.g., 14+ means exit by censoring at age 14. (a) Find estimates of mortality rate λ(t), cumulative mortality rate A(t), and the survival probability (Nelson-Aalen and Kaplan-Meier) S (t). Provide your answers in 4 decimal digits. ktk dk Ук λκ Ак SKM SNA k 123 + 4 where tk denotes event times, dk the number of exit by the event at tk, yk the num- ber of individuals at risk at tk, λk := λ(tk), Ak = (tk), while SM and SNA respectively Kaplan-Meier and Nelson-Aalen estimates of S (tk). Complete the table in your assignment submission. KM are (b) Use R to plot estimated cumulative hazard rate ^(t) and survival probability s(t). Also write down each expression of ^(t) and s(t) as a function of time t. ΝΑ (c) It is known that the estimated variance Var(SNA (t)) of the estimate SNA (t) of survival probability S (t) for the Nelson-Aalen estimator is given by Var(S^(t)) = [S^(t)]² Σ dk(yk - dk) k:tk≤t Yk Use the formula to estimate the variance of S (t) at age t = 18. (d) Derive a 95% confidence interval for S (t) aged t = 18 using SNA (t).
2. Consider the following censored lifetime data: 12 13 14+ 15+ 23 23+ 25 25 16+ 26 18 18 19 21 26 26+ 27+ 29 22+ 30 Recall that the + sign corresponds to censoring: for e.g., 14+ means exit by censoring at age 14. (a) Find estimates of mortality rate λ(t), cumulative mortality rate A(t), and the survival probability (Nelson-Aalen and Kaplan-Meier) S (t). Provide your answers in 4 decimal digits. ktk dk Ук λκ Ак SKM SNA k 123 + 4 where tk denotes event times, dk the number of exit by the event at tk, yk the num- ber of individuals at risk at tk, λk := λ(tk), Ak = (tk), while SM and SNA respectively Kaplan-Meier and Nelson-Aalen estimates of S (tk). Complete the table in your assignment submission. KM are (b) Use R to plot estimated cumulative hazard rate ^(t) and survival probability s(t). Also write down each expression of ^(t) and s(t) as a function of time t. ΝΑ (c) It is known that the estimated variance Var(SNA (t)) of the estimate SNA (t) of survival probability S (t) for the Nelson-Aalen estimator is given by Var(S^(t)) = [S^(t)]² Σ dk(yk - dk) k:tk≤t Yk Use the formula to estimate the variance of S (t) at age t = 18. (d) Derive a 95% confidence interval for S (t) aged t = 18 using SNA (t).
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
Please assist with the following questions with the answers. Use R code as requested
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 5 images
Recommended textbooks for you
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman