Skip to content

Commit

Permalink
[docs] typo (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
lrnv authored May 3, 2024
1 parent 67868df commit 4ce0824
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ When comparing at time $1826$, we notice that the survival probability is slight
test_sex = fit(GraffeoTest, @formula(Surv(time5,status5)~sex), colrec, slopop)
```

The p-value is indeed above $0.05$. We reject the null hypothesis $H_0$ and dismiss the differences between the two sexes.
The p-value is indeed above $0.05$. We cannot reject the null hypothesis $H_0$ and thus we dismiss the differences between the two sexes.

As for the age, we will define two different groups: individuals aged 65 and above and those who are not.

Expand All @@ -179,7 +179,7 @@ When applying the Grafféo test, we get the results below:
test_age65 = fit(GraffeoTest, @formula(Surv(time5,status5)~age65), colrec, slopop)
```

The p-value is well under $0.05$, meaning we accept the $H_0$ hypothesis and admit there are differences between the individuals aged 65 and above and the others.
The p-value is well under $0.05$, meaning we reject the $H_0$ hypothesis and must admit there are differences between the individuals aged 65 and above and the others.

When plotting both we get:

Expand Down Expand Up @@ -212,4 +212,4 @@ plot2 = plot!(pp_age65[2].grid, pp_age65[2].Sₑ, ribbon=(pp_age65[2].Sₑ - low
plot(plot1, plot2, layout = (1, 2))
```

Visually, it is almost immediately understood that there are no worthy differences between the two sexes whereas the `age65` variable seems to play a big role.
Visually, it is almost immediately understood that there are no worthy differences between the two sexes whereas the `age65` variable seems to play a big role.

0 comments on commit 4ce0824

Please sign in to comment.