wired vs. wireless internet usage on steven campus ma-331intermediate statisticsfall 2007 by:...

22
Wired vs. Wireless Wired vs. Wireless Internet Usage on Internet Usage on Steven Campus Steven Campus MA-331 MA-331 Intermediate Statistics Intermediate Statistics Fall Fall 2007 2007 By: Giovanni Gaccione By: Giovanni Gaccione Joe Trinsey Joe Trinsey Thomas Zygnerski Thomas Zygnerski

Upload: dorcas-waters

Post on 20-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

Wired vs. Wireless Internet Wired vs. Wireless Internet Usage on Steven CampusUsage on Steven Campus

MA-331MA-331 Intermediate StatisticsIntermediate Statistics Fall 2007Fall 2007

By: Giovanni GaccioneBy: Giovanni Gaccione

Joe TrinseyJoe Trinsey

Thomas ZygnerskiThomas Zygnerski

Page 2: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

OverviewOverview

Data was collected every night from the Data was collected every night from the Stevens IT department displaying Stevens IT department displaying Bytes/Second In and Bytes/Second Out Bytes/Second In and Bytes/Second Out usage in reference to each of the Stevens usage in reference to each of the Stevens Dorms. Each dorm will be assigned a Dorms. Each dorm will be assigned a letter from A-G.letter from A-G.

This data presented information regarding This data presented information regarding Wired Internet usage and Wireless Internet Wired Internet usage and Wireless Internet usage separately.usage separately.

Page 3: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

PredictionsPredictions

Wired Internet will be preferred over Wireless Wired Internet will be preferred over Wireless Internet.Internet.

Nighttime bandwidth usage will be higher than Nighttime bandwidth usage will be higher than the morning or afternoon hours.the morning or afternoon hours.

Spikes will occur in bandwidth usage during Spikes will occur in bandwidth usage during weekends and just before holidays. weekends and just before holidays.

Page 4: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

Stevens DormsStevens Dorms

Palmer HallPalmer Hall

Jonas HallJonas Hall

Castle Point Castle Point ApartmentsApartments

Humphreys Humphreys

HallHall

Davis HallDavis Hall

Hayden HallHayden Hall

River Terrace River Terrace ApartmentsApartments

Page 5: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

DataData

Stevens Building Network AnalysisStevens Building Network Analysis

Data CollectedData Collected

• 5 Minute Intervals5 Minute Intervals

• Combined to 1 HourCombined to 1 Hour

Every Midnight CollectionEvery Midnight Collection

Page 6: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

ParseXMLParseXML<?php<?phpinclude 'clsParseXML.php';include 'clsParseXML.php';

//for($d=23; $d<=28; $d++)//for($d=23; $d<=28; $d++)//{//{

$date = "10-28-07";$date = "10-28-07";$arrfiles = array("A","B","C","D","E","F","G","AW","BW","CW","DW","EW","FW","GW");$arrfiles = array("A","B","C","D","E","F","G","AW","BW","CW","DW","EW","FW","GW");

for($i=0; $i<14; $i++)for($i=0; $i<14; $i++){{

$file = array_pop($arrfiles);$file = array_pop($arrfiles);$xmlparse = &new ParseXML;$xmlparse = &new ParseXML;$xml = $xmlparse->GetXMLTree("J:\\Documents\\Stats\\Project\\Data\\".$date."\\".$file.".xml");$xml = $xmlparse->GetXMLTree("J:\\Documents\\Stats\\Project\\Data\\".$date."\\".$file.".xml");

$row = 0;$row = 0;$csv = "";$csv = "";

$fp = fopen("J:\\Documents\\Stats\\Project\\Data\\".$date."\\".$file.".txt", 'a');$fp = fopen("J:\\Documents\\Stats\\Project\\Data\\".$date."\\".$file.".txt", 'a');

while($row <= 288)while($row <= 288){{

$time = date("r", $xml['XPORT'][0]['DATA'][0]['ROW'][$row]['T'][0]['VALUE']);$time = date("r", $xml['XPORT'][0]['DATA'][0]['ROW'][$row]['T'][0]['VALUE']);$in = $xml['XPORT'][0]['DATA'][0]['ROW'][$row]['V'][0]['VALUE'];$in = $xml['XPORT'][0]['DATA'][0]['ROW'][$row]['V'][0]['VALUE'];$out = $xml['XPORT'][0]['DATA'][0]['ROW'][$row]['V'][1]['VALUE'];$out = $xml['XPORT'][0]['DATA'][0]['ROW'][$row]['V'][1]['VALUE'];

$csv .= $time.','.$in.','.$out."\n";$csv .= $time.','.$in.','.$out."\n";

$row++;$row++;}}

fwrite($fp, $csv);fwrite($fp, $csv);fclose($fp);fclose($fp);

}}//}//}echo "Done!";echo "Done!";

?>?>

Page 7: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

Combine2OneCombine2One<?php<?php

for($d=1; $d<=28; $d++)for($d=1; $d<=28; $d++){{

$date = "11-".$d."-07";$date = "11-".$d."-07";

$arrfiles = array("A","B","C","D","E","F","G","AW","BW","CW","DW","EW","FW","GW");$arrfiles = array("A","B","C","D","E","F","G","AW","BW","CW","DW","EW","FW","GW");

for($i=0; $i<14; $i++)for($i=0; $i<14; $i++){{

$file = array_pop($arrfiles);$file = array_pop($arrfiles);$writefilename = "J:\\Documents\\Stats\\Project\\".$file.".txt";$writefilename = "J:\\Documents\\Stats\\Project\\".$file.".txt";$readfilename = "J:\\Documents\\Stats\\Project\\Data\\".$date."\\".$file.".txt";$readfilename = "J:\\Documents\\Stats\\Project\\Data\\".$date."\\".$file.".txt";

$fp = fopen($readfilename, 'r');$fp = fopen($readfilename, 'r');$fh = fopen($writefilename, 'a');$fh = fopen($writefilename, 'a');

$theData = fread($fp, filesize($readfilename));$theData = fread($fp, filesize($readfilename));fwrite($fh, $theData);fwrite($fh, $theData);

fclose($fp);fclose($fp);fclose($fh);fclose($fh);

}}

}}echo "Done!";echo "Done!";

?>?>

Page 8: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

Raw DataRaw Data

Wed, 17 Oct 2007 23:35:00 -Wed, 17 Oct 2007 23:35:00 -0400,1.0449844632e+05,6.2764014373e+05Wed, 0400,1.0449844632e+05,6.2764014373e+05Wed, 17 Oct 2007 23:40:00 -17 Oct 2007 23:40:00 -0400,1.0733167824e+05,6.2080562153e+05Wed, 0400,1.0733167824e+05,6.2080562153e+05Wed, 17 Oct 2007 23:45:00 -17 Oct 2007 23:45:00 -0400,1.2563519000e+05,5.5799893742e+05Wed, 0400,1.2563519000e+05,5.5799893742e+05Wed, 17 Oct 2007 23:50:00 -17 Oct 2007 23:50:00 -0400,1.2038174379e+05,6.2156334210e+05Wed, 0400,1.2038174379e+05,6.2156334210e+05Wed, 17 Oct 2007 23:55:00 -17 Oct 2007 23:55:00 -0400,1.3038203155e+05,4.8354950602e+05Thu, 0400,1.3038203155e+05,4.8354950602e+05Thu, 18 Oct 2007 00:00:00 -18 Oct 2007 00:00:00 -0400,1.2635942265e+05,3.9117289308e+05Thu, 0400,1.2635942265e+05,3.9117289308e+05Thu, 18 Oct 2007 00:05:00 -18 Oct 2007 00:05:00 -

Page 9: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

Finalized DataFinalized Data

DayDayTime and Time and

DateDateBytes/Bytes/Sec InSec In

Bytes/Sec Bytes/Sec OutOut

Bytes/Sec In Bytes/Sec In (Grouped by (Grouped by

Hour)Hour)

Bytes/Sec Bytes/Sec Out Out

(Grouped (Grouped by Hour)by Hour)

WedWed104498.4104498.4

55 627640.14627640.14

WedWed107331.6107331.6

88 620805.62620805.62

WedWed125635.1125635.1

99 557998.94557998.94

WedWed120381.7120381.7

44 621563.34621563.34

WedWed130382.0130382.0

33 483549.51483549.51

ThuThu10/18/2007 10/18/2007

0:000:00126359.4126359.4

22 391172.89391172.89 181732.85181732.85 1526329.431526329.43

ThuThu 143257.9143257.9 1731436.991731436.99

Page 10: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

Buildings A and B (wired)Buildings A and B (wired) Bytes/Sec InBytes/Sec In Bytes/Sec OutBytes/Sec Out

AA

B B

Page 11: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

Buildings A and B (wireless)Buildings A and B (wireless) Bytes/Sec InBytes/Sec In Bytes/Sec OutBytes/Sec Out

AA

B B

Page 12: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

Buildings C and D (wired)Buildings C and D (wired) Bytes/Sec InBytes/Sec In Bytes/Sec OutBytes/Sec Out

D D

C C

Page 13: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

Buildings C and D (wireless)Buildings C and D (wireless) Bytes/Sec InBytes/Sec In Bytes/Sec OutBytes/Sec Out

D D

C C

Page 14: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

Buildings E and F (wired)Buildings E and F (wired) Bytes/Sec InBytes/Sec In Bytes/Sec OutBytes/Sec Out

F F

E E

Page 15: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

Buildings E and F (wireless)Buildings E and F (wireless) Bytes/Sec InBytes/Sec In Bytes/Sec OutBytes/Sec Out

F F

E E

Page 16: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

Building G (wired)Building G (wired) Bytes/Sec InBytes/Sec In Bytes/Sec OutBytes/Sec Out

G G

Page 17: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

Building G (wireless)Building G (wireless) Bytes/Sec InBytes/Sec In Bytes/Sec OutBytes/Sec Out

G G

Page 18: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski
Page 19: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

Traffic DataTraffic Data Building A, wired:Building A, wired: mean traffic: mean traffic: 13383731338373 Morning traffic:Morning traffic: 06358790635879 Afternoon traffic:Afternoon traffic: 15674741567474 Evening traffic:Evening traffic: 16580741658074 Late traffic:Late traffic: 15006321500632 Building A, wirelessBuilding A, wireless mean traffic:mean traffic: 03851800385180 Morning traffic:Morning traffic: 01512930151293 Afternoon traffic:Afternoon traffic: 04433340443334 Evening traffic:Evening traffic: 05103480510348 Late traffic:Late traffic: 04314620431462

Building B, wired:Building B, wired: mean traffic:mean traffic: 0485406 0485406 Morning traffic:Morning traffic: 05541980554198 Afternoon traffic:Afternoon traffic: 09238500923850 Evening traffic:Evening traffic: 12503601250360 Late traffic:Late traffic: 10046981004698

Building B, wirelessBuilding B, wireless mean traffic:mean traffic: 04854060485406 Morning traffic:Morning traffic: 02520450252045 Afternoon traffic:Afternoon traffic: 04570900457090 Evening traffic:Evening traffic: 06019690601969 Late traffic:Late traffic: 06326670632667

Building C, wired:Building C, wired: mean traffic:mean traffic: 22260042226004 Morning traffic:Morning traffic: 13553661355366 Afternoon traffic:Afternoon traffic: 21866522186652 Evening traffic:Evening traffic: 26859612685961 Late traffic:Late traffic: 26799042679904

Building C, wireless:Building C, wireless: mean traffic:mean traffic: 05188400518840 Morning traffic:Morning traffic: 02732180273218 Afternoon traffic:Afternoon traffic: 05892390589239 Evening traffic:Evening traffic: 05959270595927 Late traffic:Late traffic: 06185260618526 Building D, wired:Building D, wired: mean traffic:mean traffic: 09406310940631 Morning traffic:Morning traffic: 04333940433394 Afternoon traffic:Afternoon traffic: 10306821030682 Evening traffic:Evening traffic: 12264431226443 Late traffic:Late traffic: 10708621070862

Building D, wireless:Building D, wireless: mean traffic:mean traffic: 02320130232013 Morning traffic:Morning traffic: 01069670106967 Afternoon traffic:Afternoon traffic: 02615240261524 Evening traffic:Evening traffic: 02759690275969 Late traffic:Late traffic: 02842480284248

Building E, wired:Building E, wired: mean traffic:mean traffic: 27367742736774 Morning traffic:Morning traffic: 17491431749143 Afternoon traffic:Afternoon traffic: 28832022883202 Evening traffic:Evening traffic: 28832022883202 Late traffic:Late traffic: 30292653029265

Building E, wirelessBuilding E, wireless mean traffic:mean traffic: 02203500220350 Morning traffic:Morning traffic: 00956980095698 Afternoon traffic:Afternoon traffic: 02382700238270 Evening traffic:Evening traffic: 02667550266755 Late traffic:Late traffic: 02793230279323

Building F, wiredBuilding F, wired mean traffic:mean traffic: 14541481454148 Morning traffic:Morning traffic: 07534070753407 Afternoon traffic:Afternoon traffic: 14533071453307 Evening traffic:Evening traffic: 17779711777971 Late traffic:Late traffic: 18243971824397

Building F, wirelessBuilding F, wireless mean traffic:mean traffic: 05940820594082 Morning traffic:Morning traffic: 02949390294939 Afternoon traffic:Afternoon traffic: 05859580585958 Evening traffic:Evening traffic: 06987610698761 Late traffic:Late traffic: 07983660798366

Building G, wiredBuilding G, wired mean traffic:mean traffic: 24348642434864 Morning traffic:Morning traffic: 13531501353150 Afternoon traffic:Afternoon traffic: 27051242705124 Evening traffic:Evening traffic: 27666642766664 Late traffic:Late traffic: 29082792908279

Building G, wirelessBuilding G, wireless mean traffic:mean traffic: 02646970264697 Morning traffic:Morning traffic: 01315960131596 Afternoon traffic:Afternoon traffic: 02991170299117 Evening traffic:Evening traffic: 03075270307527 Late traffic:Late traffic: 03228360322836

Page 20: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

Overall AnalysisOverall Analysis For all seven dorms, the wireless usage was For all seven dorms, the wireless usage was

shown to be significantly lower than the wired shown to be significantly lower than the wired usage. usage.

The differences in means were very large, the The differences in means were very large, the wired usage was anywhere from two to ten times wired usage was anywhere from two to ten times greater than the wireless usage; not only is the greater than the wireless usage; not only is the difference statistically significant, but it is also a difference statistically significant, but it is also a meaningful difference. meaningful difference.

The tests showed that no days had a mean usage The tests showed that no days had a mean usage significantly different than the mean.significantly different than the mean.

Page 21: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

Overall Analysis (cont.)Overall Analysis (cont.)

Using Using tt-tests, the morning time period was shown -tests, the morning time period was shown to have traffic significantly less than the mean. to have traffic significantly less than the mean. This difference was also meaningful, as the This difference was also meaningful, as the means for the morning period were often half as means for the morning period were often half as much as the overall mean usage. The other three much as the overall mean usage. The other three periods were shown to have traffic that was not periods were shown to have traffic that was not significantly different than the mean. significantly different than the mean.

Page 22: Wired vs. Wireless Internet Usage on Steven Campus MA-331Intermediate StatisticsFall 2007 By: Giovanni Gaccione Joe Trinsey Thomas Zygnerski

ConclusionsConclusions

Our hypothesis that the usage would be greater Our hypothesis that the usage would be greater on weekends was rejected. on weekends was rejected.

T-T-tests used to compare internet usage at various tests used to compare internet usage at various times of the day with the mean usage seemed to times of the day with the mean usage seemed to confirm, or at least not reject, our hypothesis that confirm, or at least not reject, our hypothesis that there would be greater traffic at night than in the there would be greater traffic at night than in the

morning.morning. The data and graphs confirm bandwidth usage The data and graphs confirm bandwidth usage

spikes before Thanksgiving break and drops in spikes before Thanksgiving break and drops in usage during the break.usage during the break.