Home » date » 2009 » Nov » 17 »

*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, 17 Nov 2009 09:40:29 -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/Nov/17/t1258476116djwhw76ob2osvag.htm/, Retrieved Tue, 17 Nov 2009 17:42:08 +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/Nov/17/t1258476116djwhw76ob2osvag.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 «
20604.6 2.05 18714.9 2.03 18492.6 2.04 18183.6 2.03 19435.1 2.01 22686.8 2.01 20396.7 2.01 19233.6 2.01 22751 2.01 19864 2.01 17165.4 2.02 22309.7 2.02 21786.3 2.03 21927.6 2.05 20957.9 2.08 19726 2.07 21315.7 2.06 24771.5 2.05 22592.4 2.05 21942.1 2.05 23973.7 2.05 20815.7 2.05 19931.4 2.06 24436.8 2.06 22838.7 2.07 24465.3 2.07 23007.3 2.3 22720.8 2.31 23045.7 2.31 27198.5 2.53 22401.9 2.58 25122.7 2.59 26100.5 2.73 22904.9 2.82 22040.4 3 25981.5 3.04 26157.1 3.23 25975.4 3.32 22589.8 3.49 25370.4 3.57 25091.1 3.56 28760.9 3.72 24325.9 3.82 25821.7 3.82 27645.7 3.98 26296.9 4.06 24141.5 4.08 27268.1 4.19 29060.3 4.16 28226.4 4.17 23268.5 4.21 26938.2 4.21 27217.5 4.17 27540.5 4.19 29167.6 4.25 26671.5 4.25 30184 4.2 28422.3 4.33 23774.3 4.41 29601 4.56 28523.6 5.18 23622 3.42 21320.3 2.71 20423.6 2.29 21174.9 2 23050.2 1.64 21202.9 1.3 20476.4 1.08 23173.3 1 22468 1 19842.7 1
 
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
Y[t] = + 17180.2125921855 + 2309.26909950376X[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)17180.2125921855683.81760525.12400
X2309.26909950376229.97452110.041400


Multiple Linear Regression - Regression Statistics
Multiple R0.770526630666746
R-squared0.593711288566648
Adjusted R-squared0.587823046371962
F-TEST (value)100.829970802226
F-TEST (DF numerator)1
F-TEST (DF denominator)69
p-value3.99680288865056e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2011.6954426771
Sum Squared Residuals279237380.232059


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
120604.621914.2142461682-1309.61424616825
218714.921868.0288641782-3153.12886417815
318492.621891.1215551732-3398.52155517318
418183.621868.0288641781-3684.42886417814
519435.121821.8434821881-2386.74348218807
622686.821821.8434821881864.956517811935
720396.721821.8434821881-1425.14348218806
819233.621821.8434821881-2588.24348218807
92275121821.8434821881929.156517811936
101986421821.8434821881-1957.84348218806
1117165.421844.9361731831-4679.5361731831
1222309.721844.9361731831464.763826816898
1321786.321868.0288641781-81.7288641781405
1421927.621914.214246168213.3857538317833
1520957.921983.4923191533-1025.59231915333
161972621960.3996281583-2234.39962815829
1721315.721937.3069371633-621.606937163252
1824771.521914.21424616822857.28575383178
1922592.421914.2142461682678.185753831786
2021942.121914.214246168227.8857538317833
2123973.721914.21424616822059.48575383179
2220815.721914.2142461682-1098.51424616821
2319931.421937.3069371633-2005.90693716325
2424436.821937.30693716332499.49306283675
2522838.721960.3996281583878.30037184171
2624465.321960.39962815832504.90037184171
2723007.322491.5315210442515.768478955844
2822720.822514.6242120392206.175787960806
2923045.722514.6242120392531.075787960807
3027198.523022.66341393004175.83658606998
3122401.923138.1268689052-736.226868905208
3225122.723161.21955990021961.48044009975
3326100.523484.51723383082615.98276616923
3422904.923692.3514527861-787.45145278611
3522040.424108.0198906968-2067.61989069679
3625981.524200.39065467691781.10934532306
3726157.124639.15178358271517.94821641734
3825975.424846.9860025381128.41399746201
3922589.825239.5617494536-2649.76174945363
4025370.425424.3032774139-53.903277413932
4125091.125401.2105864189-310.110586418898
4228760.925770.69364233952990.20635766050
4324325.926001.6205522899-1675.72055228987
4425821.726001.6205522899-179.920552289873
4527645.726371.10360821051274.59639178952
4626296.926555.8451361708-258.945136170775
4724141.526602.0305181609-2460.53051816085
4827268.126856.0501191063412.049880893732
4929060.326786.77204612122273.52795387885
5028226.426809.86473711621416.53526288381
5123268.526902.2355010963-3633.73550109634
5226938.226902.235501096335.9644989036596
5327217.526809.8647371162407.635262883809
5427540.526856.0501191063684.449880893733
5529167.626994.60626507652172.99373492351
5626671.526994.6062650765-323.106265076492
573018426879.14281010133304.85718989870
5828422.327179.34779303681242.95220696321
5923774.327364.0893209971-3589.78932099709
602960127710.47968592271890.52031407734
6128523.629142.226527615-618.626527614992
622362225077.9129124884-1455.91291248837
6321320.323438.3318518407-2118.0318518407
6420423.622468.4388300491-2044.83883004912
6521174.921798.7507911930-623.850791193026
6623050.220967.41391537172082.78608462833
6721202.920182.26242154041020.63757845961
6820476.419674.2232196496802.176780350436
6923173.319489.48169168933683.81830831073
702246819489.48169168932978.51830831073
7119842.719489.4816916893353.218308310736


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.1828352379690530.3656704759381070.817164762030947
60.5087636903897120.9824726192205760.491236309610288
70.3661868791596760.7323737583193520.633813120840324
80.2982951340791610.5965902681583220.701704865920839
90.3738205385461440.7476410770922880.626179461453856
100.2966884987169480.5933769974338950.703311501283052
110.513356742797660.973286514404680.48664325720234
120.5610368101194070.8779263797611860.438963189880593
130.5662232842011350.8675534315977290.433776715798865
140.5870330514423260.8259338971153480.412966948557674
150.5249772312657080.9500455374685850.475022768734292
160.4905939688116170.9811879376232340.509406031188383
170.4378104062223320.8756208124446650.562189593777668
180.693207999351470.613584001297060.30679200064853
190.6648957409014960.6702085181970090.335104259098504
200.6086139340290350.782772131941930.391386065970965
210.6595013878592450.680997224281510.340498612140755
220.6124115558681740.7751768882636510.387588444131826
230.6222978425738230.7554043148523530.377702157426177
240.684505800458560.6309883990828790.315494199541440
250.6289769648010180.7420460703979640.371023035198982
260.6474834525488250.705033094902350.352516547451175
270.6541981456854640.6916037086290720.345801854314536
280.600081521099250.7998369578015010.399918478900750
290.5317362686620670.9365274626758670.468263731337933
300.5837436579431950.832512684113610.416256342056805
310.644661888889160.710676222221680.35533811111084
320.593387737739190.813224524521620.40661226226081
330.564911272642770.870177454714460.43508872735723
340.6082031305370540.7835937389258930.391796869462946
350.7141215328041390.5717569343917220.285878467195861
360.6703717387679560.6592565224640890.329628261232044
370.6186905341044520.7626189317910960.381309465895548
380.5608824554310450.878235089137910.439117544568955
390.6917612761457920.6164774477084160.308238723854208
400.633128311626340.7337433767473210.366871688373660
410.5741857769632270.8516284460735460.425814223036773
420.6213282225257320.7573435549485360.378671777474268
430.6305542000833070.7388915998333860.369445799916693
440.565838437714570.8683231245708610.434161562285430
450.5124305844174270.9751388311651460.487569415582573
460.4463607122673440.8927214245346880.553639287732656
470.5039565946149140.9920868107701720.496043405385086
480.4305105402589890.8610210805179780.569489459741011
490.4374437919505320.8748875839010640.562556208049468
500.3949480602014990.7898961204029980.605051939798501
510.5886543420361210.8226913159277570.411345657963879
520.5094364412692370.9811271174615260.490563558730763
530.4295302551944950.859060510388990.570469744805505
540.3557153271590320.7114306543180630.644284672840968
550.3639633822505050.7279267645010090.636036617749495
560.2883516983469130.5767033966938270.711648301653087
570.4641670368205950.928334073641190.535832963179405
580.4716176901703870.9432353803407750.528382309829613
590.5811795179440470.8376409641119060.418820482055953
600.722897045001610.554205909996780.27710295499839
610.8818726784344950.236254643131010.118127321565505
620.8986599199911810.2026801600176380.101340080008819
630.8328191743970880.3343616512058250.167180825602912
640.7682455423331730.4635089153336540.231754457666827
650.691502836687880.616994326624240.30849716331212
660.6025102566451260.7949794867097480.397489743354874


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/2009/Nov/17/t1258476116djwhw76ob2osvag/10jfmv1258476022.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/10jfmv1258476022.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/1kesp1258476022.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/1kesp1258476022.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/2cdqr1258476022.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/2cdqr1258476022.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/356s61258476022.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/356s61258476022.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/4it871258476022.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/4it871258476022.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/5gldf1258476022.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/5gldf1258476022.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/6j7e41258476022.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/6j7e41258476022.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/7p8k01258476022.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/7p8k01258476022.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/81rg81258476022.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/81rg81258476022.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/9l0631258476022.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258476116djwhw76ob2osvag/9l0631258476022.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