Home » date » 2009 » Nov » 22 »

*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: Sun, 22 Nov 2009 08:45:38 -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/22/t1258904900xwwkecv7lyl091e.htm/, Retrieved Sun, 22 Nov 2009 16:48:32 +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/22/t1258904900xwwkecv7lyl091e.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 «
264768 236089 268586 268361 272433 274412 269974 236997 264768 268586 268361 272433 304744 264579 269974 264768 268586 268361 309365 270349 304744 269974 264768 268586 308347 269645 309365 304744 269974 264768 298427 267037 308347 309365 304744 269974 289231 258113 298427 308347 309365 304744 291975 262813 289231 298427 308347 309365 294912 267413 291975 289231 298427 308347 293488 267366 294912 291975 289231 298427 290555 264777 293488 294912 291975 289231 284736 258863 290555 293488 294912 291975 281818 254844 284736 290555 293488 294912 287854 254868 281818 284736 290555 293488 316263 277267 287854 281818 284736 290555 325412 285351 316263 287854 281818 284736 326011 286602 325412 316263 287854 281818 328282 283042 326011 325412 316263 287854 317480 276687 328282 326011 325412 316263 317539 277915 317480 328282 326011 325412 313737 277128 317539 317480 328282 326011 312276 277103 313737 317539 317480 328282 309391 275037 312276 313737 317539 317480 302950 270150 309391 312276 313737 etc...
 
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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
x[t] = + 29406.7468837864 + 1.28058662621852y[t] + 0.0213665756704032y1[t] -0.109951546684521y2[t] + 0.189129502860375y3[t] -0.583466893077811y4[t] + 645.041944741420M1[t] -7862.50086321254M2[t] -27771.3308989242M3[t] -36054.2742253516M4[t] -28597.9078937059M5[t] -24167.9784519473M6[t] -1856.21403375339M7[t] + 3394.51888208249M8[t] + 1692.51508426616M9[t] + 874.021498903283M10[t] -2481.97169085193M11[t] + 347.710441098343t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)29406.746883786415680.0618151.87540.065860.03293
y1.280586626218520.2401765.33192e-061e-06
y10.02136657567040320.3549190.06020.9522060.476103
y2-0.1099515466845210.357412-0.30760.7594830.379742
y30.1891295028603750.3605950.52450.601970.300985
y4-0.5834668930778110.236417-2.4680.0166140.008307
M1645.0419447414203894.7911030.16560.8690450.434522
M2-7862.500863212544442.824227-1.76970.0821250.041062
M3-27771.33089892429119.007139-3.04540.0035150.001757
M4-36054.27422535169351.733966-3.85540.0002960.000148
M5-28597.90789370598984.909714-3.18290.0023620.001181
M6-24167.97845194738377.212555-2.8850.0055170.002759
M7-1856.214033753394557.770143-0.40730.685340.34267
M83394.518882082494770.9913060.71150.4796820.239841
M91692.515084266165147.3007680.32880.74350.37175
M10874.0214989032834915.031570.17780.859490.429745
M11-2481.971690851933988.729095-0.62220.5362610.268131
t347.71044109834349.2495587.060200


Multiple Linear Regression - Regression Statistics
Multiple R0.93604685848075
R-squared0.87618372127168
Adjusted R-squared0.839256059194813
F-TEST (value)23.727029332316
F-TEST (DF numerator)17
F-TEST (DF denominator)57
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6717.02322907089
Sum Squared Residuals2571748860.41304


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1236089237104.715982948-1015.71598294806
2236997235889.8465540261107.15344597378
3264579263804.184677969774.81532203129
4270349261103.6741835529245.32581644765
5269645267092.118228422552.88177157981
6267037262175.005677024861.9943229800
7258113253545.0037258844567.99627411648
8262813260662.8747515822150.12524841765
9267413262857.2132517974555.78674820312
10267366264372.6780114672993.32198853329
11264777263139.6138963361637.38610366372
12258863257565.9054816541297.09451834614
13254844253037.0991977451806.90080225508
14254868253460.4881129491407.51188705142
15277267271340.1250668025926.87493319829
16285351277907.6286986527443.37130134816
17286602286394.788244815207.211755185062
18283042294938.666114167-11896.6661141668
19276687288902.541610152-12215.5416101521
20277915288871.187832565-10956.1878325655
21277128283917.077790258-6789.07779025772
22277103278119.604519057-1016.60451905721
23275037278117.416586895-3080.41658689528
24270150272044.341981702-1894.34198170234
25267140271785.640216177-4645.64021617714
26264993269347.034379142-4354.03437914184
27287259288321.859174519-1062.85917451887
28291186289273.3497250571912.65027494299
29292300293909.261129945-1609.26112994523
30288186286214.8804271741971.11957282623
31281477279621.7767965731855.22320342702
32282656284243.164855065-1587.16485506543
33280190281138.905434533-948.905434532673
34280408281138.627643475-730.627643474796
35276836275555.0427731911280.95722680916
36275216272978.0624194372237.93758056337
37274352273964.963617819387.036382180673
38271311271144.391651899166.608348101282
39289802290900.283755638-1098.28375563846
40290726292235.263361159-1509.26336115896
41292300288434.4201375803865.57986241972
42278506272229.9902899546276.0097100456
43269826262998.2036985626827.79630143823
44265861260066.7294028355794.27059716494
45269034261091.5271777357942.47282226516
46264176260623.9758290833552.02417091696
47255198253802.0602985581395.93970144219
48253353254857.115830237-1504.11583023651
49246057245581.577112526475.422887474289
50235372237977.495322387-2605.49532238681
51258556266181.240391493-7625.24039149274
52260993268692.026892898-7699.02689289788
53254663255799.007461843-1136.0074618429
54250643253268.633871999-2625.63387199911
55243422246447.3467803-3025.34678029991
56247105246824.252521854280.747478146419
57248541255847.293933219-7306.29393321932
58245039252093.269465372-7054.26946537164
59237080245860.579538571-8780.5795385706
60237085245939.31423192-8854.31423191995
61225554233844.095506987-8290.09550698674
62226839236729.621921312-9890.62192131193
63247934260005.599671992-12071.5996719923
64248333257726.057138682-9393.05713868196
65246969250849.404797396-3880.40479739647
66245098243684.8236196861413.17638031405
67246263244273.127388531989.87261147028
68255765251446.7906360984318.20936390187
69264319261772.9824124592546.01758754143
70268347266090.8445315472256.15546845338
71273046265499.2869064497546.71309355081
72273963265245.2600550518717.7399449493
73267430256147.90836579811282.0916342019
74271993257824.12205828614168.8779417141
75292710277553.70726158715156.2927384128


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.3499233341804280.6998466683608560.650076665819572
220.2360681888160440.4721363776320880.763931811183956
230.1460660080691330.2921320161382670.853933991930867
240.08884114858172690.1776822971634540.911158851418273
250.04683938972601210.09367877945202420.953160610273988
260.0403492271051830.0806984542103660.959650772894817
270.0769318146532970.1538636293065940.923068185346703
280.622299917908060.755400164183880.37770008209194
290.6146165218298310.7707669563403380.385383478170169
300.5573657017384160.8852685965231670.442634298261584
310.4814152396644170.9628304793288340.518584760335583
320.4281732571762850.856346514352570.571826742823715
330.4680558633115850.936111726623170.531944136688415
340.4227588853861860.845517770772370.577241114613815
350.3428995669264690.6857991338529380.657100433073531
360.2828854794094000.5657709588188010.7171145205906
370.2801607072681890.5603214145363780.719839292731811
380.2309355101490740.4618710202981470.769064489850926
390.1816318788966990.3632637577933980.818368121103301
400.2888221248947680.5776442497895360.711177875105232
410.5077008672805050.984598265438990.492299132719495
420.8834009197925760.2331981604148480.116599080207424
430.9199669087466120.1600661825067750.0800330912533877
440.9414974161430070.1170051677139860.0585025838569928
450.9234656947030160.1530686105939680.0765343052969842
460.9035910448917520.1928179102164970.0964089551082483
470.8967357159356050.206528568128790.103264284064395
480.8602567119776250.2794865760447490.139743288022375
490.8376175350986840.3247649298026310.162382464901316
500.9975391016434850.004921796713030870.00246089835651544
510.9973224155555440.0053551688889120.002677584444456
520.9938803747680.01223925046399970.00611962523199985
530.9795132717794690.04097345644106230.0204867282205311
540.9420430559153250.1159138881693500.0579569440846752


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level20.0588235294117647NOK
5% type I error level40.117647058823529NOK
10% type I error level60.176470588235294NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/10j73g1258904733.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/10j73g1258904733.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/1dson1258904733.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/1dson1258904733.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/2d3sm1258904733.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/2d3sm1258904733.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/3ymb91258904733.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/3ymb91258904733.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/4wc8n1258904733.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/4wc8n1258904733.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/59q9s1258904733.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/59q9s1258904733.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/68hnx1258904733.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/68hnx1258904733.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/70k6n1258904733.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/70k6n1258904733.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/8edko1258904733.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/8edko1258904733.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/9oju81258904733.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t1258904900xwwkecv7lyl091e/9oju81258904733.ps (open in new window)


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