Home » date » 2009 » Nov » 17 »

*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: Tue, 17 Nov 2009 09:45:02 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki.htm/, Retrieved Tue, 17 Nov 2009 17:45:45 +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/2009/Nov/17/t1258476333nfg1dkggle8wbki.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
20604.6 2.05 18714.9 2.03 18492.6 2.04 18183.6 2.03 19435.1 2.01 22686.8 2.01 20396.7 2.01 19233.6 2.01 22751 2.01 19864 2.01 17165.4 2.02 22309.7 2.02 21786.3 2.03 21927.6 2.05 20957.9 2.08 19726 2.07 21315.7 2.06 24771.5 2.05 22592.4 2.05 21942.1 2.05 23973.7 2.05 20815.7 2.05 19931.4 2.06 24436.8 2.06 22838.7 2.07 24465.3 2.07 23007.3 2.3 22720.8 2.31 23045.7 2.31 27198.5 2.53 22401.9 2.58 25122.7 2.59 26100.5 2.73 22904.9 2.82 22040.4 3 25981.5 3.04 26157.1 3.23 25975.4 3.32 22589.8 3.49 25370.4 3.57 25091.1 3.56 28760.9 3.72 24325.9 3.82 25821.7 3.82 27645.7 3.98 26296.9 4.06 24141.5 4.08 27268.1 4.19 29060.3 4.16 28226.4 4.17 23268.5 4.21 26938.2 4.21 27217.5 4.17 27540.5 4.19 29167.6 4.25 26671.5 4.25 30184 4.2 28422.3 4.33 23774.3 4.41 29601 4.56 28523.6 5.18 23622 3.42 21320.3 2.71 20423.6 2.29 21174.9 2 23050.2 1.64 21202.9 1.3 20476.4 1.08 23173.3 1 22468 1 19842.7 1
 
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 time5 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 18648.2462474919 + 2290.85499448899X[t] -967.28049696427M1[t] -1339.97728182231M2[t] -3468.0278403669M3[t] -2713.36129902170M4[t] -1919.19190769488M5[t] + 857.42048399934M6[t] -1413.11099112007M7[t] -1469.49773297962M8[t] + 892.29470884319M9[t] -1398.31470754792M10[t] -3825.5407906057M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)18648.2462474919877.44611421.252900
X2290.85499448899175.51201813.052400
M1-967.28049696427917.960384-1.05370.2963780.148189
M2-1339.97728182231919.744321-1.45690.1505360.075268
M3-3468.0278403669920.193354-3.76880.0003860.000193
M4-2713.36129902170920.970554-2.94620.0046260.002313
M5-1919.19190769488921.915092-2.08170.0417890.020894
M6857.42048399934921.833810.93010.3561620.178081
M7-1413.11099112007922.192012-1.53230.1308760.065438
M8-1469.49773297962922.803455-1.59240.1167250.058362
M9892.29470884319922.3053540.96750.337330.168665
M10-1398.31470754792921.491162-1.51740.1345860.067293
M11-3825.5407906057920.759892-4.15480.0001085.4e-05


Multiple Linear Regression - Regression Statistics
Multiple R0.897820391166252
R-squared0.80608145479392
Adjusted R-squared0.765960376475422
F-TEST (value)20.0912210881992
F-TEST (DF numerator)12
F-TEST (DF denominator)58
p-value2.22044604925031e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1515.88087916464
Sum Squared Residuals133277900.709384


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
120604.622377.2184892301-1772.61848923014
218714.921958.7046044823-3243.80460448229
318492.619853.5625958826-1360.96259588259
418183.620585.3205872829-2401.72058728289
519435.121333.6728787199-1898.57287871993
622686.824110.2852704142-1423.48527041415
720396.721839.7537952947-1443.05379529475
819233.621783.3670534352-2549.76705343520
92275124145.159495258-1394.15949525801
101986421854.5500788669-1990.55007886689
1117165.419450.232545754-2284.83254575399
1222309.723275.7733363597-966.0733363597
1321786.322331.4013893403-545.101389340324
1421927.622004.5217043721-76.9217043720664
1520957.919945.19679566211012.70320433785
161972620676.9547870624-950.954787062448
1721315.721448.2156284444-132.515628444379
1824771.524201.9194701937569.580529806288
1922592.421931.3879950743661.012004925695
2021942.121875.001253214867.0987467852443
2123973.724236.7936950376-263.093695037566
2220815.721946.1842786465-1130.48427864645
2319931.419541.8667455336389.533254466442
2424436.823367.40753613931069.39246386074
2522838.722423.0355891199415.664410880116
2624465.322050.33880426182414.96119573816
2723007.320449.18489444972558.11510555027
2822720.821226.75998573981494.04001426019
2923045.722020.92937706661024.77062293337
3027198.525301.52986754841896.97013245157
3122401.923145.5411421535-743.641142153472
3225122.723112.06295023882010.63704976119
3326100.525794.5750912901305.924908709919
3422904.923710.142624403-805.242624402973
3522040.421695.2704403532345.129559646789
3625981.525612.4454307385369.054569261526
3726157.125080.42738272711076.67261727288
3825975.424913.90754737311061.49245262692
3922589.823175.3023378916-585.502337891627
4025370.424113.23727879591257.16272120406
4125091.124884.4981201779206.60187982213
4228760.928027.6473109903733.252689009671
4324325.925986.2013353198-1660.30133531982
4425821.725929.8145934603-108.11459346027
4527645.728658.1438344013-1012.44383440132
4626296.926550.8028175693-253.902817569323
4724141.524169.3938344013-27.893834401323
4827268.128246.9286744008-978.828674400817
4929060.327210.92252760191849.37747239812
5028226.426861.13429268871365.26570731127
5123268.524824.7179339237-1556.2179339237
5226938.225579.38447526891358.81552473111
5327217.526281.9196668162935.580333183847
5427540.529104.3491584002-1563.84915840016
5529167.626971.26898295012196.33101704991
5626671.526914.8822410905-243.382241090538
573018429162.13193318891021.86806681110
5828422.327169.33366608141252.96633391865
5923774.324925.3759825827-1151.07598258269
602960129094.5450223617506.454977638259
6128523.629547.5946219807-1023.99462198065
622362225142.993046822-1520.99304682198
6321320.321388.4354421902-68.1354421902131
6420423.621180.9428858500-757.342885850028
6521174.921310.7643287750-135.864328775039
6623050.223262.6689224532-212.468922453224
6721202.920213.2467492076989.653250792438
6820476.419652.8719085604823.52809143957
6923173.321831.39595082411341.90404917588
702246819540.7865344332927.21346556699
7119842.717113.56045137522729.13954862477


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.65550451260260.6889909747948010.344495487397400
170.5072544949266380.9854910101467230.492745505073362
180.3583749270546110.7167498541092230.641625072945389
190.2382834600573940.4765669201147880.761716539942606
200.1670665574989200.3341331149978390.83293344250108
210.1171684363775050.2343368727550090.882831563622495
220.1030334989728510.2060669979457010.89696650102715
230.07397116207738570.1479423241547710.926028837922614
240.04262341980376140.08524683960752280.957376580196239
250.02547754323720030.05095508647440070.9745224567628
260.1086064727226520.2172129454453040.891393527277348
270.644142983838930.711714032322140.35585701616107
280.6054261130470120.7891477739059760.394573886952988
290.6001695977648220.7996608044703560.399830402235178
300.7231255469888670.5537489060222650.276874453011133
310.8615792272391020.2768415455217970.138420772760898
320.8408294728245970.3183410543508060.159170527175403
330.8246219922741960.3507560154516080.175378007725804
340.8624124049464630.2751751901070750.137587595053537
350.8280942447220.3438115105560.171905755278
360.8029775302327620.3940449395344770.197022469767239
370.7420001829538360.5159996340923280.257999817046164
380.6911379251923480.6177241496153050.308862074807653
390.7208092215940120.5583815568119760.279190778405988
400.6618536293891120.6762927412217750.338146370610888
410.5886342955805080.8227314088389840.411365704419492
420.5801498714530070.8397002570939870.419850128546993
430.698835694017150.6023286119656990.301164305982850
440.6212188178737690.7575623642524610.378781182126231
450.6101170132026250.779765973594750.389882986797375
460.599401790993370.8011964180132590.400598209006630
470.5061249405545180.9877501188909650.493875059445482
480.4787011868623310.9574023737246620.521298813137669
490.521841908945560.956316182108880.47815809105444
500.634084995573560.7318300088528790.365915004426439
510.5945381979873150.810923604025370.405461802012685
520.6798213915520340.6403572168959320.320178608447966
530.6666036148612950.6667927702774090.333396385138704
540.5516628722350850.8966742555298310.448337127764915
550.6840907756840970.6318184486318060.315909224315903


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level20.05OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/103wbg1258476296.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/103wbg1258476296.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/1d3ke1258476296.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/1d3ke1258476296.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/2x3vf1258476296.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/2x3vf1258476296.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/3nhoo1258476296.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/3nhoo1258476296.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/4a0hs1258476296.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/4a0hs1258476296.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/5o9ju1258476296.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/5o9ju1258476296.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/6exmm1258476296.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/6exmm1258476296.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/7oxvl1258476296.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/7oxvl1258476296.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/8f9mw1258476296.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/8f9mw1258476296.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/9kz9t1258476296.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476333nfg1dkggle8wbki/9kz9t1258476296.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No 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