Datest_Boxplot1.JPG(700 × 400 pixels, file size: 18 KB, MIME type: image/jpeg)


Summary

Description
English: This image has been created with MD*Tech XploRe.


Program Code

Attention! For repeating the computation a transformed dataset is needed! Run the program for transformation on the wikipage en:Analysis of Tuberculosis first! Additionally, after copying this program code to your XploRe input window, the argument of "graxes(argument)" has to be rewritten in one line.

library("xplore")
library("stats")

choose = "Read data from:"

defaults = "C:\Dokumente und Einstellungen\All Users\Desktop\UN_data_ordered.csv"

v1 = readvalue(choose, defaults)

x = readcsvm(v1)

data = x.double
country = x.text

; ----- Standardization to 0-1-Scale -----------------------------------------------------------

dats = (data - min(data))/(max(data)-min(data))

; ----- Generate Boxplots ----------------------------------------------------------------------

gr4 = grbox(dats[,4],4)
gr5 = grbox(dats[,5],5)
gr6 = grbox(dats[,6],1)

gr5 = grmove(gr5, #(0, 1.5))
gr6 = grmove(gr6, #(0, 3))

; ----- Set Graphical Options ------------------------------------------------------------------

setsize(700, 400)
d1 = createdisplay(1, 1)

; ---------- Label Maxima ----------

ptt = max(data[,4|5|6])'
pt = matrix(3,1)~(0.5|2|3.5)
fmt = "%20.5g"|"%20.5g"|"%12.5g"
ptt = string(fmt, ptt)
setmaskt(pt, ptt, 4|5|1, 12, 16)
setmaskp(pt, 0, 0, 0)

; ----------------------------------

axesoff()
axes=graxes((-0.03|1.03)~(-0.2|4.2), "origin", 7.5, "ytextpos", 9, "xtextpos", 6,
            "xticks", 0|0.5|1, "xtext", "0"|"standardized"|"1",
            "yticks", 0.5|2|3.5, "ytext","Aids"|"Malaria"|"Tuberculosis",
            "xtextsize", 16, "ytextsize", 16)

show(d1, 1, 1, pt, gr4, gr5, gr6, axes)
setgopt(d1, 1, 1, "title", "Boxplot")

Date 29 March 2007 (original upload date)
Source Transferred from en.wikibooks to Commons.
Author Schtiwi at English Wikibooks

Licensing

Schtiwi at the English Wikipedia, the copyright holder of this work, hereby publishes it under the following license:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
Attribution: Schtiwi at the English Wikipedia
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This licensing tag was added to this file as part of the GFDL licensing update.

Original upload log

The original description page was here. All following user names refer to en.wikibooks.
Date/Time Dimensions User Comment
2007-03-29 18:20 700×400× (18156 bytes) Schtiwi This image has been created with MD*Tech XploRe.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

29 March 2007

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current14:19, 19 August 2017Thumbnail for version as of 14:19, 19 August 2017700 × 400 (18 KB)JackPotte{{BotMoveToCommons|en.wikibooks|year={{subst:CURRENTYEAR}}|month={{subst:CURRENTMONTHNAME}}|day={{subst:CURRENTDAY}}}} == {{int:filedesc}} == {{Information |Description={{en|This image has been created with MD*Tech XploRe. == Program Code == '''Atte...

The following page uses this file: