Home » date » 2010 » Oct » 04 »

Histogram

*The author of this computation has been verified*
R Software Module: /rwasp_histogram.wasp (opens new window with default values)
Title produced by software: Histogram
Date of computation: Mon, 04 Oct 2010 17:41:36 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Oct/04/t12862141258rlzae2sd3dadme.htm/, Retrieved Mon, 04 Oct 2010 19:42:05 +0200
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Oct/04/t12862141258rlzae2sd3dadme.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
8,95 57,47 86,58 137,55 171,26 236,71 239,89 252,64 259,7 308,16 324,04 388,3 392,25 440,31 694,87 756,46 4813 33999 37028 39047 59609 62156 64016 70939 72844 85094 103898 109215 131812 136452 136813 140321 150034 156187 158047 169861 171328 180818 183186 183613 184641 187881 190157 190379 191835 192797 193299 197549 198296 199297 199746 200156 203077 204386 206771 206893 207533 208108 211655 213361 213511 213923 216046 216548 216886 217465 218761 220553 221588 223166 226731 229641 232444 232669 235577 236302 238502 240755 241171 242205 242344 246542 249148 250407 251422 257102 257567 260642 261596 262517 262875 263906 265777 266793 274482 275562 278741 287069 289714 293671 295281 308174 308532 313906 315955 330563 348821 350089 356725 366936 380155 380531 383703 386688 401422 401915 403064 403556 406167 421403 426113 435956 438555 441437 449594 475834 506652 556277 601162 611281 6 etc...
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[70000,80000[7500010.0109890.0109891e-06
[80000,90000[8500010.0109890.0219781e-06
[90000,1e+05[95000000.0219780
[1e+05,110000[10500020.0219780.0439562e-06
[110000,120000[115000000.0439560
[120000,130000[125000000.0439560
[130000,140000[13500030.0329670.0769233e-06
[140000,150000[14500010.0109890.0879121e-06
[150000,160000[15500030.0329670.1208793e-06
[160000,170000[16500010.0109890.1318681e-06
[170000,180000[17500010.0109890.1428571e-06
[180000,190000[18500050.0549450.1978025e-06
[190000,2e+05[19500090.0989010.2967031e-05
[2e+05,210000[20500070.0769230.3736268e-06
[210000,220000[21500090.0989010.4725271e-05
[220000,230000[22500050.0549450.5274735e-06
[230000,240000[23500050.0549450.5824185e-06
[240000,250000[24500060.0659340.6483527e-06
[250000,260000[25500040.0439560.6923084e-06
[260000,270000[26500070.0769230.7692318e-06
[270000,280000[27500030.0329670.8021983e-06
[280000,290000[28500020.0219780.8241762e-06
[290000,3e+05[29500020.0219780.8461542e-06
[3e+05,310000[30500020.0219780.8681322e-06
[310000,320000[31500020.0219780.890112e-06
[320000,330000[325000000.890110
[330000,340000[33500010.0109890.9010991e-06
[340000,350000[34500010.0109890.9120881e-06
[350000,360000[35500020.0219780.9340662e-06
[360000,370000[36500010.0109890.9450551e-06
[370000,380000[375000000.9450550
[380000,390000[38500040.0439560.9890114e-06
[390000,4e+05[395000000.9890110
[4e+05,410000]40500010.01098911e-06
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Oct/04/t12862141258rlzae2sd3dadme/13qxo1286214093.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Oct/04/t12862141258rlzae2sd3dadme/13qxo1286214093.ps (open in new window)


 
Parameters (Session):
par1 = 15 ; par2 = grey ; par3 = FALSE ; par4 = Unknown ;
 
Parameters (R input):
par1 = 25 ; par2 = grey ; par3 = FALSE ; par4 = Unknown ;
 
R code (references can be found in the software module):
par1 <- as.numeric(par1)
if (par3 == 'TRUE') par3 <- TRUE
if (par3 == 'FALSE') par3 <- FALSE
if (par4 == 'Unknown') par1 <- as.numeric(par1)
if (par4 == 'Interval/Ratio') par1 <- as.numeric(par1)
if (par4 == '3-point Likert') par1 <- c(1:3 - 0.5, 3.5)
if (par4 == '4-point Likert') par1 <- c(1:4 - 0.5, 4.5)
if (par4 == '5-point Likert') par1 <- c(1:5 - 0.5, 5.5)
if (par4 == '6-point Likert') par1 <- c(1:6 - 0.5, 6.5)
if (par4 == '7-point Likert') par1 <- c(1:7 - 0.5, 7.5)
if (par4 == '8-point Likert') par1 <- c(1:8 - 0.5, 8.5)
if (par4 == '9-point Likert') par1 <- c(1:9 - 0.5, 9.5)
if (par4 == '10-point Likert') par1 <- c(1:10 - 0.5, 10.5)
bitmap(file='test1.png')
if(is.numeric(x[1])) {
if (is.na(par1)) {
myhist<-hist(x,col=par2,main=main,xlab=xlab,right=par3)
} else {
if (par1 < 0) par1 <- 3
if (par1 > 50) par1 <- 50
myhist<-hist(x,breaks=par1,col=par2,main=main,xlab=xlab,right=par3)
}
} else {
plot(mytab <- table(x),col=par2,main='Frequency Plot',xlab=xlab,ylab='Absolute Frequency')
}
dev.off()
if(is.numeric(x[1])) {
myhist
n <- length(x)
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/histogram.htm','Frequency Table (Histogram)',''),6,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Bins',header=TRUE)
a<-table.element(a,'Midpoint',header=TRUE)
a<-table.element(a,'Abs. Frequency',header=TRUE)
a<-table.element(a,'Rel. Frequency',header=TRUE)
a<-table.element(a,'Cumul. Rel. Freq.',header=TRUE)
a<-table.element(a,'Density',header=TRUE)
a<-table.row.end(a)
crf <- 0
if (par3 == FALSE) mybracket <- '[' else mybracket <- ']'
mynumrows <- (length(myhist$breaks)-1)
for (i in 1:mynumrows) {
a<-table.row.start(a)
if (i == 1)
dum <- paste('[',myhist$breaks[i],sep='')
else
dum <- paste(mybracket,myhist$breaks[i],sep='')
dum <- paste(dum,myhist$breaks[i+1],sep=',')
if (i==mynumrows)
dum <- paste(dum,']',sep='')
else
dum <- paste(dum,mybracket,sep='')
a<-table.element(a,dum,header=TRUE)
a<-table.element(a,myhist$mids[i])
a<-table.element(a,myhist$counts[i])
rf <- myhist$counts[i]/n
crf <- crf + rf
a<-table.element(a,round(rf,6))
a<-table.element(a,round(crf,6))
a<-table.element(a,round(myhist$density[i],6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
} else {
mytab
reltab <- mytab / sum(mytab)
n <- length(mytab)
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Frequency Table (Categorical Data)',3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Category',header=TRUE)
a<-table.element(a,'Abs. Frequency',header=TRUE)
a<-table.element(a,'Rel. Frequency',header=TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,labels(mytab)$x[i],header=TRUE)
a<-table.element(a,mytab[i])
a<-table.element(a,round(reltab[i],4))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by