[gnumeric] Some documentation additions (Kaplan-Meier Example)
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnumeric] Some documentation additions (Kaplan-Meier Example)
- Date: Thu, 7 Jan 2010 07:43:11 +0000 (UTC)
commit 591045c911b2eb58882b801807483eea17a54b8b
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date: Thu Jan 7 00:42:13 2010 -0700
Some documentation additions (Kaplan-Meier Example)
2010-01-07 Andreas J. Guelzow <aguelzow pyrshep>
* figures/analysistools-kaplan-ex3.png: new
* figures/analysistools-kaplan-groups.png: new
* figures/analysistools-kaplan-ex1.png: updated
* figures/analysistools-kaplan-ex2.png: updated
* figures/analysistools-kaplan-options.png: updated
* figures/analysistools-kaplan.png: updated
* analysis-statistical.xml: updated
doc/C/ChangeLog | 10 ++
doc/C/analysis-statistical.xml | 130 ++++++++++++++++++++----
doc/C/figures/analysistools-kaplan-ex1.png | Bin 112756 -> 105437 bytes
doc/C/figures/analysistools-kaplan-ex2.png | Bin 18311 -> 162690 bytes
doc/C/figures/analysistools-kaplan-ex3.png | Bin 0 -> 107684 bytes
doc/C/figures/analysistools-kaplan-groups.png | Bin 0 -> 38743 bytes
doc/C/figures/analysistools-kaplan-options.png | Bin 23542 -> 33547 bytes
doc/C/figures/analysistools-kaplan.png | Bin 31875 -> 36115 bytes
8 files changed, 121 insertions(+), 19 deletions(-)
---
diff --git a/doc/C/ChangeLog b/doc/C/ChangeLog
index bb5f4ed..ac6956a 100644
--- a/doc/C/ChangeLog
+++ b/doc/C/ChangeLog
@@ -1,3 +1,13 @@
+2010-01-07 Andreas J. Guelzow <aguelzow pyrshep>
+
+ * figures/analysistools-kaplan-ex3.png: new
+ * figures/analysistools-kaplan-groups.png: new
+ * figures/analysistools-kaplan-ex1.png: updated
+ * figures/analysistools-kaplan-ex2.png: updated
+ * figures/analysistools-kaplan-options.png: updated
+ * figures/analysistools-kaplan.png: updated
+ * analysis-statistical.xml: updated
+
2010-01-06 Andreas J. Guelzow <aguelzow pyrshep>
* figures/analysistools-outputoptions.png: updated
diff --git a/doc/C/analysis-statistical.xml b/doc/C/analysis-statistical.xml
index fd3d126..498057f 100644
--- a/doc/C/analysis-statistical.xml
+++ b/doc/C/analysis-statistical.xml
@@ -2229,9 +2229,15 @@
<title>The <quote><guilabel>Input</guilabel></quote> Tab</title>
<para>The <quote><guilabel>Input</guilabel></quote> tab shown in
- <xref linkend="kaplan-meier-tool-dialog" /> contains
- the field specifying the data to be used for the
- histogram.</para>
+ <xref linkend="kaplan-meier-tool-dialog" /> contains
+ the fields specifying the data to be used for the
+ Kaplan Meier Estimates. The time column contains the times or dates
+ at which the subjects died or were censored. If any of the subjects
+ were censored, the <guilabel>Permit censorship</guilabel> checkbox is
+ checked and the Censor column contained the censorship marks. Censorship
+ marks are typically 0s or 1s. The range of censor marks or labels can be
+ set using the the
+ remaining two spinboxes.</para>
<figure id="kaplan-meier-tool-dialog">
<title>Kaplan-Meier Tool Dialog</title>
@@ -2242,17 +2248,53 @@
format="PNG" />
</imageobject>
<textobject>
- <phrase>An image of the output from the histogram
- analysis tool.</phrase>
+ <phrase>An image of the .Kaplan-Meier tool dialog.</phrase>
</textobject>
</mediaobject>
</screenshot>
</figure>
</sect2>
+ <sect2 id="kaplan-meier-tool-group-tab">
+ <title>The <quote><guilabel>Groups</guilabel></quote> Tab</title>
+
+ <para>
+ If the subjects belong to several groups and the groups are supposed to be
+ analyzed separately, the groups tab can be used.
+ </para>
+
+ <figure id="kaplan-meier-tool-dialog-groups">
+ <title>Kaplan-Meier Tool Dialog Groups Tab</title>
+ <screenshot>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="figures/analysistools-kaplan-groups.png"
+ format="PNG" />
+ </imageobject>
+ <textobject>
+ <phrase>An image of the Kaplan-Meier tool dialog groups tab.</phrase>
+ </textobject>
+ </mediaobject>
+ </screenshot>
+ </figure>
+
+ <para>
+ The groups tab can be enabled via the <guilabel>Define multiple groups
+ </guilabel> checkbox. The groups column entry contains the address of
+ the column specifying the group membership. Groups can then be defined
+ or deleted via the <guilabel>Add</guilabel> and <guilabel>Remove
+ </guilabel> buttons.
+ </para>
+
+ </sect2>
+
<sect2 id="kaplan-meier-tool-optionstab">
<title>The <quote><guilabel>Options</guilabel></quote> Tab</title>
+ <para>The options tab of the Kaplan-Meier tools dialog is used to set
+ various options of the Kaplan-Meier tool.
+ </para>
+
<figure id="kaplan-meier-tool-dialog-options">
<title>Kaplan-Meier Tool Dialog Options Tab</title>
<screenshot>
@@ -2262,8 +2304,7 @@
format="PNG" />
</imageobject>
<textobject>
- <phrase>An image of the output from the histogram
- analysis tool.</phrase>
+ <phrase>An image of the Kaplan-Meier tool dialog options tab.</phrase>
</textobject>
</mediaobject>
</screenshot>
@@ -2281,7 +2322,7 @@
<sect2 id="kaplan-meier-tool-example">
<title>A Kaplan-Meier Example</title>
-
+
<figure id="kaplan-meier-tool-example-1">
<title>Kaplan-Meier Tool Example Input</title>
<screenshot>
@@ -2291,20 +2332,78 @@
format="PNG" />
</imageobject>
<textobject>
- <phrase>An image of the output from the histogramdata and input
+ <phrase>An image of the input to the Kaplan-Meier estimate example
+ and of the input
tab of the Kaplan-Meier analysis tool.</phrase>
</textobject>
</mediaobject>
</screenshot>
</figure>
-
- <figure id="kaplan-meier-tool-tool-example-2">
+
+ <example id="usingkaplan-meiertool">
+ <title>Using the Kaplan-Meier Tool</title>
+ <para>
+ Suppose you want to calculate Kaplan-Meier Estimates
+ for the as given in <xref linkend="kaplan-meier-tool-example-1" />. Each
+ row contains the data for one subject. Column A contains the survival time,
+ i.e. the time until death or censure. Column B contains the group number,
+ we are considering two groups of subjects. Column C indicates whether the
+ subject died (0) or was censured (1).
+ </para>
+ <para>
+ We complete the fields of the <guilabel>Input</guilabel> tab as shown in
+ <xref linkend="kaplan-meier-tool-example-1" />. The time column is A2:A21
+ and the censure column is C2:C21.
+ </para>
+ <para>
+ Since we have two groups of subjects, on the <guilabel>Groups</guilabel>
+ tab we check the <guilabel>Define multiple groups</guilabel> check box and
+ set up two groups with identifiers 1 and 2 in column B2:B21:
+ <figure id="kaplan-meier-tool-tool-example-3">
+ <title>Kaplan-Meier Tool Example Group Tab</title>
+ <screenshot>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="figures/analysistools-kaplan-ex3.png"
+ format="PNG" />
+ </imageobject>
+ <textobject>
+ <phrase>An image of the group tab of the Kaplan-Meier
+ analysis tool.</phrase>
+ </textobject>
+ </mediaobject>
+ </screenshot>
+ </figure>
+ </para>
+ <para>On the <guilabel>Options</guilabel> tab all checkboxes are pre-checked
+ and we leave them that way to obtain a maximum amount of information.
+ </para>
+ <para>Onthe output tab we choose where we would like the output to be placed. For
+ the purposes of this example we retain the <guilabel>New Sheet</guilabel> target.
+ After clicking <guilabel>OK</guilabel> we get the output shown in
+ <xref linkend="kaplan-meier-tool-example-2" />. Note that the graph initially
+ always appears on top of the numerical result and was moved for the
+ screen shot.
+ </para>
+ <para>
+ B1:F17 shows the results of the first group, G1 to K17 the results of the
+ second group. The graph shows the Kaplan-Meier survival curves for both
+ groups.
+ </para>
+ <para>
+ M4:N7 shows the result of the Mantel-Haenszel Log-Rank Test. In this case
+ the p-value is larger than 0.3 and we would fail to reject the Null
+ hypothesis. There is no evidence that the survival times differ.
+ </para>
+ </example>
+
+ <figure id="kaplan-meier-tool-example-2">
<title>Kaplan-Meier Tool Example Output</title>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="figures/analysistools-kaplan-ex2.png"
- format="PNG" />
+ format="PNG" scale="45" />
</imageobject>
<textobject>
<phrase>An image of the output of the Kaplan-Meier
@@ -2314,14 +2413,7 @@
</screenshot>
</figure>
- <example id="usingkaplan-meiertool">
- <title>Using the Kaplan-Meier Tool</title>
- <para>
- For example, suppose you want to calculate Kaplan-Meier Estimates
- for data as given in <xref linkend="kaplan-meier-tool-example-1" />.
- </para>
- </example>
</sect2>
diff --git a/doc/C/figures/analysistools-kaplan-ex1.png b/doc/C/figures/analysistools-kaplan-ex1.png
index ca1d54e..2eb6c17 100644
Binary files a/doc/C/figures/analysistools-kaplan-ex1.png and b/doc/C/figures/analysistools-kaplan-ex1.png differ
diff --git a/doc/C/figures/analysistools-kaplan-ex2.png b/doc/C/figures/analysistools-kaplan-ex2.png
index 33aded6..1f09ee8 100644
Binary files a/doc/C/figures/analysistools-kaplan-ex2.png and b/doc/C/figures/analysistools-kaplan-ex2.png differ
diff --git a/doc/C/figures/analysistools-kaplan-ex3.png b/doc/C/figures/analysistools-kaplan-ex3.png
new file mode 100644
index 0000000..4df8064
Binary files /dev/null and b/doc/C/figures/analysistools-kaplan-ex3.png differ
diff --git a/doc/C/figures/analysistools-kaplan-groups.png b/doc/C/figures/analysistools-kaplan-groups.png
new file mode 100644
index 0000000..99e4fd7
Binary files /dev/null and b/doc/C/figures/analysistools-kaplan-groups.png differ
diff --git a/doc/C/figures/analysistools-kaplan-options.png b/doc/C/figures/analysistools-kaplan-options.png
index 61bd6a2..6975da2 100644
Binary files a/doc/C/figures/analysistools-kaplan-options.png and b/doc/C/figures/analysistools-kaplan-options.png differ
diff --git a/doc/C/figures/analysistools-kaplan.png b/doc/C/figures/analysistools-kaplan.png
index dddc8ed..550945a 100644
Binary files a/doc/C/figures/analysistools-kaplan.png and b/doc/C/figures/analysistools-kaplan.png differ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]