Home » date » 2010 » Jan » 09 »

*Unverified author*
R Software Module: /rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Sat, 09 Jan 2010 08:21:37 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd.htm/, Retrieved Sat, 09 Jan 2010 16:39: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/2010/Jan/09/t1263051584534mslfiam7osjd.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 «
8.4 8.4 8.4 98.6 8.6 8.4 8.4 98.5 8.9 8.6 8.4 98.9 8.8 8.9 8.6 99.4 8.3 8.8 8.9 99.8 7.5 8.3 8.8 99.9 7.2 7.5 8.3 100 7.4 7.2 7.5 100.1 8.8 7.4 7.2 100.1 9.3 8.8 7.4 100.2 9.3 9.3 8.8 100.3 8.7 9.3 9.3 100 8.2 8.7 9.3 99.9 8.3 8.2 8.7 99.4 8.5 8.3 8.2 99.8 8.6 8.5 8.3 99.6 8.5 8.6 8.5 100 8.2 8.5 8.6 99.9 8.1 8.2 8.5 100.3 7.9 8.1 8.2 100.6 8.6 7.9 8.1 100.7 8.7 8.6 7.9 100.8 8.7 8.7 8.6 100.8 8.5 8.7 8.7 100.6 8.4 8.5 8.7 101.1 8.5 8.4 8.5 101.1 8.7 8.5 8.4 100.9 8.7 8.7 8.5 101.1 8.6 8.7 8.7 101.2 8.5 8.6 8.7 101.4 8.3 8.5 8.6 101.9 8 8.3 8.5 102.1 8.2 8 8.3 102.1 8.1 8.2 8 103 8.1 8.1 8.2 103.4 8 8.1 8.1 103.2 7.9 8 8.1 103.1 7.9 7.9 8 103 8 7.9 7.9 103.7 8 8 7.9 103.4 7.9 8 8 103.5 8 7.9 8 103.8 7.7 8 7.9 104 7.2 7.7 8 104.2 7.5 7.2 7.7 104.4 7.3 7.5 7.2 104.4 7 7.3 7.5 104.9 7 7 7.3 105.3 7 7 7 105.2 7.2 7 7 105.4 7.3 7.2 7 105.4 7.1 7.3 7.2 105.5 6.8 7.1 7.3 105.7 6.4 6.8 7.1 105.6 6.1 6.4 6.8 105.8 6.5 6.1 6.4 105.4 7.7 6.5 6.1 105.5 7.9 7.7 6.5 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
werkl[t] = + 26.3106019568154 + 1.31669964010823`werkl-1`[t] -0.717070137986305`werkl-2`[t] -0.232618213537436afzetp[t] + 0.0457433670576205M1[t] + 0.193077155005919M2[t] + 0.213469490726063M3[t] -0.0394471352569172M4[t] -0.00298783299766641M5[t] -0.0692285262308115M6[t] -0.0376573725565223M7[t] + 0.0442625747595174M8[t] + 0.664799937984984M9[t] -0.203343875163899M10[t] + 0.078324253693556M11[t] + 0.0195867962194246t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)26.31060195681545.2725244.99016e-063e-06
`werkl-1`1.316699640108230.090314.581400
`werkl-2`-0.7170701379863050.087976-8.150700
afzetp-0.2326182135374360.04956-4.69371.8e-059e-06
M10.04574336705762050.1041310.43930.6621750.331087
M20.1930771550059190.1099271.75640.0845850.042292
M30.2134694907260630.1088661.96090.0549680.027484
M4-0.03944713525691720.108836-0.36240.7184080.359204
M5-0.002987832997666410.101962-0.02930.9767290.488364
M6-0.06922852623081150.102329-0.67650.5015410.250771
M7-0.03765737255652230.104668-0.35980.7203890.360194
M80.04426257475951740.1097790.40320.6883660.344183
M90.6647999379849840.1134015.862400
M10-0.2033438751638990.127001-1.60110.1150790.057539
M110.0783242536935560.1035610.75630.4526910.226346
t0.01958679621942460.0052473.73290.0004510.000225


Multiple Linear Regression - Regression Statistics
Multiple R0.977494074989697
R-squared0.955494666639963
Adjusted R-squared0.943356848450863
F-TEST (value)78.7204629163045
F-TEST (DF numerator)15
F-TEST (DF denominator)55
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.166646632358458
Sum Squared Residuals1.52741050420283


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
18.48.47666408312547-0.0766640831254713
28.68.66684648864691-0.0668464886469122
38.98.877118263193150.0228817368068487
48.88.779075191096080.0209248089039169
58.38.39528299875307-0.0952829987530737
67.57.73872447413013-0.238724474130125
77.27.071795959576670.128204040423333
87.47.328687100114970.0713128998850345
98.88.44727222897740.352727771022605
109.39.275418859248450.0245811407515535
119.39.207863589844870.0921364101551311
128.78.86037652743881-0.160376527438816
138.28.158948728004670.0410512719953341
148.38.214070681678780.085929318321224
158.58.65120756120735-0.151207561207351
168.68.6560342883743-0.0560342883742955
178.58.60728903785156-0.107289037851557
188.28.38051998438213-0.180519984382127
198.18.015327770627030.0846722293729708
207.98.13050012748633-0.230500127486333
218.68.555729551354470.0442704486455342
228.78.74901448874428-0.0490144887442831
238.78.679990281241570.0200097187584284
248.58.5960694526763-0.096069452676297
258.48.281750581162980.118249418837021
268.58.460415228917140.0395847710828588
278.78.75029498137365-0.0502949813736478
288.78.662074423125620.0379255768743785
298.68.551444672653290.0485553273467098
308.58.326597168921260.173402831078740
318.38.201483061834060.0985169381659373
3288.06483324843903-0.0648332484390293
338.28.45336154344871-0.253361543448713
348.17.87390910375310.226090896246903
358.17.807032751806920.292967248193081
3687.86652595083890.133474049161095
377.97.823447971458870.0765520285411273
387.97.95366742676815-0.0536674267681462
3987.902520823030140.0974791769698596
4087.870646421338640.129353578661364
417.97.831723684664940.0682763153350615
4287.583614359579170.416385640420833
437.77.79162564457484-0.0916256445748447
447.27.37989183957172-0.179891839571723
457.57.5302635776509-0.0302635776509057
467.37.43525152174707-0.135251521747068
4777.1417363706377-0.141736370637692
4876.738355763313380.261644236686618
4977.04206878934006-0.0420687893400602
507.27.16246573080030.0375342691997045
517.37.46578479076151-0.165784790761510
527.17.19744907605777-0.0974490760577733
536.86.87192459000868-0.0719245900086847
546.46.5969366499135-0.196936649913503
556.16.29001214245233-0.190012142452331
566.56.376384334564820.123615665435180
577.77.73504757009515-0.0350475700951526
587.98.10991660203981-0.209916602039813
597.57.74424182549354-0.244241825493542
606.97.0386723057326-0.138672305732600
616.66.71711984690795-0.117119846907950
626.96.94253444318873-0.0425344431887289
637.77.45307358043420.246926419565801
6488.0347206000076-0.0347206000075903
6587.842335016068460.157664983931544
667.77.673607363073820.0263926369261809
677.37.32975542093507-0.0297554209350653
687.47.119703349823130.280296650176870
698.18.17832552847337-0.078325528473368
708.38.15648942446730.143510575532708
718.28.2191351809754-0.0191351809754066


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.07085587675891410.1417117535178280.929144123241086
200.2842032777956170.5684065555912340.715796722204383
210.3212532933165920.6425065866331840.678746706683408
220.2050079192057880.4100158384115760.794992080794212
230.1298793697469520.2597587394939050.870120630253048
240.08382530689689510.1676506137937900.916174693103105
250.04586432312073090.09172864624146170.95413567687927
260.0285659189647740.0571318379295480.971434081035226
270.01653748566631150.03307497133262310.983462514333688
280.0082955869253670.0165911738507340.991704413074633
290.0077860047434010.0155720094868020.992213995256599
300.03384258492610860.06768516985221730.966157415073891
310.02165442743122560.04330885486245110.978345572568774
320.01540494507609770.03080989015219540.984595054923902
330.1213777799949960.2427555599899920.878622220005004
340.1134502908264410.2269005816528830.886549709173559
350.1647281295586830.3294562591173670.835271870441317
360.1264747797025950.2529495594051910.873525220297405
370.1230870439589450.2461740879178910.876912956041055
380.1503868931039960.3007737862079930.849613106896004
390.1027287838654950.205457567730990.897271216134505
400.06974092702022810.1394818540404560.930259072979772
410.05534285650959630.1106857130191930.944657143490404
420.2125774910392540.4251549820785070.787422508960747
430.2408796248102730.4817592496205450.759120375189727
440.3764249730877040.7528499461754080.623575026912296
450.3305035363771320.6610070727542640.669496463622868
460.3349304018365260.6698608036730530.665069598163474
470.3515605708632020.7031211417264040.648439429136798
480.6850830546449230.6298338907101540.314916945355077
490.6919447171295250.6161105657409510.308055282870475
500.8380607477058740.3238785045882520.161939252294126
510.7993692595364320.4012614809271360.200630740463568
520.7558985638373220.4882028723253550.244101436162678


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level50.147058823529412NOK
10% type I error level80.235294117647059NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/10ffkq1263050491.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/10ffkq1263050491.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/1kp6e1263050491.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/1kp6e1263050491.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/2zsee1263050491.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/2zsee1263050491.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/3261a1263050491.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/3261a1263050491.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/4xtzs1263050491.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/4xtzs1263050491.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/5kymy1263050491.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/5kymy1263050491.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/6bnit1263050491.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/6bnit1263050491.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/717k51263050491.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/717k51263050491.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/87ouj1263050491.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/87ouj1263050491.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/9s79d1263050491.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/09/t1263051584534mslfiam7osjd/9s79d1263050491.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