On this R-data statistics page, you will find information about the std data set which pertains to data from Section 1.12. The std data set is found in the KMsurv R package. You can load the std data set in R by issuing the following command at the console data("std"). This will load the data into a variable called std. If R says the std data set is not found, you can try installing the package by issuing this command install.packages("KMsurv") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the std R data set. The size of this file is about 50,593 bytes.
data from Section 1.12
std data frame has 877 rows and 3 columns.
This data frame contains the following columns:
Race (W=white, B=black)
Marital status (D=divorced / separated, M=married, S=single)
Years of schooling
Initial infection (1= gonorrhea, 2=chlamydia, 3=both)
Number of partners
Oral sex within 12 months (1=yes, 0=no)
Oral sex within 30 days (1=yes, 0=no)
Rectal sex within 12 months (1=yes, 0=no)
Rectal sex within 30 days (1=yes, 0=no)
Presence of abdominal pain (1=yes, 0=no)
Sign of discharge (1=yes, 0=no)
Sign of dysuria (1=yes, 0=no)
Condom use (1=always, 2=sometime, 3=never)
Sign of itch (1=yes, 0=no)
Sign of lesion (1=yes, 0=no)
Sign of rash (1=yes, 0=no)
Sign of lymph (1=yes, 0=no)
Involvement vagina at exam (1=yes, 0=no)
Discharge at exam (1=yes, 0=no)
Abnormal node at exam (1=yes, 0=no)
Reinfection (1=yes, 0=no)
Time to reinfection
Klein and Moeschberger (1997) Survival Analysis Techniques for Censored and truncated data, Springer.
Dataset imported from https://www.r-project.org.