Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_fitdistrnorm.wasp
Title produced by softwareMaximum-likelihood Fitting - Normal Distribution
Date of computationTue, 19 Oct 2010 08:46:49 +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/2010/Oct/19/t12874779442a1jqblzzhg4r40.htm/, Retrieved Sun, 28 Apr 2024 22:11:23 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=85957, Retrieved Sun, 28 Apr 2024 22:11:23 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact107
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Maximum-likelihood Fitting - Normal Distribution] [Intrinsic Motivat...] [2010-10-12 11:57:21] [b98453cac15ba1066b407e146608df68]
-   PD    [Maximum-likelihood Fitting - Normal Distribution] [Workshop 3 - task...] [2010-10-19 08:46:49] [42b216fecf560ef45cc692f6de9f34dc] [Current]
Feedback Forum

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




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 1 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=85957&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]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=85957&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=85957&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 time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







ParameterEstimated ValueStandard Deviation
mean18.33540372670810.295660537928938
standard deviation3.751511661162340.209063571298814

\begin{tabular}{lllllllll}
\hline
Parameter & Estimated Value & Standard Deviation \tabularnewline
mean & 18.3354037267081 & 0.295660537928938 \tabularnewline
standard deviation & 3.75151166116234 & 0.209063571298814 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=85957&T=1

[TABLE]
[ROW][C]Parameter[/C][C]Estimated Value[/C][C]Standard Deviation[/C][/ROW]
[ROW][C]mean[/C][C]18.3354037267081[/C][C]0.295660537928938[/C][/ROW]
[ROW][C]standard deviation[/C][C]3.75151166116234[/C][C]0.209063571298814[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=85957&T=1

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

As an alternative you can also use a QR Code:  

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

ParameterEstimated ValueStandard Deviation
mean18.33540372670810.295660537928938
standard deviation3.751511661162340.209063571298814



Parameters (Session):
par1 = 8 ; par2 = 0 ;
Parameters (R input):
par1 = 8 ; par2 = 0 ;
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')