Home » date » 2009 » Nov » 21 »

WS7.2

*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: Sat, 21 Nov 2009 05:05:26 -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/21/t1258805326exq5u60xxrtbwaf.htm/, Retrieved Sat, 21 Nov 2009 13:08:58 +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/21/t1258805326exq5u60xxrtbwaf.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 «
269285 8.2 269829 8 270911 7.5 266844 6.8 271244 6.5 269907 6.6 271296 7.6 270157 8 271322 8.1 267179 7.7 264101 7.5 265518 7.6 269419 7.8 268714 7.8 272482 7.8 268351 7.5 268175 7.5 270674 7.1 272764 7.5 272599 7.5 270333 7.6 270846 7.7 270491 7.7 269160 7.9 274027 8.1 273784 8.2 276663 8.2 274525 8.2 271344 7.9 271115 7.3 270798 6.9 273911 6.6 273985 6.7 271917 6.9 273338 7 270601 7.1 273547 7.2 275363 7.1 281229 6.9 277793 7 279913 6.8 282500 6.4 280041 6.7 282166 6.6 290304 6.4 283519 6.3 287816 6.2 285226 6.5 287595 6.8 289741 6.8 289148 6.4 288301 6.1 290155 5.8 289648 6.1 288225 7.2 289351 7.3 294735 6.9 305333 6.1 309030 5.8 310215 6.2 321935 7.1 325734 7.7 320846 7.9 323023 7.7 319753 7.4 321753 7.5 320757 8 324479 8.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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 317487.905437682 -5289.50501950168X[t] + 4994.36570923069M1[t] + 6573.16604386424M2[t] + 7132.07362427232M3[t] + 3824.18911972193M4[t] + 2881.13794850487M5[t] + 2923.21219557962M6[t] + 5193.80628833877M7[t] + 6833.78978898882M8[t] + 414.960401560134M9[t] -1019.94060234020M10[t] -352.491104290366M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)317487.90543768228089.18760511.302900
X-5289.505019501683793.843694-1.39420.1688540.084427
M14994.3657092306911596.3362770.43070.6683810.33419
M26573.1660438642411638.1853850.56480.5745110.287256
M37132.0736242723211551.601650.61740.5395120.269756
M43824.1891197219311471.8595560.33340.7401350.370067
M52881.1379485048711460.1434410.25140.8024380.401219
M62923.2121955796211488.680540.25440.8001020.400051
M75193.8062883387711497.7598980.45170.6532450.326622
M86833.7897889888211509.1598160.59380.5551010.27755
M9414.96040156013411969.7221550.03470.972470.486235
M10-1019.9406023402011974.531075-0.08520.9324310.466215
M11-352.49110429036611994.947476-0.02940.9766630.488331


Multiple Linear Regression - Regression Statistics
Multiple R0.213187085790247
R-squared0.0454487335477382
Adjusted R-squared-0.162816997314573
F-TEST (value)0.218224733178908
F-TEST (DF numerator)12
F-TEST (DF denominator)55
p-value0.996878762606105
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation18919.7074278135
Sum Squared Residuals19687543103.4735


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1269285279108.329986999-9823.32998699944
2269829281745.031325533-11916.0313255327
3270911284948.691415692-14037.6914156916
4266844285343.460424792-18499.4604247924
5271244285987.260759426-14743.2607594258
6269907285500.384504550-15593.3845045504
7271296282481.473577808-11185.4735778079
8270157282005.655070657-11848.6550706572
9271322275057.875181278-3735.87518127840
10267179275738.776185179-8559.77618517873
11264101277464.126687129-13363.1266871289
12265518277287.667289469-11769.6672894691
13269419281224.131994799-11805.1319947995
14268714282802.932329433-14088.932329433
15272482283361.839909841-10879.8399098411
16268351281640.806911141-13289.8069111412
17268175280697.755739924-12522.7557399241
18270674282855.631994800-12181.6319947996
19272764283010.424079758-10246.4240797580
20272599284650.407580408-12051.4075804081
21270333277702.627691029-7369.62769102923
22270846275738.776185179-4892.77618517873
23270491276406.225683229-5915.22568322856
24269160275700.815783619-6540.81578361859
25274027279637.280488949-5610.28048894894
26273784280687.130321632-6903.13032163233
27276663281246.037902040-4583.03790204042
28274525277938.15339749-3413.15339749002
29271344278581.953732123-7237.95373212347
30271115281797.730990899-10682.7309908992
31270798286184.127091459-15386.1270914590
32273911289410.962097960-15499.9620979596
33273985282463.182208581-8478.18220858074
34271917279970.38020078-8053.38020078007
35273338280108.87919688-6770.87919687974
36270601279932.41979922-9331.41979921994
37273547284397.835006500-10850.8350065005
38275363286505.585843084-11142.5858430842
39281229288122.394427393-6893.39442739259
40277793284285.559420892-6492.55942089202
41279913284400.409253575-4487.40925357531
42282500286558.285508451-4058.28550845072
43280041287242.028095359-7201.02809535937
44282166289410.962097960-7244.96209795959
45290304284050.0337144316253.96628556876
46283519283144.083212481374.916787518922
47287816284340.4832124813475.51678751892
48285226283106.1228109212119.87718907906
49287595286513.6370143011081.36298569888
50289741288092.4373489351648.56265106533
51289148290767.146937143-1619.14693714342
52288301289046.113938444-745.113938443531
53290155289689.914273077465.085726923015
54289648288145.1370143011502.86298569877
55288225284597.2755856093627.72441439147
56289351285708.3085843083642.69141569158
57294735281405.2812046813329.7187953196
58305333284201.98421638121131.0157836186
59309030286456.28522028222573.7147797182
60310215284692.97431677125522.0256832286
61321935284926.78550845137008.2144915494
62325734283331.88283138342402.1171686168
63320846282832.88940789138013.1105921091
64323023280582.90590724142440.0940927591
65319753281226.70624187438526.2937581257
66321753280739.82998699941013.1700130011
67320757280365.67157000740391.3284299928
68324479281476.70456870743002.2954312929


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
164.04726383938087e-058.09452767876174e-050.999959527361606
173.9635164909055e-057.927032981811e-050.99996036483509
182.7899084026308e-065.5798168052616e-060.999997210091597
192.1997906532819e-074.3995813065638e-070.999999780020935
202.5628955899716e-085.1257911799432e-080.999999974371044
212.06248990383508e-094.12497980767016e-090.99999999793751
228.60435482866107e-101.72087096573221e-090.999999999139564
232.56441790436846e-095.12883580873693e-090.999999997435582
245.96786655598481e-101.19357331119696e-090.999999999403213
253.21063236347167e-106.42126472694335e-100.999999999678937
261.37950811913018e-102.75901623826036e-100.99999999986205
275.37675037074263e-111.07535007414853e-100.999999999946233
282.35299604439305e-114.7059920887861e-110.99999999997647
297.35448261911208e-121.47089652382242e-110.999999999992645
302.07098427221814e-124.14196854443628e-120.999999999997929
313.27682319596922e-136.55364639193843e-130.999999999999672
322.24942649977273e-134.49885299954545e-130.999999999999775
331.22913332100359e-132.45826664200718e-130.999999999999877
347.51178128900476e-141.50235625780095e-130.999999999999925
354.03046746371523e-138.06093492743047e-130.999999999999597
369.98760480636597e-131.99752096127319e-120.999999999999001
371.93846373570703e-123.87692747141405e-120.999999999998062
383.78648413945245e-127.57296827890491e-120.999999999996213
391.08072496182894e-112.16144992365788e-110.999999999989193
401.35726153600103e-102.71452307200205e-100.999999999864274
414.67434826407799e-099.34869652815598e-090.999999995325652
423.31522028514376e-086.63044057028753e-080.999999966847797
432.34034184644552e-084.68068369289105e-080.999999976596581
441.81622521119419e-083.63245042238839e-080.999999981837748
451.31141761759197e-072.62283523518394e-070.999999868858238
466.70895848320283e-071.34179169664057e-060.999999329104152
472.3674338603258e-054.7348677206516e-050.999976325661397
480.001651794099632210.003303588199264410.998348205900368
490.04430116453091870.08860232906183750.955698835469081
500.1022510113528160.2045020227056330.897748988647184
510.0625983017594480.1251966035188960.937401698240552
520.03648448932240370.07296897864480730.963515510677596


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level330.891891891891892NOK
5% type I error level330.891891891891892NOK
10% type I error level350.945945945945946NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/10elfx1258805121.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/10elfx1258805121.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/1isa31258805121.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/1isa31258805121.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/2gmu11258805121.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/2gmu11258805121.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/3bxoy1258805121.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/3bxoy1258805121.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/4fw2z1258805121.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/4fw2z1258805121.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/5ar0r1258805121.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/5ar0r1258805121.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/60v7u1258805121.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/60v7u1258805121.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/761i21258805121.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/761i21258805121.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/8nph51258805121.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/8nph51258805121.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/94fza1258805121.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258805326exq5u60xxrtbwaf/94fza1258805121.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Include Monthly 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