How do I view the format of a sample data in matlab e.g. "load readmissiontimes" (survival analysis)
조회 수: 1 (최근 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!