How do I view the format of a sample data in matlab e.g. "load readmissiontimes" (survival analysis)
2 次查看(过去 30 天)
显示 更早的评论
Load the sample data.
load readmissiontimes
I want to have a look at the readmissionstimes data.
0 个评论
采纳的回答
Wayne King
2013-10-10
The variables in that .mat file are:
Age 100x1 800 double
Censored 100x1 800 double
ReadmissionTime 100x1 800 double
Sex 100x1 800 double
Smoker 100x1 800 double
Weight 100x1 800 double
So you have data for 100 subjects.
The dependent variable is ReadmissionTime
hist(ReadmissionTime)
gives you a histogram of that data.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Industrial Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!