Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Module--
Title produced by softwareMaximum-likelihood Fitting - Normal Distribution
Date of computationThu, 18 Dec 2014 19:43:29 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2014/Dec/18/t1418931818en3g3z72kenabvs.htm/, Retrieved Fri, 17 May 2024 18:50:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=271242, Retrieved Fri, 17 May 2024 18:50:12 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact100
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Percentiles] [Intrinsic Motivat...] [2010-10-12 12:10:58] [b98453cac15ba1066b407e146608df68]
- RMPD  [Kernel Density Estimation] [] [2011-10-18 22:42:23] [b98453cac15ba1066b407e146608df68]
- RMPD    [Maximum-likelihood Fitting - Normal Distribution] [] [2011-10-18 22:45:56] [b98453cac15ba1066b407e146608df68]
- RMPD      [Maximum-likelihood Fitting - Normal Distribution] [E2 Histogram] [2014-12-09 09:51:16] [1a6d42b46b3d01bc960fcfb45e99fecd]
-  M            [Maximum-likelihood Fitting - Normal Distribution] [] [2014-12-18 19:43:29] [4448df9721b6d3ffbdda9a6b78484597] [Current]
Feedback Forum

Post a new message
Dataseries X:
12
20
20
14
25
15
20
21
15
28
11
22
22
27
24
23
24
21
20
19
25
16
24
21
22
25
23
20
21
22
25
23
19
21
19
25
16
24
24
18
28
15
17
18
26
18
22
19
17
26
21
26
21
12
20
20
24
24
22
21
20
23
19
24
21
16
17
23
20
19
18
18
21
20
17
25
15
17
17
24
21
22
18
22
20
21
21
20
18
25
23
21
20
21
20
22
15
24
22
21
17
23
22
23
16
18
25
18
14
20
19
18
22
21
14
5
25
21
11
20
9
15
23
21
9
24
16
20
15
18
22
21
21
21
20
24
15
24
18
24
24
15
19
20
26
26
18
23
13
16
19
22
21
11
23
18
19
15
8
15
21
25
14
21
18
18
12
24
17
20
24
22
15
22
26
17
23
19
21
23
19
18
16
23
13
18
23
21
23
16
17
20
18
20
19
26
9
23
9
13
27
22
12
18
6
17
22
22
23
19
20
17
18
24
20
18
23
27
25
24
12
16
16
24
23
24
24
26
19
28
23
21
19
23
23
20
18
20
28
21
25
18
24
28
9
22
26
28
18
23
22
15
24
12
12
20
25
24
23
18
20
22
20
25
28
25
14
16
24
13
19
18
16
8
27
23
20
20
26
23
24
21
15
22
25




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
R Engine error message
Error in hist.default(x, col = par1, breaks = par2, main = main, ylab = ylab,  : 
  invalid number of 'breaks'
Calls: hist -> hist.default
Execution halted

\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
R Engine error message & 
Error in hist.default(x, col = par1, breaks = par2, main = main, ylab = ylab,  : 
  invalid number of 'breaks'
Calls: hist -> hist.default
Execution halted
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=271242&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]
[ROW][C]R Engine error message[/C][C]
Error in hist.default(x, col = par1, breaks = par2, main = main, ylab = ylab,  : 
  invalid number of 'breaks'
Calls: hist -> hist.default
Execution halted
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=271242&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=271242&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
R Engine error message
Error in hist.default(x, col = par1, breaks = par2, main = main, ylab = ylab,  : 
  invalid number of 'breaks'
Calls: hist -> hist.default
Execution halted



Parameters (Session):
par1 = 1 2 3 4 5 6 7 ;
Parameters (R input):
par1 = 1 2 3 4 5 6 7 ; par2 = ; par3 = ; par4 = ; par5 = ; par6 = ; par7 = ; par8 = ; par9 = ; par10 = ; par11 = ; par12 = ; par13 = ; par14 = ; par15 = ; par16 = ; par17 = ; par18 = ; par19 = ; par20 = ;
R code (references can be found in the software module):
library(MASS)
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()
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')