Home » date » 2009 » Dec » 12 »

*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, 12 Dec 2009 07:10:13 -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/12/t1260627121gs7sbr6s1a41njn.htm/, Retrieved Sat, 12 Dec 2009 15:12:13 +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/12/t1260627121gs7sbr6s1a41njn.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 «
467 98.8 460 100.5 448 110.4 443 96.4 436 101.9 431 106.2 484 81 510 94.7 513 101 503 109.4 471 102.3 471 90.7 476 96.2 475 96.1 470 106 461 103.1 455 102 456 104.7 517 86 525 92.1 523 106.9 519 112.6 509 101.7 512 92 519 97.4 517 97 510 105.4 509 102.7 501 98.1 507 104.5 569 87.4 580 89.9 578 109.8 565 111.7 547 98.6 555 96.9 562 95.1 561 97 555 112.7 544 102.9 537 97.4 543 111.4 594 87.4 611 96.8 613 114.1 611 110.3 594 103.9 595 101.6 591 94.6 589 95.9 584 104.7 573 102.8 567 98.1 569 113.9 621 80.9 629 95.7 628 113.2 612 105.9 595 108.8 597 102.3 593 99 590 100.7 580 115.5 574 100.7 573 109.9 573 114.6 620 85.4 626 100.5 620 114.8 588 116.5 566 112.9 557 102
 
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] = + 482.709293482212 + 0.597911770962894X[t] + e[t]


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


Multiple Linear Regression - Regression Statistics
Multiple R0.0906549585695
R-squared0.00821832151323775
Adjusted R-squared-0.00594998817943027
F-TEST (value)0.580049539536156
F-TEST (DF numerator)1
F-TEST (DF denominator)70
p-value0.448851281961188
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation55.4158779872254
Sum Squared Residuals214964.367316654


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1467541.782976453349-74.7829764533488
2460542.799426463984-82.7994264639836
3448548.718752996516-100.718752996516
4443540.347988203036-97.3479882030357
5436543.636502943332-107.636502943332
6431546.207523558472-115.207523558472
7484531.140146930207-47.1401469302072
8510539.331538192399-29.3315381923988
9513543.098382349465-30.0983823494650
10503548.120841225553-45.1208412255533
11471543.875667651717-72.8756676517168
12471536.939891108547-65.9398911085472
13476540.228405848843-64.2284058488431
14475540.168614671747-65.1686146717469
15470546.08794120428-76.0879412042795
16461544.353997068487-83.3539970684871
17455543.696294120428-88.696294120428
18456545.310655902028-89.3106559020277
19517534.129705785022-17.1297057850216
20525537.776967587895-12.7769675878953
21523546.626061798146-23.6260617981461
22519550.034158892635-31.0341588926346
23509543.516920589139-34.5169205891391
24512537.717176410799-25.717176410799
25519540.945899973999-21.9458999739986
26517540.706735265613-23.7067352656135
27510545.729194141702-35.7291941417018
28509544.114832360102-35.1148323601019
29501541.364438213673-40.3644382136726
30507545.191073547835-38.1910735478352
31569534.9667822643734.0332177356303
32580536.46156169177743.5384383082231
33578548.36000593393929.6399940660615
34565549.49603829876815.503961701232
35547541.6633940991545.33660590084592
36555540.64694408851714.3530559114828
37562539.57070290078422.4292970992161
38561540.70673526561320.2932647343865
39555550.0939500697314.90604993026912
40544544.234414714295-0.234414714294529
41537540.945899973999-3.94589997399861
42543549.316664767479-6.31666476747913
43594534.9667822643759.0332177356303
44611540.58715291142170.4128470885791
45613550.93102654907962.0689734509211
46611548.6589618194262.3410381805801
47594544.83232648525749.1676735147426
48595543.45712941204351.5428705879572
49591539.27174701530251.7282529846975
50589540.04903231755448.9509676824457
51584545.31065590202838.6893440979723
52573544.17462353719828.8253764628018
53567541.36443821367325.6355617863274
54569550.81144419488618.1885558051136
55621531.08035575311189.9196442468891
56629539.92944996336289.0705500366383
57628550.39290595521277.6070940447877
58612546.02815002718365.9718499728168
59595547.76209416297647.2379058370244
60597543.87566765171753.1243323482832
61593541.90255880753951.0974411924608
62590542.91900881817647.0809911818238
63580551.76810302842728.231896971573
64574542.91900881817631.0809911818238
65573548.41979711103524.5802028889652
66573551.2299824345621.7700175654396
67620533.77095872244486.2290412775561
68626542.79942646398483.2005735360164
69620551.34956478875368.650435211247
70588552.3660147993935.6339852006101
71566550.21353242392315.7864675760765
72557543.69629412042813.3037058795721


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.02915649728267920.05831299456535840.97084350271732
60.01447326234834730.02894652469669450.985526737651653
70.004464322979627280.008928645959254550.995535677020373
80.02864552421690290.05729104843380580.971354475783097
90.07517479493282570.1503495898656510.924825205067174
100.1020211856811620.2040423713623230.897978814318838
110.068389511288750.13677902257750.93161048871125
120.04580201853719250.0916040370743850.954197981462807
130.03050630177227480.06101260354454960.969493698227725
140.02086593618843290.04173187237686570.979134063811567
150.01563392545958710.03126785091917420.984366074540413
160.01376275675786540.02752551351573090.986237243242135
170.01572026027763430.03144052055526860.984279739722366
180.02043732252284600.04087464504569200.979562677477154
190.02483034813746080.04966069627492170.97516965186254
200.0404884839437260.0809769678874520.959511516056274
210.1045722427268140.2091444854536280.895427757273186
220.1808590543051670.3617181086103350.819140945694833
230.2118914354697270.4237828709394550.788108564530273
240.2357412897619980.4714825795239960.764258710238002
250.2815080013109760.5630160026219530.718491998689024
260.3325206589774680.6650413179549370.667479341022532
270.4118031911667270.8236063823334550.588196808833273
280.5096139766887340.9807720466225320.490386023311266
290.6607197716777850.678560456644430.339280228322215
300.8121703377635780.3756593244728430.187829662236422
310.900225903849460.1995481923010810.0997740961505404
320.9494368615656740.1011262768686520.050563138434326
330.9850719394500420.02985612109991660.0149280605499583
340.991774608702390.01645078259521980.00822539129760988
350.994480904883980.011038190232040.00551909511602
360.9960808157843870.007838368431226770.00391918421561339
370.9970467614648220.005906477070356340.00295323853517817
380.9977615088684070.004476982263186880.00223849113159344
390.9982614723621980.003477055275603520.00173852763780176
400.9990770461883450.001845907623309240.000922953811654622
410.9997899559769210.0004200880461584350.000210044023079217
420.9999267277853330.0001465444293345137.32722146672565e-05
430.99993560095220.0001287980956018476.43990478009235e-05
440.9999587644706878.24710586254401e-054.12355293127201e-05
450.9999833715741833.32568516346054e-051.66284258173027e-05
460.999989188285462.16234290818674e-051.08117145409337e-05
470.9999834544081473.30911837062954e-051.65455918531477e-05
480.9999735794270615.28411458776876e-052.64205729388438e-05
490.9999572860052758.54279894499194e-054.27139947249597e-05
500.9999284972208630.0001430055582734357.15027791367177e-05
510.9998686654332330.0002626691335342900.000131334566767145
520.9998070114076330.0003859771847346650.000192988592367332
530.999824990588170.0003500188236586670.000175009411829333
540.999697335831250.000605328337499980.00030266416874999
550.9995048337178330.000990332564334310.000495166282167155
560.9995292602930.0009414794139987060.000470739706999353
570.9998021193939150.0003957612121703120.000197880606085156
580.9997143868776040.0005712262447910380.000285613122395519
590.9993160565044160.001367886991168110.000683943495584055
600.9983347587273160.003330482545368160.00166524127268408
610.9959229796341520.008154040731695960.00407702036584798
620.9903484348952320.01930313020953520.0096515651047676
630.977486242525860.04502751494828110.0225137574741405
640.9605801804415210.07883963911695740.0394198195584787
650.923352325336640.1532953493267210.0766476746633605
660.8523990838450430.2952018323099140.147600916154957
670.7414254303976050.517149139204790.258574569602395


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level270.428571428571429NOK
5% type I error level390.619047619047619NOK
10% type I error level450.714285714285714NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/10qthm1260627008.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/10qthm1260627008.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/1f0k61260627008.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/1f0k61260627008.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/2xoo91260627008.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/2xoo91260627008.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/3hllt1260627008.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/3hllt1260627008.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/45qku1260627008.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/45qku1260627008.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/5hg5i1260627008.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/5hg5i1260627008.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/62dwp1260627008.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/62dwp1260627008.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/7rtg11260627008.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/7rtg11260627008.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/84svp1260627008.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/12/t1260627121gs7sbr6s1a41njn/84svp1260627008.ps (open in new window)


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