Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_fitdistrnorm.wasp
Title produced by softwareML Fitting and QQ Plot- Normal Distribution
Date of computationSat, 04 Jun 2016 12:08:47 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2016/Jun/04/t1465038563wi59m7z9r1tf6hk.htm/, Retrieved Fri, 03 May 2024 22:26:35 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=295763, Retrieved Fri, 03 May 2024 22:26:35 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact168
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [ML Fitting and QQ Plot- Normal Distribution] [] [2016-06-04 11:08:47] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
0.011721718	0.054262097
0.058835303	0.054687182
0.113001755	0.064198458
0.178960774	0.064793577
0.211911944	0.083135994
0.294289869	0.128992035
0.339005266	0.156463151
0.38377734	0.147844554
0.421397361	0.193296764
0.484958191	0.220937915
0.513155494	0.266305108
0.548377327	0.33880335
0.607085104	0.456626278
0.658697504	0.592430299
0.6891513	0.700975747
0.721889928	0.854654592
0.754642725	0.999311008
0.775588787	1.16190601
0.803488531	1.396744203
0.829160121	1.550359285
0.852405184	1.749065256
0.873280398	1.956772401
0.908133824	2.263853785
0.91961466	2.453431056
0.940546553	2.625048486
0.971156213	2.63434722
1.006618927	2.553464177
1.016225848	2.436257623
1.03773869	2.237955483
1.045032439	2.093660389
1.050027188	1.913254327
1.064444653	1.732933281
1.083573477	1.552654744
1.10037496	1.354310096
1.110024389	1.210036256
1.13157974	0.984666831
1.157874788	0.741295057
1.179245935	0.633217202
1.231212573	0.54346051
1.2785387	0.408549167
1.316399601	0.300620093
1.368408748	0.183796115
1.53106397	0.11308323
1.446245348	0.121340505
1.488675913	0.103678225
1.630059175	0.077886194
1.592382477	0.068523698
1.698388042	0.069480139
1.778509475	0.052157926




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R Server'Sir Ronald Aylmer Fisher' @ fisher.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 0 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ fisher.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=295763&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]0 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ fisher.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=295763&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=295763&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R Server'Sir Ronald Aylmer Fisher' @ fisher.wessa.net



Parameters (Session):
par1 = 8 ; par2 = 20 ;
Parameters (R input):
par1 = 8 ; par2 = 20 ;
R code (references can be found in the software module):
library(MASS)
library(car)
par1 <- as.numeric(par1)
if (par2 == '0') par2 = 'Sturges' else par2 <- as.numeric(par2)
x <- as.ts(x) #otherwise the fitdistr function does not work properly
r <- fitdistr(x,'normal')
r
bitmap(file='test1.png')
myhist<-hist(x,col=par1,breaks=par2,main=main,ylab=ylab,xlab=xlab,freq=F)
curve(1/(r$estimate[2]*sqrt(2*pi))*exp(-1/2*((x-r$estimate[1])/r$estimate[2])^2),min(x),max(x),add=T)
dev.off()
bitmap(file='test3.png')
qqPlot(x,dist='norm',main='QQ plot (Normal) with confidence intervals')
grid()
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Parameter',1,TRUE)
a<-table.element(a,'Estimated Value',1,TRUE)
a<-table.element(a,'Standard Deviation',1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'mean',header=TRUE)
a<-table.element(a,r$estimate[1])
a<-table.element(a,r$sd[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'standard deviation',header=TRUE)
a<-table.element(a,r$estimate[2])
a<-table.element(a,r$sd[2])
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')