Description Usage Format Details Examples
This data frame contains the time (in weeks) between the initial symptoms (onset symptoms) and the decision time to visit a doctor in the case of 54 patients who eventually were diagnosed with multiple sclerosis. Interest centers on whether there are any factors which tend to be related to the delay time.
1 |
A data frame with 54 observations on the following 16 variables.
Delaynumeric, time in weeks
ClinicalDiseaseCoursefactor, 2 levels
CodedGenderfactor, 2 levels, 1 = Male, 2 = Female
AgeAtOnsetnumeric, age in years
OnsetSymptom1factor, 4 levels
OnsetSymptom2factor, 5 levels
OnsetSymptomSeverityfactor, 2 levels, 0 = Low, 1 = High
TriggerSymptom1factor, 4 levels
TriggerSymptom2factor, 4 levels
TriggerSymptomSeverityfactor, 2 levels, 0 = Low, 1 = High
FamilyHistoryfactor, 2 levels, yes = there is MS in the family history
FearOfWorseningSymptomsfactor, 2 levels
MoreThanOneSymptomfactor, 2 levels
EffectonResponsibilitiesfactor, 2 levels, yes = the symptoms are having an effect on the individual
UncertainResponselogical, TRUE = recorded delay time is not accurate
The levels of the Clinical Disease Course variable are: Clinically Isolated Syndrome and Relapse-Remitting.
1 2 3 4 5 6 7 8 9 10 11 12 13 | xy <- MSDecision
xy$sensoryOnset1 <- factor(xy$OnsetSymptom1=="SENSORY")
xy$brainstemOnset2 <- factor(xy$OnsetSymptom2=="BRAINSTEM")
xy$sensoryTrigger1 <- factor(xy$TriggerSymptom1=="SENSORY")
xy$brainstemTrigger2 <- factor(xy$TriggerSymptom2=="BRAINSTEM")
xy <- xy[, -c(5, 6, 8, 9, 15)]
xy[,1]<-log(xy[,1])
names(xy)[1] <- "y"
out <- ices(y ~ ., data = xy)
summary(out)
plot(out)
plot(out, normqq=TRUE)
plot(out, scaleloc=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.