| Geboorten Belgie | *Unverified author* | R Software Module: /rwasp_histogram.wasp (opens new window with default values) | Title produced by software: Histogram | Date of computation: Mon, 21 Feb 2011 16:15:58 +0000 | | Cite this page as follows: | Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2011/Feb/21/t1298304951jlilwhen3aq4wz7.htm/, Retrieved Mon, 21 Feb 2011 17:15:51 +0100 | | Original text written by user: | | | IsPrivate? | No (this computation is public) | | User-defined keywords: | KDGP1W1 | | Dataseries X: | » Textbox « » Textfile « » CSV « | 131.676
135.050
129.070
137.792
139.762
142.917
144.198
142.648
152.170
136.022
138.142
138.135
135.027
132.911
133.976
137.012
119.610
118.106
120.383
133.185
131.416
134.248
134.397
127.728
131.837
125.955
134.187
143.291
145.074
149.812
144.668
147.253
145.568
155.564
155.872
156.323
158.010
155.598
154.785
157.294
162.938
157.283
166.074
169.282
172.552
174.055
175.409
173.696
171.283
173.322
170.717
174.229
175.339
173.511
175.839
173.816
173.990
174.777
174.819
176.726
176.199
180.952
176.663
182.346
180.605
182.497
187.856
190.020
190.108
193.288
193.230
199.068
195.076
191.563
191.067
186.665
185.508
184.371
183.046
175.714
175.768
171.029
170.465
170.102
156.389
124.291
99.360
86.675
85.056
128.236
164.257
162.401
152.779
156.005
153.387
153.190
148.840
144.211
145.953
145.542
150.271
147.489
143.824
134.754
131.736
126.304
125.511
125.495
130.133
126.257
110.323
98.417
105.749
120.665
12 etc... | | Output produced by software: |
Frequency Table (Histogram) | Bins | Midpoint | Abs. Frequency | Rel. Frequency | Cumul. Rel. Freq. | Density | [80,90[ | 85 | 2 | 0.011236 | 0.011236 | 0.001124 | [90,100[ | 95 | 2 | 0.011236 | 0.022472 | 0.001124 | [100,110[ | 105 | 1 | 0.005618 | 0.02809 | 0.000562 | [110,120[ | 115 | 23 | 0.129213 | 0.157303 | 0.012921 | [120,130[ | 125 | 28 | 0.157303 | 0.314607 | 0.01573 | [130,140[ | 135 | 22 | 0.123596 | 0.438202 | 0.01236 | [140,150[ | 145 | 29 | 0.162921 | 0.601124 | 0.016292 | [150,160[ | 155 | 24 | 0.134831 | 0.735955 | 0.013483 | [160,170[ | 165 | 7 | 0.039326 | 0.775281 | 0.003933 | [170,180[ | 175 | 23 | 0.129213 | 0.904494 | 0.012921 | [180,190[ | 185 | 9 | 0.050562 | 0.955056 | 0.005056 | [190,200] | 195 | 8 | 0.044944 | 1 | 0.004494 |
| | Charts produced by software: | | http://www.freestatistics.org/blog/date/2011/Feb/21/t1298304951jlilwhen3aq4wz7/13kv71298304955.png (open in new window) | http://www.freestatistics.org/blog/date/2011/Feb/21/t1298304951jlilwhen3aq4wz7/13kv71298304955.ps (open in new window) |
| | Parameters (Session): | par2 = grey ; par3 = FALSE ; par4 = Unknown ; | | Parameters (R input): | 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
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
|