Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_fitdistrnorm.wasp
Title produced by softwareMaximum-likelihood Fitting - Normal Distribution
Date of computationSun, 04 Nov 2007 03:57:23 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2007/Nov/04/0911sj5o3q00knh1194173720.htm/, Retrieved Sun, 05 May 2024 12:37:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=258, Retrieved Sun, 05 May 2024 12:37:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsw4q5
Estimated Impact260
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Maximum-likelihood Fitting - Normal Distribution] [workshop4.q5] [2007-11-04 10:57:23] [129742d52914620af0bad7eb53591257] [Current]
Feedback Forum

Post a new message
Dataseries X:
48527,00
44446,00
46380,00
48950,00
38883,00
42928,00
37107,00
30186,00
32602,00
39892,00
32194,00
21629,00
59968,00
45694,00
55756,00
48554,00
41052,00
49822,00
39191,00
31994,00
35735,00
38930,00
33658,00
23849,00
58972,00
59249,00
63955,00
53785,00
52760,00
44795,00
37348,00
32370,00
32717,00
40974,00
33591,00
21124,00
58608,00
46865,00
51378,00
46235,00
47206,00
45382,00
41227,00
33795,00
31295,00
42625,00
33625,00
21538,00
56421,00
53152,00
53536,00
52408,00
41454,00
38271,00
35306,00
26414,00
31917,00
38030,00
27534,00
18387,00




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\begin{tabular}{lllllllll}
\hline
Summary of compuational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 2 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=258&T=0

[TABLE]
[ROW][C]Summary of compuational 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]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=258&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=258&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 compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







ParameterEstimated ValueStandard Deviation
mean41202.93333333331390.06723695628
standard deviation10767.4145176804982.92596955703

\begin{tabular}{lllllllll}
\hline
Parameter & Estimated Value & Standard Deviation \tabularnewline
mean & 41202.9333333333 & 1390.06723695628 \tabularnewline
standard deviation & 10767.4145176804 & 982.92596955703 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=258&T=1

[TABLE]
[ROW][C]Parameter[/C][C]Estimated Value[/C][C]Standard Deviation[/C][/ROW]
[ROW][C]mean[/C][C]41202.9333333333[/C][C]1390.06723695628[/C][/ROW]
[ROW][C]standard deviation[/C][C]10767.4145176804[/C][C]982.92596955703[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=258&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=258&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
mean41202.93333333331390.06723695628
standard deviation10767.4145176804982.92596955703



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')