Home » date » 2010 » Dec » 03 »

*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: Fri, 03 Dec 2010 21:20:55 +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/03/t129141128274qcjm5ta7zjlpm.htm/, Retrieved Fri, 03 Dec 2010 22:21:32 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm.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 «
1221.53 2617.2 10168.52 6957.61 23448.78 1180.55 2506.13 9937.04 6688.49 23007.99 1183.26 2679.07 9202.45 6601.37 23096.32 1141.2 2589.73 9369.35 6229.02 22358.17 1049.33 2457.46 8824.06 5925.22 20536.49 1101.6 2517.3 9537.3 6147.97 21029.81 1030.71 2386.53 9382.64 5965.52 20128.99 1089.41 2453.37 9768.7 5964.33 19765.19 1186.69 2529.66 11057.4 6135.7 21108.59 1169.43 2475.14 11089.94 6153.55 21239.35 1104.49 2525.93 10126.03 5598.46 20608.7 1073.87 2480.93 10198.04 5608.79 20121.99 1115.1 2229.85 10546.44 5957.43 21872.5 1095.63 2169.14 9345.55 5625.95 21821.5 1036.19 2030.98 10034.74 5414.96 21752.87 1057.08 2071.37 10133.23 5675.16 20955.25 1020.62 1953.35 10492.53 5458.04 19724.19 987.48 1748.74 10356.83 5332.14 20573.33 919.32 1696.58 9958.44 4808.64 18378.73 919.14 1900.09 9522.5 4940.82 18171 872.81 1908.64 8828.26 4769.45 15520.99 797.87 1881.46 8109.53 4084.76 13576.02 735.09 2100.18 7568.42 3843.74 12811.57 825.88 2672.2 7994.05 4338.35 13278.21 903.25 3136 8859.56 4810.2 143 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 time8 seconds
R Server'George Udny Yule' @ 72.249.76.132
R Framework
error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.


Multiple Linear Regression - Estimated Regression Equation
S&P[t] = + 3901.66133003445 + 0.679202303098418Bel20[t] + 0.0093168895553967Nikkei225[t] -0.815900090317011DAX[t] + 0.0111161931322036HangSeng[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)3901.661330034451240.4434243.14540.0024740.001237
Bel200.6792023030984180.2629722.58280.011990.005995
Nikkei2250.00931688955539670.0671890.13870.8901290.445065
DAX-0.8159000903170110.26881-3.03520.003420.00171
HangSeng0.01111619313220360.0639680.17380.8625630.431282


Multiple Linear Regression - Regression Statistics
Multiple R0.419785427527184
R-squared0.176219805164180
Adjusted R-squared0.127038898009803
F-TEST (value)3.58309383377236
F-TEST (DF numerator)4
F-TEST (DF denominator)67
p-value0.0104409700206471
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1812.90836227926
Sum Squared Residuals220204660.911477


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11221.53357.955115289487863.574884710513
21180.55495.034567425437685.515432574563
31183.26677.714829032561505.545170967439
41141.2914.184864809546227.015135190454
51049.331046.886670206292.44332979370736
61101.6917.917409608057183.682590391942
71030.71966.50445667422764.2055433257735
81089.411012.4260670410676.9839329589371
91186.69951.361781690657235.328218309343
101169.43901.524580513672267.905419486328
111104.491372.92817641194-268.438176411944
121073.871329.19637169705-255.32637169705
131115.1896.91186150793218.18813849207
141095.631114.37656627719-18.7465662771854
151036.191198.34293891511-162.152938915115
161057.081005.5298389229851.5501610770234
171020.621092.18146842085-71.561468420854
18987.481064.10660887841-76.6266088784103
19919.321427.69576095184-508.375760951844
20919.141451.70377608517-532.563776085168
21872.811561.40557388708-688.595573887076
22797.872073.26649794152-1275.39649794152
23735.092404.93062949618-1669.84062949618
24825.882399.04839530752-1573.16839530752
25903.252349.47468650333-1446.22468650333
26896.242359.34684221854-1463.10684221854
27968.752219.02768615725-1250.27768615725
281166.361997.27643916016-830.916439160158
291282.831686.01703820086-403.187038200863
301267.381518.60785032155-251.227850321548
3112801588.09275965233-308.092759652332
321400.381045.84241035678354.537589643219
331385.591450.84586636828-65.2558663682768
341322.71767.65349638071-444.95349638071
351330.631809.96920542103-479.339205421033
361378.551636.44289344723-257.892893447225
371468.36726.419654324607741.940345675393
381481.14922.548444366672558.591555633328
391549.381014.33415735923535.04584264077
401526.751136.36330108647390.38669891353
411473.991225.01807133746248.971928662538
421455.271169.35007158938285.919928410624
431503.35703.633318736995799.716681263005
441530.62877.102379180439653.517620819561
451482.371225.45071522196256.919284778038
461420.861451.33531162696-30.4753116269564
471406.821619.87129069039-213.051290690387
481438.241512.77527142158-74.5352714215836
491418.31554.62753310622-136.327533106215
501400.631694.57794631895-293.947946318949
511377.941658.64072798274-280.700727982741
521335.851844.61058005421-508.760580054208
531303.822120.9561079593-817.136107959299
541276.662255.63716502283-978.977165022828
551270.22197.56968522333-927.369685223326
561270.092120.60443535990-850.514435359897
571310.611751.57401685293-440.96401685293
581294.871670.61506904796-375.745069047958
591280.661717.70178002432-437.041780024319
601280.081863.28993985208-583.209939852076
611248.291994.27383160702-745.983831607025
621249.482161.44393949087-911.963939490869
631207.012280.96590213628-1073.95590213628
641228.812156.84132071685-928.031320716848
651220.332307.02173592291-1086.69173592291
661234.182314.01490805587-1079.83490805587
671191.332535.47285390333-1344.14285390333
681191.5301.022528781206890.477471218794
6911008.96040.073447674834968.82655232517
704348.773562.77545169209785.99454830791
7114195.351491.0800098025512704.2699901975
721221.53357.955115289489863.574884710511


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
85.36273322959642e-071.07254664591928e-060.999999463726677
93.15527804493776e-096.31055608987552e-090.999999996844722
101.79494028428203e-113.58988056856406e-110.99999999998205
111.04130978981112e-132.08261957962223e-130.999999999999896
121.69155465453844e-153.38310930907689e-150.999999999999998
132.70526922025508e-175.41053844051015e-171
145.56578304165071e-181.11315660833014e-171
151.84468942640024e-193.68937885280048e-191
161.63058770792088e-213.26117541584175e-211
171.38687527344559e-232.77375054689118e-231
181.35855314024320e-252.71710628048639e-251
191.32544241649339e-272.65088483298678e-271
209.82195934084636e-301.96439186816927e-291
214.44804048810969e-318.89608097621937e-311
221.04873714870125e-322.09747429740251e-321
232.62750697505035e-345.25501395010071e-341
249.17111452502764e-361.83422290500553e-351
251.05802366763262e-362.11604733526525e-361
261.41365010644719e-382.82730021289437e-381
276.27802954579363e-401.25560590915873e-391
289.19973329948479e-421.83994665989696e-411
292.79269319753747e-435.58538639507494e-431
302.26869897788983e-444.53739795577965e-441
312.79079508823505e-465.58159017647010e-461
322.77467256855098e-485.54934513710197e-481
334.01943873964431e-508.03887747928863e-501
345.43999990118575e-521.08799998023715e-511
353.81008557387632e-537.62017114775264e-531
364.54084950442022e-559.08169900884043e-551
371.96134261175591e-543.92268522351183e-541
381.88462165447589e-553.76924330895179e-551
398.51355491308592e-571.70271098261718e-561
401.21138050960024e-582.42276101920049e-581
411.54276271900177e-603.08552543800354e-601
422.26365496577007e-624.52730993154015e-621
434.59705866633819e-649.19411733267637e-641
443.05901795840702e-656.11803591681404e-651
451.63920497744831e-663.27840995489663e-661
466.34194580966901e-681.26838916193380e-671
472.13139586892324e-694.26279173784648e-691
482.83217813915127e-705.66435627830255e-701
494.60690595704502e-719.21381191409003e-711
504.26953699749887e-718.53907399499775e-711
515.97032935514885e-721.19406587102977e-711
523.09015698871613e-736.18031397743225e-731
536.43141343624823e-751.28628268724965e-741
541.15044798584418e-762.30089597168837e-761
551.66635811039386e-783.33271622078772e-781
562.37617786841222e-804.75235573682445e-801
576.66009072526662e-821.33201814505332e-811
582.29455760689867e-834.58911521379733e-831
597.23210479023434e-851.44642095804687e-841
601.54057096113466e-853.08114192226932e-851
618.46689505415489e-861.69337901083098e-851
623.36748534633244e-856.73497069266489e-851
631.16534381872894e-852.33068763745788e-851
647.02047072427143e-861.40409414485429e-851


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level571NOK
5% type I error level571NOK
10% type I error level571NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/10txhc1291411245.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/10txhc1291411245.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/1me211291411245.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/1me211291411245.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/2f5141291411245.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/2f5141291411245.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/3f5141291411245.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/3f5141291411245.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/4f5141291411245.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/4f5141291411245.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/58w1p1291411245.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/58w1p1291411245.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/68w1p1291411245.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/68w1p1291411245.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/70n0a1291411245.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/70n0a1291411245.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/80n0a1291411245.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/80n0a1291411245.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/9txhc1291411245.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/03/t129141128274qcjm5ta7zjlpm/9txhc1291411245.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