经济文库 - 千万精品文档,你想要的都能搜到,下载即用。

第一次作业(Homework 1.doc

两人的开始1 页 10.5 KB 访问 1052.97下载文档
第一次作业(Homework 1.doc
当前文档共1页 2.97
下载后继续阅读

第一次作业(Homework 1.doc

Homework 1 Applied Survival Analysis Using the data from Worcester Heart Attack Study (P. 4, Applied Survival Analysis-Regression Modeling of Time to Event Data): (1) Fit the exponential regression model to the data with both Age and Drug use as predictors (intercept is needed in this model); Derive the Maximum Likelihood Estimates (MLE) of these parameters, assuming that the errors are drawn from the distribution exp(1)(the probability density is f(x)=exp(-x)). Please give complete mathematical steps, not just results). (2) Write R codes for the regression of (1) with error specified as "exponential" (we should expect to observe the same MLE values from the R codes as the theoretical results obtained in (1)).

相关文章