Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_fitdistrlnorm.wasp
Title produced by softwareMaximum-likelihood Fitting - Lognormal Distribution
Date of computationThu, 23 Oct 2008 08:53:17 -0600
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Oct/23/t1224773663ubp4h6ibf373utt.htm/, Retrieved Sun, 19 May 2024 14:46:11 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=18533, Retrieved Sun, 19 May 2024 14:46:11 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact178
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Univariate Explorative Data Analysis] [Investigating Dis...] [2007-10-21 18:26:46] [b9964c45117f7aac638ab9056d451faa]
- RMPD    [Maximum-likelihood Fitting - Lognormal Distribution] [QQ Log] [2008-10-23 14:53:17] [b23db733701c4d62df5e228d507c1c6a] [Current]
Feedback Forum

Post a new message
Dataseries X:
0.989130435
0.919087137
0.925417076
0.925612053
1.066666667
0.851108765
1.030693069
0.989031079
0.913000978
0.792723264
0.978170478
0.987513007
0.909433962
0.883608147
0.82745098
0.8252149
1.023255814
0.815418024
1.026192703
0.914742451
0.807276303
0.739130435
0.98973306
0.972164948
0.853889943
0.856864654
0.775739042
0.789473684
0.931350114
0.73971079
0.885245902
0.842435094
0.818458418
0.72755418
0.923238696
0.922680412
0.883762201
0.818270165
0.771047228
0.825852783
0.924485126
0.755165289
0.874671341
0.815956482
0.799807507
0.712598425
0.832980973
0.910323253
0.869149952
0.779182879
0.750254842
0.75856014
0.920889988
0.743991641
0.816254417
0.769593957
0.784007353
0.683284457
0.850505051
0.900695134
0.868398268




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 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 & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=18533&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]3 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=18533&T=0

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







ParameterEstimated ValueStandard Deviation
meanlog-0.1536350524617850.0131167912403319
sdlog0.1024454145337380.00927497203344702

\begin{tabular}{lllllllll}
\hline
Parameter & Estimated Value & Standard Deviation \tabularnewline
meanlog & -0.153635052461785 & 0.0131167912403319 \tabularnewline
sdlog & 0.102445414533738 & 0.00927497203344702 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=18533&T=1

[TABLE]
[ROW][C]Parameter[/C][C]Estimated Value[/C][C]Standard Deviation[/C][/ROW]
[ROW][C]meanlog[/C][C]-0.153635052461785[/C][C]0.0131167912403319[/C][/ROW]
[ROW][C]sdlog[/C][C]0.102445414533738[/C][C]0.00927497203344702[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=18533&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=18533&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
meanlog-0.1536350524617850.0131167912403319
sdlog0.1024454145337380.00927497203344702



Parameters (Session):
Parameters (R input):
par1 = 0.1 ; par2 = 1.5 ;
R code (references can be found in the software module):
library(MASS)
PPCC <- function(meanlog, sdlog, x)
{
x <- sort(x)
pp <- ppoints(x)
cor(qlnorm(pp, meanlog=meanlog, sdlog=sdlog), x)
}
par1 <- as.numeric(par1)
par2 <- as.numeric(par2)
if (par1 < 0.1) par1 <- 0.1
if (par1 > 50) par1 <- 50
if (par2 < 0.1) par2 <- 0.1
if (par2 > 50) par2 <- 50
par1h <- par1*10
par2h <- par2*10
sortx <- sort(x)
c <- array(NA,dim=c(par2h))
for (i in par1h:par2h)
{
c[i] <- cor(qlnorm(ppoints(x), meanlog=0,sdlog=i/10),sortx)
}
bitmap(file='test1.png')
plot((par1h:par2h)/10,c[par1h:par2h],xlab='sdlog',ylab='correlation',main='PPCC Plot - Lognormal')
dev.off()
(f<-fitdistr(x, 'lognormal'))
xlab <- paste('Lognormal(meanlog=',round(f$estimate[[1]],2))
xlab <- paste(xlab,', sdlog=')
xlab <- paste(xlab,round(f$estimate[[2]],2))
xlab <- paste(xlab,')')
bitmap(file='test2.png')
qqplot(qlnorm(ppoints(x), meanlog=f$estimate[[1]], sdlog=f$estimate[[2]]), x, main='QQ plot (Lognormal)', xlab=xlab )
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,'meanlog',header=TRUE)
a<-table.element(a,f$estimate[1])
a<-table.element(a,f$sd[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'sdlog',header=TRUE)
a<-table.element(a,f$estimate[2])
a<-table.element(a,f$sd[2])
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')