Home » date » 2010 » Dec » 10 »

*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, 10 Dec 2010 17:15:43 +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/10/t1292001242gqz5yez4hdvnuz1.htm/, Retrieved Fri, 10 Dec 2010 18:16:12 +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/10/t1292001242gqz5yez4hdvnuz1.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 «
9081 0 9700 9084 0 9081 9743 0 9084 8587 0 9743 9731 0 8587 9563 0 9731 9998 0 9563 9437 0 9998 10038 0 9437 9918 0 10038 9252 0 9918 9737 0 9252 9035 0 9737 9133 0 9035 9487 0 9133 8700 0 9487 9627 0 8700 8947 0 9627 9283 0 8947 8829 0 9283 9947 0 8829 9628 0 9947 9318 0 9628 9605 0 9318 8640 0 9605 9214 0 8640 9567 0 9214 8547 0 9567 9185 0 8547 9470 0 9185 9123 0 9470 9278 0 9123 10170 0 9278 9434 0 10170 9655 0 9434 9429 0 9655 8739 0 9429 9552 0 8739 9687 1 9552 9019 1 9687 9672 1 9019 9206 1 9672 9069 1 9206 9788 1 9069 10312 1 9788 10105 1 10312 9863 1 10105 9656 1 9863 9295 1 9656 9946 1 9295 9701 1 9946 9049 1 9701 10190 1 9049 9706 1 10190 9765 1 9706 9893 1 9765 9994 1 9893 10433 1 9994 10073 1 10433 10112 1 10073 9266 1 10112 9820 1 9266 10097 1 9820 9115 1 10097 10411 1 9115 9678 1 10411 10408 1 9678 10153 1 10408 10368 1 10153 10581 1 10368 10597 1 10581 10680 1 10597 9738 1 10680 9556 1 9738
 
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'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
geboortes[t] = + 7081.7941033014 + 199.675838880545x[t] + 0.256058903274213lag[t] -734.101623515508M1[t] -192.216032923728M2[t] -31.7260810906930M3[t] -978.949523039809M4[t] + 207.941772420758M5[t] -418.172883089656M6[t] -147.288559126564M7[t] -242.175514609627M8[t] + 340.128057574066M9[t] + 66.8844528782934M10[t] -129.762106052565M11[t] + 4.30039216255456t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)7081.79410330141203.0950975.886300
x199.675838880545138.3699881.44310.1542930.077146
lag0.2560589032742130.1268822.01810.0481370.024069
M1-734.101623515508155.946063-4.70741.6e-058e-06
M2-192.216032923728175.080661-1.09790.2767210.138361
M3-31.7260810906930167.455871-0.18950.8503830.425192
M4-978.949523039809163.047635-6.004100
M5207.941772420758199.9724771.03990.3026510.151326
M6-418.172883089656162.226857-2.57770.0124640.006232
M7-147.288559126564167.357157-0.88010.3823840.191192
M8-242.175514609627162.848266-1.48710.1423070.071154
M9340.128057574066163.5688612.07940.0419340.020967
M1066.8844528782934167.3760580.39960.690890.345445
M11-129.762106052565163.666672-0.79280.4310460.215523
t4.300392162554563.2199441.33550.1868260.093413


Multiple Linear Regression - Regression Statistics
Multiple R0.868784961568442
R-squared0.754787309447479
Adjusted R-squared0.696601247282474
F-TEST (value)12.9719606614216
F-TEST (DF numerator)14
F-TEST (DF denominator)59
p-value3.44391182238724e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation278.921965516086
Sum Squared Residuals4590050.30799406


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
190818835.76423370831245.235766291688
290849223.44975533591-139.449755335911
397439389.00827604132353.991723958678
485878614.82804351247-27.8280435124679
597319510.0156389506220.984361049400
695639181.13276094844381.867239051561
799989413.29958132402584.700418675982
894379434.098640927792.90135907220801
9100389877.0535605372160.946439462793
1099189762.0017488718155.998251128209
1192529538.92851371058-286.928513710581
1297379502.45578234507234.544217654926
1390358896.84311908011138.156880919886
1491339263.27575173595-130.275751735951
1594879453.1598682524133.8401317475861
1687008600.8816702249299.1183297750762
1796279590.5550009712436.4449990287599
1889479206.10734095858-259.107340958575
1992839307.17200285776-24.1720028577577
2088299302.62123103738-473.621231037385
2199479772.97445329714174.025546702861
2296289790.3050946245-162.305094624492
2393189516.27613771171-198.276137711714
2496059570.9603759118334.0396240881725
2586408914.64804979857-274.648049798573
2692149213.73719089330.262809106708605
2795679525.5053453682841.4946546317201
2885478672.97108843752-125.971088437516
2991859602.98269472094-417.98269472094
3094709144.53401166203325.465988337972
3191239492.69551522083-369.695515220826
3292789313.25651246417-35.2565124641652
33101709939.54960681792230.450393182084
3494349899.0109360053-465.010936005296
3596559518.20541642717136.794583572829
3694299708.8569322659-279.856932265892
3787398921.18638877297-182.186388772966
3895529290.6917282681261.308271731907
3996879863.33379950616-176.333799506164
4090198954.9787016616264.0212983383794
4196729975.12304189757-303.123041897568
4292069520.51524238777-314.515242387769
4390699676.37650958763-607.376509587633
4497889550.70987651856237.290123481443
451031210321.4201923190-9.4201923189644
461010510186.6518451014-81.6518451014338
4798639941.30148535537-78.3014853553676
48965610013.3977289781-357.397728978128
4992959230.5923046474164.4076953525882
5099469684.34102331976261.658976680245
51970110015.8257133469-314.825713346858
5290499010.1682322581138.8317677418854
531019010034.4095149465155.590485053550
5497069704.758460234471.24153976553359
5597659856.0106671754-91.0106671753944
5698939780.53157914806112.468420851936
57999410399.9110831134-405.911083113412
581043310156.8298198109276.170180189111
591007310076.8935115800-3.89351157996427
601011210118.7748046164-6.77480461636733
6192669398.95987049111-132.959870491108
6298209728.5200210754691.4799789245422
631009710035.166997485061.8330025150379
6491159163.17226390536-48.1722639053576
651041110102.9141085132308.085891486798
6696789812.95218380872-134.952183808722
67104089900.44572383437507.554276165629
68101539996.78215990404156.217840095962
691036810518.0911039154-150.091103915362
701058110304.2005555861276.799444413901
711059710166.3949352152430.605064784797
721068010304.5543758827375.445624117290
7397389596.00603350152141.993966498484
7495569900.98452937154-344.984529371541


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.6010484562987710.7979030874024580.398951543701229
190.5767997872668830.8464004254662340.423200212733117
200.4408214814270160.8816429628540310.559178518572984
210.4889042047795610.9778084095591220.511095795220439
220.3795509083928610.7591018167857220.620449091607139
230.3710491053134130.7420982106268260.628950894686587
240.2802361238468380.5604722476936770.719763876153162
250.2151752961628370.4303505923256750.784824703837163
260.3222142177794280.6444284355588550.677785782220572
270.258085476252280.516170952504560.74191452374772
280.1892858083826000.3785716167651990.8107141916174
290.2089239133880920.4178478267761830.791076086611908
300.3593077357004650.718615471400930.640692264299535
310.352608652816980.705217305633960.64739134718302
320.3555198897037150.711039779407430.644480110296285
330.4493296124160870.8986592248321750.550670387583913
340.4218910243815160.8437820487630320.578108975618484
350.4878443424413420.9756886848826830.512155657558658
360.4244596546129990.8489193092259980.575540345387001
370.3932366495740480.7864732991480950.606763350425952
380.4787794466565570.9575588933131140.521220553343443
390.4034392779151770.8068785558303540.596560722084823
400.3852673525803710.7705347051607410.614732647419629
410.33098762824470.66197525648940.6690123717553
420.2950761016041460.5901522032082930.704923898395853
430.5507747377179720.8984505245640550.449225262282028
440.5511120546528070.8977758906943860.448887945347193
450.615021760661630.769956478676740.38497823933837
460.5478054996800260.9043890006399480.452194500319974
470.4837765836394370.9675531672788740.516223416360563
480.5313080022444040.9373839955111920.468691997755596
490.4481055163589290.8962110327178590.551894483641071
500.777181507292540.445636985414920.22281849270746
510.6814095191358370.6371809617283250.318590480864163
520.608411672510150.78317665497970.39158832748985
530.5496217760169140.9007564479661720.450378223983086
540.5812685730858610.8374628538282780.418731426914139
550.4580159055723010.9160318111446020.541984094427699
560.3137093181502870.6274186363005740.686290681849713


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


http://www.freestatistics.org/blog/date/2010/Dec/10/t1292001242gqz5yez4hdvnuz1/1bt0y1292001333.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t1292001242gqz5yez4hdvnuz1/1bt0y1292001333.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t1292001242gqz5yez4hdvnuz1/2bt0y1292001333.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t1292001242gqz5yez4hdvnuz1/2bt0y1292001333.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t1292001242gqz5yez4hdvnuz1/3l2z11292001333.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t1292001242gqz5yez4hdvnuz1/3l2z11292001333.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t1292001242gqz5yez4hdvnuz1/4l2z11292001333.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t1292001242gqz5yez4hdvnuz1/4l2z11292001333.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t1292001242gqz5yez4hdvnuz1/5l2z11292001333.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t1292001242gqz5yez4hdvnuz1/5l2z11292001333.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t1292001242gqz5yez4hdvnuz1/6wcgm1292001333.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t1292001242gqz5yez4hdvnuz1/6wcgm1292001333.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t1292001242gqz5yez4hdvnuz1/7p3g71292001333.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t1292001242gqz5yez4hdvnuz1/7p3g71292001333.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t1292001242gqz5yez4hdvnuz1/8p3g71292001333.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t1292001242gqz5yez4hdvnuz1/8p3g71292001333.ps (open in new window)


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