Home » date » 2009 » Dec » 15 »

*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, 15 Dec 2009 06:51:57 -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/Dec/15/t1260885225e25wkrwp784xoz0.htm/, Retrieved Tue, 15 Dec 2009 14:53:57 +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/Dec/15/t1260885225e25wkrwp784xoz0.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 «
2407.6 0 2472.81 2408.64 2440.25 2350.44 2454.62 0 2407.6 2472.81 2408.64 2440.25 2448.05 0 2454.62 2407.6 2472.81 2408.64 2497.84 0 2448.05 2454.62 2407.6 2472.81 2645.64 0 2497.84 2448.05 2454.62 2407.6 2756.76 0 2645.64 2497.84 2448.05 2454.62 2849.27 0 2756.76 2645.64 2497.84 2448.05 2921.44 0 2849.27 2756.76 2645.64 2497.84 2981.85 0 2921.44 2849.27 2756.76 2645.64 3080.58 0 2981.85 2921.44 2849.27 2756.76 3106.22 0 3080.58 2981.85 2921.44 2849.27 3119.31 0 3106.22 3080.58 2981.85 2921.44 3061.26 0 3119.31 3106.22 3080.58 2981.85 3097.31 0 3061.26 3119.31 3106.22 3080.58 3161.69 0 3097.31 3061.26 3119.31 3106.22 3257.16 0 3161.69 3097.31 3061.26 3119.31 3277.01 0 3257.16 3161.69 3097.31 3061.26 3295.32 0 3277.01 3257.16 3161.69 3097.31 3363.99 0 3295.32 3277.01 3257.16 3161.69 3494.17 0 3363.99 3295.32 3277.01 3257.16 3667.03 0 3494.17 3363.99 3295.32 3277.01 3813.06 0 3667.03 3494.17 3363.99 3295.32 3917.96 0 3813.06 3667.03 3494.17 3363.99 3895.51 0 3917.96 3813.06 3667.03 3494.1 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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 307.404120226389 -187.434876602855X[t] + 1.22439213648172Y1[t] -0.362941374014930Y2[t] + 0.240779335616266Y3[t] -0.196043217120352Y4[t] + 1.22772848146842t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)307.404120226389140.0856892.19440.0320890.016045
X-187.434876602855142.662392-1.31380.1939030.096952
Y11.224392136481720.1248579.806400
Y2-0.3629413740149300.199771-1.81680.0742450.037123
Y30.2407793356162660.1984631.21320.22980.1149
Y4-0.1960432171203520.125815-1.55820.1244490.062225
t1.227728481468422.2923390.53560.5942290.297115


Multiple Linear Regression - Regression Statistics
Multiple R0.983125559196972
R-squared0.96653586514636
Adjusted R-squared0.963189451660995
F-TEST (value)288.827387701372
F-TEST (DF numerator)6
F-TEST (DF denominator)60
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation162.672144492003
Sum Squared Residuals1587733.59561762


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
12407.62588.89981110313-181.299811103135
22454.622461.77730426569-7.1573042656855
32448.052565.89109406371-117.841094063706
42497.842513.72774908416-15.8877490841586
52645.642602.4079094174243.2320905825749
62756.762755.730072354691.02992764530988
72849.272852.64592701942-3.3759270194159
82921.442952.63832058993-31.1983205899308
92981.853006.43493533446-24.5849353344558
103080.583055.9248878695724.6551121304256
113106.223155.35265021726-49.1326502172637
123119.313152.53763190663-33.2276319066319
133061.263172.41600968406-111.156009684057
143097.313084.6351073958112.674892604185
153161.693149.1961725752712.4938274247332
163257.163199.6227841255657.537215874439
173277.013314.43746802066-37.4274680206603
183295.323313.75338308387-18.4333830838726
193363.993340.561286163223.4287138367982
203494.173405.2857899721688.884210027841
213667.033541.49891440251125.531085597492
223813.063720.0721251982492.9878748017614
233917.963855.2421576487862.7178423512174
243895.513948.00850234968-52.4985023496837
253801.063884.94905310159-83.889053101591
263570.123775.31053944906-205.190539449057
273701.613502.08653114664199.523468853364
283862.273729.78682454449132.483175455510
293970.13842.91293449369127.187065506314
304138.523994.7910013047143.728998695304
314199.754176.0007704933423.749229506659
324290.894185.53837577694105.351624223064
334443.914295.54701884882148.362981151181
344502.644432.7780753193769.8619246806269
354356.984460.31796738844-103.337967388437
364591.274280.86186550173310.408134498269
374696.964605.9609054755190.9990945244939
384621.44604.9755681764316.4244318235746
394562.844560.296798552982.54320144701819
404202.524496.7649763848-294.244976384805
414296.494039.16048289488257.329517105121
424435.234286.93236391852148.29763608148
434105.184348.64933708459-243.469337084593
444116.683988.67628085010128.003719149896
453844.494138.75686330534-294.266863305342
463720.983695.8752146932525.1047853067478
473674.43712.14030916115-37.7403091611464
483857.623633.37051667160224.249483328395
493801.063899.45952912689-98.3995291268932
503504.373777.93531611547-273.565316115469
513032.63489.67338866354-457.073388663538
523047.032971.4131977102775.616802289733
532962.342913.7502634136748.5897365863276
542197.822750.61857275322-552.79857275322
552014.451942.4732843708271.9767156291824
561862.831973.43966049114-110.609660491139
571905.411688.09989538494217.310104615059
581810.991902.21866574684-91.228665746842
591670.071771.82672685337-101.756726853371
601864.441674.75849668665189.681503313347
612052.021934.03511810839117.984881891614
622029.62078.96918526927-49.3691852692728
632070.832059.0921887334311.7378112665661
642293.412125.99921827067167.410781729325
652443.272342.61601626766100.653983732343
662513.172460.8702802293352.29971977067
672466.922538.80242742059-71.8824274205897


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.02294169894034460.04588339788068910.977058301059655
110.005880215898417290.01176043179683460.994119784101583
120.002226810384043630.004453620768087260.997773189615956
130.002385141397792290.004770282795584580.997614858602208
140.0006155470662452520.001231094132490500.999384452933755
150.0001567247068863890.0003134494137727790.999843275293114
163.61026939754374e-057.22053879508747e-050.999963897306025
175.2051270582645e-050.000104102541165290.999947948729417
183.42194139727023e-056.84388279454046e-050.999965780586027
199.40827885258713e-061.88165577051743e-050.999990591721147
203.77650278872600e-067.55300557745199e-060.999996223497211
211.93104398333936e-063.86208796667873e-060.999998068956017
225.58884512309171e-071.11776902461834e-060.999999441115488
231.46281497565550e-072.92562995131101e-070.999999853718502
245.41567581616034e-081.08313516323207e-070.999999945843242
252.21774668205670e-084.43549336411341e-080.999999977822533
261.34249980327344e-072.68499960654687e-070.99999986575002
272.21462406839869e-064.42924813679738e-060.999997785375932
287.7444289190244e-071.54888578380488e-060.999999225557108
291.01670082706493e-062.03340165412986e-060.999998983299173
303.27087787700312e-076.54175575400623e-070.999999672912212
311.46604035214357e-072.93208070428714e-070.999999853395965
325.26124952833673e-081.05224990566735e-070.999999947387505
337.26595483817889e-081.45319096763578e-070.999999927340452
342.63422708076914e-085.26845416153829e-080.99999997365773
353.74704165096123e-087.49408330192246e-080.999999962529583
361.43748485717807e-062.87496971435613e-060.999998562515143
379.84289870938838e-071.96857974187768e-060.999999015710129
384.32473702981861e-078.64947405963721e-070.999999567526297
392.70053625535055e-075.40107251070109e-070.999999729946375
402.91747480832156e-055.83494961664313e-050.999970825251917
415.51358457072108e-050.0001102716914144220.999944864154293
428.47601567813944e-050.0001695203135627890.999915239843219
430.002265123311055960.004530246622111920.997734876688944
440.008451574623357660.01690314924671530.991548425376642
450.02181630417836750.0436326083567350.978183695821633
460.01924245849062550.03848491698125110.980757541509374
470.01305123351397350.0261024670279470.986948766486026
480.05532699800955960.1106539960191190.94467300199044
490.07802476464366850.1560495292873370.921975235356332
500.1158518458946830.2317036917893650.884148154105317
510.144475643615920.288951287231840.85552435638408
520.1116709497172460.2233418994344920.888329050282754
530.797164401549360.4056711969012810.202835598450641
540.7697620590757810.4604758818484370.230237940924219
550.9687301302181350.06253973956373040.0312698697818652
560.9208274660059560.1583450679880880.079172533994044
570.8792769865076030.2414460269847940.120723013492397


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level320.666666666666667NOK
5% type I error level380.791666666666667NOK
10% type I error level390.8125NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/10hyhm1260885113.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/10hyhm1260885113.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/1zs091260885113.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/1zs091260885113.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/2copi1260885113.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/2copi1260885113.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/32ac11260885113.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/32ac11260885113.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/42sqq1260885113.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/42sqq1260885113.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/57r671260885113.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/57r671260885113.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/6sl4z1260885113.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/6sl4z1260885113.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/7b3wl1260885113.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/7b3wl1260885113.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/823qn1260885113.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/823qn1260885113.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/9qhm91260885113.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t1260885225e25wkrwp784xoz0/9qhm91260885113.ps (open in new window)


 
Parameters (Session):
 
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal 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