Home » date » 2009 » Dec » 15 »

Multiple Regression analysis 1

*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: Tue, 15 Dec 2009 12:14:24 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe.htm/, Retrieved Tue, 15 Dec 2009 20:16:05 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe.htm/},
    year = {2009},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2009},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
103.34 98.60 96.33 102.60 96.90 96.33 100.69 95.10 95.05 105.67 97.00 96.84 123.61 112.70 96.92 113.08 102.90 97.44 106.46 97.40 97.78 123.38 111.40 97.69 109.87 87.40 96.67 95.74 96.80 98.29 123.06 114.10 98.20 123.39 110.30 98.71 120.28 103.90 98.54 115.33 101.60 98.20 110.40 94.60 100.80 114.49 95.90 101.33 132.03 104.70 101.88 123.16 102.80 101.85 118.82 98.10 102.04 128.32 113.90 102.22 112.24 80.90 102.63 104.53 95.70 102.65 132.57 113.20 102.54 122.52 105.90 102.37 131.80 108.80 102.68 124.55 102.30 102.76 120.96 99.00 102.82 122.60 100.70 103.31 145.52 115.50 103.23 118.57 100.70 103.60 134.25 109.90 103.95 136.70 114.60 103.93 121.37 85.40 104.25 111.63 100.50 104.38 134.42 114.80 104.36 137.65 116.50 104.32 137.86 112.90 104.58 119.77 102.00 104.68 130.69 106.00 104.92 128.28 105.30 105.46 147.45 118.80 105.23 128.42 106.10 105.58 136.90 109.30 105.34 143.95 117.20 105.28 135.64 92.50 105.70 122.48 104.20 105.67 136.83 112.50 105.71 153.04 122.40 106.19 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 time6 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Uitvoer[t] = -153.26923086961 + 1.12814174357858TIP[t] + 1.55877189719339cons[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-153.2692308696123.230546-6.597700
TIP1.128141743578580.10180511.081400
cons1.558771897193390.2012597.745100


Multiple Linear Regression - Regression Statistics
Multiple R0.859237237376913
R-squared0.73828863009511
Adjusted R-squared0.730476350396457
F-TEST (value)94.5036095190456
F-TEST (DF numerator)2
F-TEST (DF denominator)67
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation8.00601229043713
Sum Squared Residuals4294.44759724024


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1103.34108.122041903877-4.78204190387686
2102.6106.204200939793-3.60420093979347
3100.69102.178317772944-1.48831777294448
4105.67107.11198878172-1.44198878171999
5123.61124.948515907679-1.33851590767922
6113.08114.703288207150-1.62328820714967
7106.46109.028491062513-2.56849106251322
8123.38124.682186001866-1.30218600186597
9109.8796.016836820842713.8531631791573
1095.74109.146579683935-13.4065796839347
11123.06128.523142377097-5.46314237709676
12123.39125.031177419067-1.64117741906676
13120.28117.5460790376412.73392096235902
14115.33114.4213705823640.908629417635523
15110.4110.577185310017-0.177185310017179
16114.49112.8699186821821.62008131781814
17132.03123.6548905691308.37510943087026
18123.16121.4646580994151.69534190058537
19118.82116.4585585650622.36144143493795
20128.32134.563777055098-6.24377705509848
21112.2497.974195994854514.2658040051455
22104.53114.701869237761-10.1718692377614
23132.57134.272884841695-1.70288484169536
24122.52125.772458891049-3.25245889104882
25131.8129.5272892355572.27271076444336
26124.55122.3190696540712.23093034592867
27120.96118.6897282140942.2702717859064
28122.6121.3713674078021.22863259219803
29145.52137.9431634609907.57683653901048
30118.57121.823411257988-3.25341125798804
31134.25132.7478854629291.5021145370713
32136.7138.018976219804-1.31897621980418
33121.37105.57604431441115.7939556855886
34111.63122.813624989083-11.1836249890832
35134.42138.914876484313-4.49487648431305
36137.65140.770366572509-3.12036657250888
37137.86137.1143369888960.745663011103736
38119.77124.973469173609-5.20346917360907
39130.69129.8601414032500.829858596750194
40128.28129.912179007229-1.63217900722921
41147.45144.7835750091862.66642499081437
42128.42131.001745029755-2.58174502975530
43136.9134.2376933538802.66230664611966
44143.95143.0564868143200.893513185680429
45135.64115.84606994475019.7939300552502
46122.48128.998565187703-6.51856518770339
47136.83138.424492535293-1.59449253529335
48153.04150.3413063073742.69869369262582
49142.71141.2287076447321.48129235526783
50123.46127.019396122706-3.55939612270564
51144.37139.7296092568464.64039074315425
52146.15143.4392507499472.71074925005292
53147.61141.0056763764996.60432362350071
54158.51149.7317306758628.77826932413844
55147.4141.5876964255245.81230357447552
56165.05149.9137444786815.1362555213199
57154.64128.39898691978226.2410130802177
58126.2132.155943100335-5.95594310033515
59157.36151.7552211534135.60477884658671
60154.15150.7324933010843.41750669891606
61123.21132.032028501314-8.82202850131436
62113.07126.512321393643-13.4423213936426
63110.45123.116795738244-12.6667957382439
64113.57126.066339143275-12.4963391432748
65122.44136.174977514611-13.7349775146112
66114.93126.177579012123-11.2475790121233
67111.85123.255510903482-11.4055109034820
68126.04134.835220835780-8.79522083577957
69121.34112.1283963519069.21160364809383
70124.36119.7418966266624.61810337333823


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.01296586996457370.02593173992914740.987034130035426
70.002236845566165470.004473691132330930.997763154433835
80.0003502713370763830.0007005426741527670.999649728662924
90.127669122578230.255338245156460.87233087742177
100.3328373366042960.6656746732085930.667162663395704
110.2407608940923390.4815217881846790.75923910590766
120.1841849776305800.3683699552611610.81581502236942
130.1568178567862860.3136357135725720.843182143213714
140.1079549869775020.2159099739550050.892045013022498
150.06790343663832580.1358068732766520.932096563361674
160.04205931080012760.08411862160025510.957940689199873
170.04980739239839780.09961478479679570.950192607601602
180.03002440443626710.06004880887253420.969975595563733
190.01753968530888950.03507937061777900.98246031469111
200.01438516982816780.02877033965633560.985614830171832
210.01567387904643740.03134775809287480.984326120953563
220.05365552305701980.1073110461140400.94634447694298
230.03577530236091800.07155060472183590.964224697639082
240.02441778392527180.04883556785054370.975582216074728
250.01681766407286410.03363532814572810.983182335927136
260.01028032795809200.02056065591618410.989719672041908
270.006019114561846170.01203822912369230.993980885438154
280.003409270416993070.006818540833986140.996590729583007
290.004806464893613530.009612929787227060.995193535106387
300.003683825201404290.007367650402808570.996316174798596
310.002093925373518950.00418785074703790.99790607462648
320.001168273370298790.002336546740597580.9988317266297
330.003226722888083890.006453445776167780.996773277111916
340.01038842935047660.02077685870095330.989611570649523
350.007380074424763980.01476014884952800.992619925575236
360.00488889314429970.00977778628859940.9951111068557
370.002968998930407740.005937997860815490.997031001069592
380.002678845287258480.005357690574516970.997321154712742
390.001520936404790600.003041872809581210.99847906359521
400.0009105421148267220.001821084229653440.999089457885173
410.0006290382241467140.001258076448293430.999370961775853
420.0004021070885649680.0008042141771299360.999597892911435
430.0002218758928292670.0004437517856585350.99977812410717
440.0001315258842468630.0002630517684937260.999868474115753
450.002111631378452420.004223262756904830.997888368621548
460.002093582150299740.004187164300599470.9979064178497
470.001283560336590120.002567120673180240.99871643966341
480.0009498652203001040.001899730440600210.9990501347797
490.000565442742989290.001130885485978580.99943455725701
500.0005673525071947020.001134705014389400.999432647492805
510.0003663411979725510.0007326823959451030.999633658802027
520.0002872023582916580.0005744047165833160.999712797641708
530.0001719885485621680.0003439770971243370.999828011451438
540.0001410620616821010.0002821241233642020.999858937938318
556.87510380037295e-050.0001375020760074590.999931248961996
560.0001257135507203630.0002514271014407260.99987428644928
570.1495690158813610.2991380317627210.85043098411864
580.1532666115960040.3065332231920080.846733388403996
590.1925281258535730.3850562517071460.807471874146427
600.925347009293020.1493059814139590.0746529907069797
610.9270683894440750.1458632211118510.0729316105559255
620.9083483595624620.1833032808750750.0916516404375377
630.8627449371624330.2745101256751350.137255062837567
640.8233610523752930.3532778952494130.176638947624706


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level290.491525423728814NOK
5% type I error level390.661016949152542NOK
10% type I error level430.728813559322034NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/10gr251260904457.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/10gr251260904457.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/1xub31260904456.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/1xub31260904456.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/219wf1260904456.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/219wf1260904456.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/3grv81260904456.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/3grv81260904456.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/4t2oh1260904456.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/4t2oh1260904456.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/5tb1i1260904456.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/5tb1i1260904456.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/6qfxd1260904456.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/6qfxd1260904456.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/7twyt1260904456.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/7twyt1260904456.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/8h64d1260904457.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/8h64d1260904457.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/9mmib1260904457.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/15/t126090455178m7g8p9cboywoe/9mmib1260904457.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