Home » date » 2009 » Nov » 19 »

WS7 link 1 zonder seizo

*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: Thu, 19 Nov 2009 11:09:06 -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/19/t1258654192vk0n9kj5bmcjq8i.htm/, Retrieved Thu, 19 Nov 2009 19:10:04 +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/19/t1258654192vk0n9kj5bmcjq8i.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 «
3.75 0 3.75 0 3.55 0 3.5 0 3.5 0 3.1 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3 0 3.21 0 3.25 0 3.25 0 3.45 0 3.5 0 3.5 0 3.64 0 3.75 0 3.93 0 4 0 4.17 0 4.25 0 4.39 0 4.5 0 4.5 0 4.65 0 4.75 0 4.75 0 4.9 0 5 0 5 0 5 0 5 0 5 0 5 0 5 1 5 1 5 1 5 1 5 1 5 1 5.18 1 5.25 1 5.25 1 4.49 1 3.92 1 3.25 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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Yt[t] = + 3.57483333333333 + 1.2035Xt[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)3.574833333333330.09219338.775700
Xt1.20350.2258255.32931e-061e-06


Multiple Linear Regression - Regression Statistics
Multiple R0.537244731974702
R-squared0.288631902034570
Adjusted R-squared0.278469500635063
F-TEST (value)28.4019387433954
F-TEST (DF numerator)1
F-TEST (DF denominator)70
p-value1.14070897239138e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.714121488263727
Sum Squared Residuals35.697865


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
13.753.574833333333340.175166666666661
23.753.574833333333340.175166666666664
33.553.57483333333333-0.0248333333333333
43.53.57483333333333-0.0748333333333331
53.53.57483333333333-0.0748333333333331
63.13.57483333333333-0.474833333333333
733.57483333333333-0.574833333333333
833.57483333333333-0.574833333333333
933.57483333333333-0.574833333333333
1033.57483333333333-0.574833333333333
1133.57483333333333-0.574833333333333
1233.57483333333333-0.574833333333333
1333.57483333333333-0.574833333333333
1433.57483333333333-0.574833333333333
1533.57483333333333-0.574833333333333
1633.57483333333333-0.574833333333333
1733.57483333333333-0.574833333333333
1833.57483333333333-0.574833333333333
1933.57483333333333-0.574833333333333
2033.57483333333333-0.574833333333333
2133.57483333333333-0.574833333333333
2233.57483333333333-0.574833333333333
2333.57483333333333-0.574833333333333
2433.57483333333333-0.574833333333333
2533.57483333333333-0.574833333333333
2633.57483333333333-0.574833333333333
2733.57483333333333-0.574833333333333
2833.57483333333333-0.574833333333333
2933.57483333333333-0.574833333333333
3033.57483333333333-0.574833333333333
3133.57483333333333-0.574833333333333
3233.57483333333333-0.574833333333333
3333.57483333333333-0.574833333333333
3433.57483333333333-0.574833333333333
3533.57483333333333-0.574833333333333
363.213.57483333333333-0.364833333333333
373.253.57483333333333-0.324833333333333
383.253.57483333333333-0.324833333333333
393.453.57483333333333-0.124833333333333
403.53.57483333333333-0.0748333333333331
413.53.57483333333333-0.0748333333333331
423.643.574833333333330.065166666666667
433.753.574833333333330.175166666666667
443.933.574833333333330.355166666666667
4543.574833333333330.425166666666667
464.173.574833333333330.595166666666667
474.253.574833333333330.675166666666667
484.393.574833333333330.815166666666667
494.53.574833333333330.925166666666667
504.53.574833333333330.925166666666667
514.653.574833333333331.07516666666667
524.753.574833333333331.17516666666667
534.753.574833333333331.17516666666667
544.93.574833333333331.32516666666667
5553.574833333333331.42516666666667
5653.574833333333331.42516666666667
5753.574833333333331.42516666666667
5853.574833333333331.42516666666667
5953.574833333333331.42516666666667
6053.574833333333331.42516666666667
6154.778333333333330.221666666666667
6254.778333333333330.221666666666667
6354.778333333333330.221666666666667
6454.778333333333330.221666666666667
6554.778333333333330.221666666666667
6654.778333333333330.221666666666667
675.184.778333333333330.401666666666666
685.254.778333333333330.471666666666667
695.254.778333333333330.471666666666667
704.494.77833333333333-0.288333333333333
713.924.77833333333333-0.858333333333333
723.254.77833333333333-1.52833333333333


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.01106762622275070.02213525244550150.98893237377725
60.02836500786849890.05673001573699780.971634992131501
70.03346821156442270.06693642312884540.966531788435577
80.02685959242727030.05371918485454060.97314040757273
90.01857861571944890.03715723143889790.981421384280551
100.01178153219009820.02356306438019650.988218467809902
110.007025965226124780.01405193045224960.992974034773875
120.003993926695033790.007987853390067590.996006073304966
130.002182841092348480.004365682184696960.997817158907652
140.001154224512365610.002308449024731220.998845775487634
150.0005934585346548260.001186917069309650.999406541465345
160.0002980018350570670.0005960036701141350.999701998164943
170.0001467303727295420.0002934607454590840.99985326962727
187.1116720411098e-050.0001422334408221960.999928883279589
193.40602837159122e-056.81205674318244e-050.999965939716284
201.61834320006511e-053.23668640013023e-050.999983816568
217.6604300193506e-061.53208600387012e-050.99999233956998
223.62869907738734e-067.25739815477468e-060.999996371300923
231.72867054987592e-063.45734109975184e-060.99999827132945
248.32797093879814e-071.66559418775963e-060.999999167202906
254.08283839911369e-078.16567679822738e-070.99999959171616
262.05178842445698e-074.10357684891396e-070.999999794821158
271.06596337023033e-072.13192674046067e-070.999999893403663
285.78336990043368e-081.15667398008674e-070.999999942166301
293.31701333634944e-086.63402667269888e-080.999999966829867
302.04144866682267e-084.08289733364534e-080.999999979585513
311.37359432831448e-082.74718865662896e-080.999999986264057
321.03467735929555e-082.06935471859109e-080.999999989653226
338.99790837188508e-091.79958167437702e-080.999999991002092
349.4110320691685e-091.8822064138337e-080.999999990588968
351.25200087193594e-082.50400174387188e-080.999999987479991
361.43239602964578e-082.86479205929157e-080.99999998567604
372.05246112263328e-084.10492224526657e-080.999999979475389
383.88698554926005e-087.77397109852011e-080.999999961130144
391.20975917317664e-072.41951834635328e-070.999999879024083
404.9412817950318e-079.8825635900636e-070.99999950587182
412.40325037085753e-064.80650074171506e-060.99999759674963
421.75482737991849e-053.50965475983698e-050.9999824517262
430.0001509986065978140.0003019972131956270.999849001393402
440.001385420189516480.002770840379032950.998614579810484
450.008495542618237360.01699108523647470.991504457381763
460.03815038101023420.07630076202046830.961849618989766
470.1093101109752550.2186202219505100.890689889024745
480.2285293832015770.4570587664031530.771470616798423
490.3685995220203990.7371990440407990.6314004779796
500.4900267781355320.9800535562710630.509973221864468
510.5940455389185830.8119089221628350.405954461081417
520.6710302147573850.657939570485230.328969785242615
530.7178226509040980.5643546981918040.282177349095902
540.7527844437618840.4944311124762320.247215556238116
550.7757456264790840.4485087470418320.224254373520916
560.7811844322529280.4376311354941440.218815567747072
570.7733618384886880.4532763230226240.226638161511312
580.7539531187006940.4920937625986120.246046881299306
590.7232319000782030.5535361998435950.276768099921797
600.6807754295616790.6384491408766430.319224570438321
610.5918797538292130.8162404923415750.408120246170787
620.4958889303977920.9917778607955830.504111069602208
630.3979764758694020.7959529517388050.602023524130598
640.3040428341857260.6080856683714510.695957165814274
650.2197168369715120.4394336739430230.780283163028488
660.1493052118325370.2986104236650750.850694788167462
670.1151007392606510.2302014785213020.88489926073935


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level330.523809523809524NOK
5% type I error level380.603174603174603NOK
10% type I error level420.666666666666667NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/10vsb31258654141.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/10vsb31258654141.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/1mshj1258654141.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/1mshj1258654141.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/23pb81258654141.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/23pb81258654141.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/3anmj1258654141.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/3anmj1258654141.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/4j41v1258654141.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/4j41v1258654141.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/5fd6o1258654141.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/5fd6o1258654141.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/6abz01258654141.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/6abz01258654141.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/79p4d1258654141.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/79p4d1258654141.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/8luzm1258654141.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/8luzm1258654141.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/9skxn1258654141.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258654192vk0n9kj5bmcjq8i/9skxn1258654141.ps (open in new window)


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