Home » date » 2008 » Dec » 20 »

metallurgie

*The author of this computation has been verified*
R Software Module: rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Sat, 20 Dec 2008 02:26:47 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40.htm/, Retrieved Sat, 20 Dec 2008 10:29:46 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40.htm/},
    year = {2008},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
99.9 11554.5 98.6 13182.1 107.2 14800.1 95.7 12150.7 93.7 14478.2 106.7 13253.9 86.7 12036.8 95.3 12653.2 99.3 14035.4 101.8 14571.4 96 15400.9 91.7 14283.2 95.3 14485.3 96.6 14196.3 107.2 15559.1 108 13767.4 98.4 14634 103.1 14381.1 81.1 12509.9 96.6 12122.3 103.7 13122.3 106.6 13908.7 97.6 13456.5 87.6 12441.6 99.4 12953 98.5 13057.2 105.2 14350.1 104.6 13830.2 97.5 13755.5 108.9 13574.4 86.8 12802.6 88.9 11737.3 110.3 13850.2 114.8 15081.8 94.6 13653.3 92 14019.1 93.8 13962 93.8 13768.7 107.6 14747.1 101 13858.1 95.4 13188 96.5 13693.1 89.2 12970 87.1 11392.8 110.5 13985.2 110.8 14994.7 104.2 13584.7 88.9 14257.8 89.8 13553.4 90 14007.3 93.9 16535.8 91.3 14721.4 87.8 13664.6 99.7 16405.9 73.5 13829.4 79.2 13735.6 96.9 15870.5 95.2 15962.4 95.6 15744.1 89.7 16083.7 92.8 14863.9 88 15533.1 101.1 17473.1 92.7 15925.5 95.8 15573.7 103.8 17495 81.8 14155.8 87.1 14913.9 105.9 17250.4 108.1 15879.8 102.6 17647.8 93.7 17749.9
 
Output produced by software:

Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Multiple Linear Regression - Estimated Regression Equation
metallurgie[t] = + 92.9526439898678 + 8.54442296827058e-05Invoer[t] + 3.72544946376561M1[t] + 2.86113152163797M2[t] + 12.2588395462256M3[t] + 7.65949447462836M4[t] + 3.61414372741981M5[t] + 12.0003036185750M6[t] -7.69738175649247M7[t] -1.73633284616141M8[t] + 13.5851964905219M9[t] + 15.4221288822887M10[t] + 7.73791217261122M11[t] -0.0861362210965826t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)92.95264398986789.18910110.115500
Invoer8.54442296827058e-050.0006810.12550.9005250.450263
M13.725449463765612.8821941.29260.2012840.100642
M22.861131521637972.8442891.00590.3186320.159316
M312.25883954622562.9315594.18179.9e-055e-05
M47.659494474628362.839172.69780.0091250.004563
M53.614143727419812.829181.27750.2065320.103266
M612.00030361857502.8248184.24827.9e-054e-05
M7-7.697381756492473.008944-2.55820.0131570.006578
M8-1.736332846161413.094438-0.56110.5768810.288441
M913.58519649052192.8162054.82391.1e-055e-06
M1015.42212888228872.8251885.45881e-061e-06
M117.737912172611222.8169392.74690.0080010.004
t-0.08613622109658260.039747-2.16710.0343460.017173


Multiple Linear Regression - Regression Statistics
Multiple R0.844922695509908
R-squared0.713894361387728
Adjusted R-squared0.649767235491874
F-TEST (value)11.1324864698775
F-TEST (DF numerator)13
F-TEST (DF denominator)58
p-value2.00326422117314e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.87563260938023
Sum Squared Residuals1378.76401381581


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
199.997.57922258440552.32077741559453
298.696.7678374494131.83216255058700
3107.2106.2176580165310.982341983469345
495.7101.305800781715-5.60580078171548
593.797.3731852579969-3.67318525799684
6106.7105.5685995576551.13140044234510
786.785.6807837895441.01921621045597
895.391.6083643019553.69163569804506
999.3106.961858431809-7.66185843180914
10101.8108.758452709589-6.95845270958922
1196101.058975767337-5.058975767337
1291.793.1394263581128-1.43942635811282
1395.396.7960078796007-1.49600787960073
1496.695.82086033399820.779139666001797
15107.2105.2488755337011.95112446629916
16108100.4103038146857.58969618531548
1798.496.35286281582242.04713718417759
18103.1104.631277640194-1.53127764019425
1981.184.687572801448-3.58757280144793
2096.690.52936730725746.0706326927426
21103.7105.850204652527-2.15020465252687
22106.6107.668194165420-1.06819416541951
2397.699.859203353983-2.25920335398295
2487.691.9484376115702-4.34843761157017
2599.495.6314470332993.76855296670108
2698.594.68989615880763.81010384119236
27105.2104.1119388068551.08806119314454
28104.699.38203505914965.2179649408504
2997.595.24416540688722.25583459311283
30108.9103.5287151269505.37128487304979
3186.883.6789476743173.12105232568293
3288.989.4628366256706-0.562836625670561
33110.3104.8787648541545.42123514584608
34114.8106.7347941381018.0652058618987
3594.698.8423841252255-4.24238412522552
369291.04959123073560.950408769264363
3793.894.6840256078898-0.884025607889789
3893.893.71705507506790.0829449249321074
39107.6103.1122255128804.48777448711949
4010198.35078429999882.64921570000124
4195.494.16204115338321.23795884661676
4296.5102.505222703855-6.00522270385456
4389.282.6596163852076.54038361479304
4487.188.3997664353859-1.29976643538589
45110.5103.8566651720026.6433348279979
46110.8105.6937172925375.10628270746305
47104.297.80288799791036.39711200208971
4888.990.0363521152019-1.13635211520190
4989.893.6154784424824-3.81547844248245
509092.7038074151112-2.70380741511119
5193.9102.231424953355-8.33142495335496
5291.397.3909136503248-6.09091365032485
5387.893.169129220091-5.36912922009104
5499.7101.703381156979-2.00338115697881
5573.581.6994125030373-8.19941250303729
5679.287.5663105235275-8.36631052352753
5796.9102.984118525064-6.0841185250639
5895.2104.742767020442-9.5427670204419
5995.696.9537616143281-1.35376161432814
6089.789.15873008102060.541269918979431
6192.892.69381845232260.106181547677361
628891.800543567602-3.80054356760207
63101.1101.277877176678-0.177877176677580
6492.796.4601623941268-3.76016239412679
6595.892.29861614581933.50138385418070
66103.8100.7628038143673.03719618563274
6781.880.69366684644671.10633315355327
6887.186.63335480620370.466645193796322
69105.9102.0683883644443.83161163555592
70108.1103.7020746739114.39792532608888
71102.696.08278714121616.51721285878389
7293.788.26746260335895.4325373966411


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.6277570015401490.7444859969197020.372242998459851
180.5490418184044550.901916363191090.450958181595545
190.5482788997524220.9034422004951570.451721100247578
200.4247989159031030.8495978318062050.575201084096897
210.3314859327275320.6629718654550630.668514067272468
220.2512304048466460.5024608096932930.748769595153354
230.1951001473149480.3902002946298950.804899852685052
240.2083251062481940.4166502124963880.791674893751806
250.1416282416963470.2832564833926950.858371758303653
260.09420612756745770.1884122551349150.905793872432542
270.06784264839414490.1356852967882900.932157351605855
280.04737326050375920.09474652100751840.95262673949624
290.0277043611641010.0554087223282020.972295638835899
300.02156642817245670.04313285634491340.978433571827543
310.01252181924690040.02504363849380070.9874781807531
320.023116452896640.046232905793280.97688354710336
330.03262902573327590.06525805146655180.967370974266724
340.05747442817573580.1149488563514720.942525571824264
350.0567295251407510.1134590502815020.94327047485925
360.03592399516110470.07184799032220930.964076004838895
370.03888992623947740.07777985247895470.961110073760523
380.03472090421479040.06944180842958070.96527909578521
390.03376092908251760.06752185816503510.966239070917482
400.03486585249105550.0697317049821110.965134147508945
410.02380182586217950.04760365172435910.97619817413782
420.04640417305040050.0928083461008010.9535958269496
430.1241527955436280.2483055910872560.875847204456372
440.1122248173713360.2244496347426720.887775182628664
450.1970213326602110.3940426653204220.802978667339789
460.8807630699165560.2384738601668870.119236930083444
470.9529917315129180.09401653697416410.0470082684870821
480.9359710930466070.1280578139067860.0640289069533928
490.9258928054382530.1482143891234930.0741071945617467
500.980279451961440.03944109607711930.0197205480385596
510.97283135263130.05433729473739990.0271686473687000
520.9906514387006220.01869712259875640.0093485612993782
530.9834750175890420.03304996482191530.0165249824109577
540.9838214685016240.03235706299675280.0161785314983764
550.9732587731609980.05348245367800360.0267412268390018


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level80.205128205128205NOK
10% type I error level200.512820512820513NOK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/10fr711229765196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/10fr711229765196.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/18qcc1229765196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/18qcc1229765196.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/2b0vi1229765196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/2b0vi1229765196.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/3se0s1229765196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/3se0s1229765196.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/4brdo1229765196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/4brdo1229765196.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/54lzn1229765196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/54lzn1229765196.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/6w4vq1229765196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/6w4vq1229765196.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/7h7aq1229765196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/7h7aq1229765196.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/8tnn71229765196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/8tnn71229765196.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/9fycm1229765196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t12297653866nb4id422fg0k40/9fycm1229765196.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
 
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT<br />H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation<br />Forecast', 1, TRUE)
a<-table.element(a, 'Residuals<br />Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by