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:45:59 +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/t14189319663o0hnoydfc0m27i.htm/, Retrieved Fri, 17 May 2024 08:34:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=271248, Retrieved Fri, 17 May 2024 08:34:12 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact76
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] [E3 Histogram] [2014-12-09 09:52:00] [1a6d42b46b3d01bc960fcfb45e99fecd]
-  M            [Maximum-likelihood Fitting - Normal Distribution] [] [2014-12-18 19:45:59] [4448df9721b6d3ffbdda9a6b78484597] [Current]
Feedback Forum

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




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R Server'Sir Maurice George Kendall' @ kendall.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 Maurice George Kendall' @ kendall.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=271248&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 Maurice George Kendall' @ kendall.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=271248&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=271248&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 Maurice George Kendall' @ kendall.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')