Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_boxcoxnorm.wasp
Title produced by softwareBox-Cox Normality Plot
Date of computationMon, 27 Oct 2008 14:20:18 -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/27/t1225138908ldqivbti325pq87.htm/, Retrieved Fri, 17 May 2024 06:40:26 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=19571, Retrieved Fri, 17 May 2024 06:40:26 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact160
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Central Tendency] [Q6 Distributions] [2007-10-22 19:20:42] [b731da8b544846036771bbf9bf2f34ce]
F    D  [Central Tendency] [Q6] [2008-10-23 11:15:50] [28075c6928548bea087cb2be962cfe7e]
F RM D      [Box-Cox Normality Plot] [Investigation Dis...] [2008-10-27 20:20:18] [3bb0537fcae9c337e49b9ce75ff3d4da] [Current]
Feedback Forum
2008-10-31 16:04:17 [Bob Leysen] [reply
De dataserie is correct, maar is het niet beter om de lags op 36 in te stellen waardoor je op de lag plot duidelijk kan zien dat er geen afhankelijkheid is tussen de data.

Post a new message
2008-10-31 16:07:44 [Bob Leysen] [reply
Als we de lag plot op 36 instellen krijgen we ook een autocorrelatie grafiek te zien.
Daaruit kunnen we afleiden dat zoals verteld in het college er een seasonaliteit waar te nemen is(punten 12, 24 en 36). Er is dus een terugkerende tendens. Je kan dus een voorspelling maken maar wel rekeing houden dat de outlier van punt 36 lager ligt dan die van 12. Er is een dalende trend.

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

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







Box-Cox Normality Plot
# observations x61
maximum correlation0
optimal lambda-999

\begin{tabular}{lllllllll}
\hline
Box-Cox Normality Plot \tabularnewline
# observations x & 61 \tabularnewline
maximum correlation & 0 \tabularnewline
optimal lambda & -999 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=19571&T=1

[TABLE]
[ROW][C]Box-Cox Normality Plot[/C][/ROW]
[ROW][C]# observations x[/C][C]61[/C][/ROW]
[ROW][C]maximum correlation[/C][C]0[/C][/ROW]
[ROW][C]optimal lambda[/C][C]-999[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=19571&T=1

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

As an alternative you can also use a QR Code:  

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

Box-Cox Normality Plot
# observations x61
maximum correlation0
optimal lambda-999



Parameters (Session):
Parameters (R input):
R code (references can be found in the software module):
n <- length(x)
c <- array(NA,dim=c(401))
l <- array(NA,dim=c(401))
mx <- 0
mxli <- -999
for (i in 1:401)
{
l[i] <- (i-201)/100
if (l[i] != 0)
{
x1 <- (x^l[i] - 1) / l[i]
} else {
x1 <- log(x)
}
c[i] <- cor(qnorm(ppoints(x), mean=0, sd=1),x1)
if (mx < c[i])
{
mx <- c[i]
mxli <- l[i]
}
}
c
mx
mxli
if (mxli != 0)
{
x1 <- (x^mxli - 1) / mxli
} else {
x1 <- log(x)
}
bitmap(file='test1.png')
plot(l,c,main='Box-Cox Normality Plot',xlab='Lambda',ylab='correlation')
mtext(paste('Optimal Lambda =',mxli))
grid()
dev.off()
bitmap(file='test2.png')
hist(x,main='Histogram of Original Data',xlab='X',ylab='frequency')
grid()
dev.off()
bitmap(file='test3.png')
hist(x1,main='Histogram of Transformed Data',xlab='X',ylab='frequency')
grid()
dev.off()
bitmap(file='test4.png')
qqnorm(x)
qqline(x)
grid()
mtext('Original Data')
dev.off()
bitmap(file='test5.png')
qqnorm(x1)
qqline(x1)
grid()
mtext('Transformed Data')
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Box-Cox Normality Plot',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'# observations x',header=TRUE)
a<-table.element(a,n)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'maximum correlation',header=TRUE)
a<-table.element(a,mx)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'optimal lambda',header=TRUE)
a<-table.element(a,mxli)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')