Hi there,
I was wondering if anybody can explain to me why the boxplot ends up
with different results in the following case:
I have some integer data as a vector and I compare the stats of boxplot
with the same data divided by a factor.
I've attached a csv file with both data present (d1, d2). The factor is
34.16667.
If I run the boxplot function on d1 I get the following stats:
0.848...
0.907...
0.936...
0.965...
1.024...
For d2 I get these stats:
29
31
32
33
36
If I convert the stats of d1 with the factor, I get
29
31
32
33
35
Obviously different for the upper whisker. But why???
Antje
"","d1","d2"
"1",0.936585365853659,32
"2",0.936585365853659,32
"3",0.936585365853659,32
"4",0.936585365853659,32
"5",0.907317073170732,31
"6",1.08292682926829,37
"7",1.08292682926829,37
"8",1.02439024390244,35
"9",1.08292682926829,37
"10",1.05365853658537,36
"11",0.936585365853659,32
"12",1.08292682926829,37
"13",0.936585365853659,32
"14",0.907317073170732,31
"15",0.936585365853659,32
"16",0.907317073170732,31
"17",1.02439024390244,35
"18",0.878048780487805,30
"19",1.08292682926829,37
"20",1.02439024390244,35
"21",0.936585365853659,32
"22",0.936585365853659,32
"23",1.08292682926829,37
"24",1.02439024390244,35
"25",1.05365853658537,36
"26",1.02439024390244,35
"27",0.936585365853659,32
"28",1.11219512195122,38
"29",0.878048780487805,30
"30",1.02439024390244,35
"31",0.995121951219512,34
"32",1.11219512195122,38
"33",0.936585365853659,32
"34",0.995121951219512,34
"35",0.936585365853659,32
"36",1.02439024390244,35
"37",0.965853658536585,33
"38",0.965853658536585,33
"39",0.995121951219512,34
"40",0.848780487804878,29
"41",0.907317073170732,31
"42",0.907317073170732,31
"43",0.907317073170732,31
"44",1.05365853658537,36
"45",0.878048780487805,30
"46",0.878048780487805,30
"47",0.878048780487805,30
"48",0.936585365853659,32
"49",0.936585365853659,32
"50",0.878048780487805,30
"51",0.936585365853659,32
"52",1.05365853658537,36
"53",0.878048780487805,30
"54",1.17073170731707,40
"55",0.907317073170732,31
"56",0.995121951219512,34
"57",0.907317073170732,31
"58",0.907317073170732,31
"59",0.936585365853659,32
"60",0.965853658536585,33
"61",0.965853658536585,33
"62",0.936585365853659,32
"63",0.936585365853659,32
"64",0.878048780487805,30
"65",0.907317073170732,31
"66",1.08292682926829,37
"67",0.907317073170732,31
"68",0.848780487804878,29
"69",0.907317073170732,31
"70",0.965853658536585,33
"71",0.936585365853659,32
"72",0.936585365853659,32
"73",1.08292682926829,37
"74",0.936585365853659,32
"75",0.936585365853659,32
"76",1.11219512195122,38
"77",0.878048780487805,30
"78",0.965853658536585,33
"79",0.907317073170732,31
"80",0.936585365853659,32
"81",0.907317073170732,31
"82",0.878048780487805,30
"83",0.936585365853659,32
"84",0.965853658536585,33
"85",0.907317073170732,31
"86",1.02439024390244,35
"87",0.995121951219512,34
"88",0.965853658536585,33
"89",0.936585365853659,32
"90",0.936585365853659,32
"91",1.11219512195122,38
"92",0.907317073170732,31
"93",0.907317073170732,31
"94",0.936585365853659,32
"95",0.907317073170732,31
"96",0.907317073170732,31
"97",0.936585365853659,32
"98",0.936585365853659,32
"99",0.936585365853659,32
"100",0.907317073170732,31
"101",0.907317073170732,31
"102",0.848780487804878,29
"103",0.907317073170732,31
"104",0.965853658536585,33
"105",0.936585365853659,32
"106",0.907317073170732,31
"107",0.878048780487805,30
"108",1.02439024390244,35
"109",0.907317073170732,31
"110",1.11219512195122,38
"111",1.02439024390244,35
"112",0.907317073170732,31
"113",0.936585365853659,32
"114",0.878048780487805,30
"115",0.907317073170732,31
"116",0.936585365853659,32
"117",0.936585365853659,32
"118",1.05365853658537,36
"119",0.907317073170732,31
"120",0.878048780487805,30
"121",0.936585365853659,32
"122",1.02439024390244,35
"123",0.965853658536585,33
"124",0.965853658536585,33
"125",0.936585365853659,32
"126",0.936585365853659,32
"127",0.936585365853659,32
"128",0.907317073170732,31
"129",0.907317073170732,31
"130",0.878048780487805,30
"131",0.936585365853659,32
"132",1.02439024390244,35
"133",0.936585365853659,32
"134",0.936585365853659,32
"135",0.995121951219512,34
"136",0.965853658536585,33
"137",0.965853658536585,33
"138",0.907317073170732,31
"139",0.936585365853659,32
"140",0.936585365853659,32
"141",0.878048780487805,30
"142",0.907317073170732,31
"143",0.965853658536585,33
"144",0.936585365853659,32
"145",0.936585365853659,32
"146",0.995121951219512,34
"147",1.02439024390244,35
"148",1.08292682926829,37
"149",0.878048780487805,30
"150",0.936585365853659,32
"151",0.848780487804878,29
"152",0.907317073170732,31
"153",0.907317073170732,31
"154",0.907317073170732,31
"155",0.965853658536585,33
"156",1.02439024390244,35
"157",0.995121951219512,34
"158",0.995121951219512,34
"159",0.936585365853659,32
"160",1.08292682926829,37
"161",0.907317073170732,31
"162",0.907317073170732,31
"163",0.936585365853659,32
"164",0.907317073170732,31
"165",0.907317073170732,31
"166",0.907317073170732,31
"167",0.907317073170732,31
"168",1.05365853658537,36
"169",1.05365853658537,36
"170",0.936585365853659,32
"171",0.965853658536585,33
"172",0.965853658536585,33
"173",0.936585365853659,32
"174",0.907317073170732,31
"175",0.878048780487805,30
"176",0.995121951219512,34
"177",0.936585365853659,32
"178",0.936585365853659,32
"179",0.907317073170732,31
"180",1.08292682926829,37
"181",0.936585365853659,32
"182",0.936585365853659,32
"183",0.878048780487805,30
"184",0.907317073170732,31
"185",0.848780487804878,29
"186",0.907317073170732,31
"187",0.907317073170732,31
"188",0.878048780487805,30
"189",0.936585365853659,32
"190",0.965853658536585,33
"191",0.965853658536585,33
"192",0.995121951219512,34
"193",0.936585365853659,32
"194",0.936585365853659,32
"195",0.936585365853659,32
"196",0.936585365853659,32
"197",0.878048780487805,30
"198",0.936585365853659,32
"199",0.907317073170732,31
"200",0.848780487804878,29
"201",0.936585365853659,32
"202",0.936585365853659,32
"203",1.08292682926829,37
"204",0.907317073170732,31
"205",0.936585365853659,32
"206",0.965853658536585,33
"207",0.965853658536585,33
"208",0.907317073170732,31
"209",0.848780487804878,29
"210",0.878048780487805,30
"211",0.936585365853659,32
"212",0.907317073170732,31
"213",0.878048780487805,30
"214",0.878048780487805,30
"215",0.936585365853659,32
"216",0.965853658536585,33
"217",0.936585365853659,32
"218",0.965853658536585,33
"219",0.936585365853659,32
"220",0.936585365853659,32
"221",0.936585365853659,32
"222",0.907317073170732,31
"223",0.936585365853659,32
"224",0.878048780487805,30
"225",0.995121951219512,34
"226",1.08292682926829,37
"227",0.965853658536585,33
"228",0.936585365853659,32
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.