R Dataset / Package KMsurv / std

Documentation

On this Picostat.com 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

Description

The std data frame has 877 rows and 3 columns.

Format

This data frame contains the following columns:

obs

Observation number

race

Race (W=white, B=black)

marital

Marital status (D=divorced / separated, M=married, S=single)

age

AGE

yschool

Years of schooling

iinfct

Initial infection (1= gonorrhea, 2=chlamydia, 3=both)

npartner

Number of partners

os12m

Oral sex within 12 months (1=yes, 0=no)

os30d

Oral sex within 30 days (1=yes, 0=no)

rs12m

Rectal sex within 12 months (1=yes, 0=no)

rs30d

Rectal sex within 30 days (1=yes, 0=no)

abdpain

Presence of abdominal pain (1=yes, 0=no)

discharge

Sign of discharge (1=yes, 0=no)

dysuria

Sign of dysuria (1=yes, 0=no)

condom

Condom use (1=always, 2=sometime, 3=never)

itch

Sign of itch (1=yes, 0=no)

lesion

Sign of lesion (1=yes, 0=no)

rash

Sign of rash (1=yes, 0=no)

lymph

Sign of lymph (1=yes, 0=no)

vagina

Involvement vagina at exam (1=yes, 0=no)

dchexam

Discharge at exam (1=yes, 0=no)

abnode

Abnormal node at exam (1=yes, 0=no)

rinfct

Reinfection (1=yes, 0=no)

time

Time to reinfection

Source

Klein and Moeschberger (1997) Survival Analysis Techniques for Censored and truncated data, Springer.

Examples

data(std)
--

Dataset imported from https://www.r-project.org.

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-64556.csv 49.41 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0