Home » date » 2010 » Dec » 27 »

Model 3

*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: Mon, 27 Dec 2010 20:35:26 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7.htm/, Retrieved Mon, 27 Dec 2010 21:33:19 +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/2010/Dec/27/t1293481988e1c9aed1rdlhne7.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
4.24 3.353 4.15 3.186 3.93 3.902 3.7 4.164 3.7 3.499 3.65 4.145 3.55 3.796 3.43 3.711 3.47 3.949 3.58 3.74 3.67 3.243 3.72 4.407 3.8 4.814 3.76 3.908 3.63 5.25 3.48 3.937 3.41 4.004 3.43 5.56 3.5 3.922 3.62 3.759 3.58 4.138 3.52 4.634 3.45 3.996 3.36 4.308 3.27 4.143 3.21 4.429 3.19 5.219 3.16 4.929 3.12 5.761 3.06 5.592 3.01 4.163 2.98 4.962 2.97 5.208 3.02 4.755 3.07 4.491 3.18 5.732 3.29 5.731 3.43 5.04 3.61 6.102 3.74 4.904 3.87 5.369 3.88 5.578 4.09 4.619 4.19 4.731 4.2 5.011 4.29 5.299 4.37 4.146 4.47 4.625 4.61 4.736 4.65 4.219 4.69 5.116 4.82 4.205 4.86 4.121 4.87 5.103 5.01 4.3 5.03 4.578 5.13 3.809 5.18 5.657 5.21 4.248 5.26 3.83 5.25 4.736 5.2 4.839 5.16 4.411 5.19 4.57 5.39 4.104 5.58 4.801 5.76 3.953 5.89 3.828 5.98 4.44 6.02 4.026 5.62 4.109 4.87 4.785
 
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 time9 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
Lening[t] = + 5.81626032635842 -0.720281686285502Huis[t] + 0.344800910424701M1[t] + 0.0683670175317298M2[t] + 0.523080867088162M3[t] + 0.06870129434296M4[t] + 0.090616555068113M5[t] + 0.542015569238084M6[t] -0.145692405505592M7[t] -0.0503724973217004M8[t] + 0.0603553919736134M9[t] + 0.254510041466049M10[t] -0.287003756254083M11[t] + 0.0393050678176038t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)5.816260326358420.41409414.045700
Huis-0.7202816862855020.086582-8.319100
M10.3448009104247010.2337151.47530.1455390.07277
M20.06836701753172980.2344530.29160.7716310.385816
M30.5230808670881620.2366292.21050.0310250.015513
M40.068701294342960.2331250.29470.7692780.384639
M50.0906165550681130.232910.38910.6986540.349327
M60.5420155692380840.237812.27920.0263520.013176
M7-0.1456924055055920.235709-0.61810.5389280.269464
M8-0.05037249732170040.234059-0.21520.8303560.415178
M90.06035539197361340.2327790.25930.7963360.398168
M100.2545100414660490.2324231.0950.2780310.139015
M11-0.2870037562540830.237392-1.2090.2315740.115787
t0.03930506781760380.00243616.137100


Multiple Linear Regression - Regression Statistics
Multiple R0.908800495395926
R-squared0.82591834043188
Adjusted R-squared0.786900037425232
F-TEST (value)21.167459289328
F-TEST (DF numerator)13
F-TEST (DF denominator)58
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.402271431608897
Sum Squared Residuals9.38569367194293


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
14.243.785261810485410.454738189514593
24.153.668420027019750.481579972980247
33.933.646717257013370.283282742986631
43.73.042928950278970.657071049721031
53.73.583136600201580.116863399798416
63.653.608538712848730.0414612871512739
73.553.211514114436290.338485885563707
83.433.407363033772060.0226369662279445
93.473.385968949549020.0840310504509767
103.583.76996753929273-0.189967539292733
113.673.62573880747410.0442611925259010
123.723.113639748709460.606360251290538
133.83.204591080633570.595408919366432
143.763.620037463332860.139962536667135
153.633.147438357711760.482561642288243
163.483.67809370687702-0.198093706877023
173.413.69105516243865-0.281055162438651
183.433.061000940565990.368999059434015
193.53.59241943577556-0.0924194357755647
203.623.8444503266416-0.224450326641597
213.583.72149652465231-0.141496524652309
223.523.59769652556474-0.0776965255647397
233.453.55502751151236-0.105027511512361
243.363.65660844946297-0.296608449462972
253.274.15956090594238-0.889560905942384
263.213.71643151858936-0.506431518589363
273.193.64142790379785-0.451427903797852
283.163.43523508789305-0.27523508789305
293.122.897181053446270.222818946553732
303.063.50961274041609-0.449612740416095
313.013.89049236319200-0.880492363192005
322.983.44961227185138-0.469612271851384
332.973.42245593413807-0.452455934138067
343.023.98220325533544-0.96220325533544
353.073.67014889061228-0.600148890612283
363.183.102588142003660.0774118579963379
373.293.48741440193225-0.197414401932252
383.433.74800022208017-0.318000222080167
393.613.4770799886190.132920011381001
403.743.92490294386143-0.184902943861433
413.873.651192288281430.218807711718569
423.883.99135749783534-0.111357497835337
434.094.033704728057060.0562952719429393
444.194.087658155194580.102341844805421
454.24.036012240147560.163987759852444
464.294.062030831807370.227969168192629
474.374.39030688619203-0.020306886192026
484.474.371600782532960.0983992174670415
494.614.67575549359757-0.0657554935975716
504.654.81101230033181-0.161012300331809
514.694.658938545107750.0310614548922505
524.824.90004065638624-0.0800406563862439
534.865.02176464657698-0.161764646576982
544.874.80515211263220.0648478873678043
555.014.735135399793380.274864600206619
565.034.669522067007510.360477932992494
575.135.37345164087398-0.243451640873975
585.184.275830801928410.904169198071592
595.214.788498968002150.421501031997849
605.265.41588553694118-0.155885536941177
615.255.147416307408820.102583692591183
625.24.836098468646040.363901531353957
635.165.63839794775027-0.478397947750274
645.195.108798654703280.0812013452967193
655.395.50567024905508-0.115670249055083
665.585.494337995701660.0856620042983383
675.765.456733958745700.303266041254305
685.895.681394145532880.208605854467122
695.985.390614710639070.589385289360931
706.025.922271046071310.0977289539286929
715.625.360278936207080.259721063792920
724.875.19967734034977-0.329677340349768


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.004731354485707170.009462708971414330.995268645514293
180.004237557000168010.008475114000336010.995762442999832
190.004659392699160590.009318785398321180.99534060730084
200.01778402305572360.03556804611144720.982215976944276
210.01545488616306170.03090977232612340.984545113836938
220.01113069063673090.02226138127346170.98886930936327
230.006536111184634680.01307222236926940.993463888815365
240.01513531941174870.03027063882349730.984864680588251
250.07883716990956170.1576743398191230.921162830090438
260.1028080952449820.2056161904899640.897191904755018
270.08098457953387050.1619691590677410.91901542046613
280.05462384307421440.1092476861484290.945376156925786
290.0362156556340780.0724313112681560.963784344365922
300.02088985709959960.04177971419919920.9791101429004
310.01530446710671440.03060893421342880.984695532893286
320.01164545817859800.02329091635719600.988354541821402
330.01043316453502440.02086632907004880.989566835464976
340.02901556628606520.05803113257213040.970984433713935
350.04933026241569530.09866052483139060.950669737584305
360.03479248691898320.06958497383796630.965207513081017
370.03833766457163530.07667532914327070.961662335428365
380.08459258696235560.1691851739247110.915407413037644
390.2419906048327920.4839812096655830.758009395167208
400.5551247640124020.8897504719751970.444875235987599
410.777176250628820.4456474987423610.222823749371180
420.8602301551804860.2795396896390290.139769844819514
430.9297818505298120.1404362989403770.0702181494701884
440.957434368542260.08513126291548170.0425656314577408
450.9676748488639160.06465030227216760.0323251511360838
460.984034467887690.03193106422461870.0159655321123093
470.9848968624063330.03020627518733470.0151031375936674
480.9799944074288880.04001118514222490.0200055925711125
490.964881583002790.07023683399441950.0351184169972097
500.9459389591283180.1081220817433640.0540610408716822
510.9188599891075240.1622800217849530.0811400108924765
520.8553490705368410.2893018589263170.144650929463159
530.7546660774269880.4906678451460250.245333922573012
540.6306134342326260.7387731315347490.369386565767374
550.4973178821103410.9946357642206810.502682117889659


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level30.0769230769230769NOK
5% type I error level150.384615384615385NOK
10% type I error level230.58974358974359NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/10tdue1293482116.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/10tdue1293482116.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/1muxk1293482116.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/1muxk1293482116.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/2muxk1293482116.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/2muxk1293482116.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/3f4eo1293482116.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/3f4eo1293482116.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/4f4eo1293482116.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/4f4eo1293482116.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/5f4eo1293482116.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/5f4eo1293482116.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/6qvw81293482116.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/6qvw81293482116.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/7qvw81293482116.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/7qvw81293482116.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/8imdt1293482116.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/8imdt1293482116.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/9imdt1293482116.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293481988e1c9aed1rdlhne7/9imdt1293482116.ps (open in new window)


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





Copyright

Creative Commons License

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

Software written by Ed van Stee & Patrick Wessa


Disclaimer

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


Privacy Policy

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

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

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

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

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

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

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

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

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


FreeStatistics.org is powered by