Home » date » 2010 » Dec » 24 »

*The author of this computation has been verified*
R Software Module: /rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Fri, 24 Dec 2010 15:17:47 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz.htm/, Retrieved Fri, 24 Dec 2010 16:15:36 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0 9 12 9 24 13 14 1 9 15 6 25 12 8 1 9 14 13 19 15 12 1 8 10 7 18 12 7 1 14 10 8 18 10 10 0 14 9 8 23 12 7 1 15 18 11 23 15 16 1 11 11 11 23 9 11 0 14 14 8 17 7 12 0 8 24 20 30 11 7 1 16 18 16 26 10 11 0 11 14 8 23 14 15 1 7 18 11 35 11 7 0 9 12 8 21 15 14 0 16 5 4 23 12 7 1 10 12 8 20 14 15 0 14 11 8 24 15 17 0 11 9 6 20 9 15 1 6 11 8 17 13 14 1 12 16 14 27 16 8 1 14 14 10 18 13 8 0 13 8 9 24 12 14 0 14 18 10 26 11 8 0 10 10 8 26 16 16 1 14 13 10 25 12 10 1 8 12 7 20 13 14 1 10 12 8 26 16 16 0 9 12 7 18 14 13 1 9 13 6 19 15 5 0 15 7 5 21 8 10 1 12 14 7 24 17 15 1 14 9 9 23 13 16 0 11 9 5 31 6 15 0 12 10 8 23 8 8 0 13 10 6 19 14 13 1 14 11 8 26 12 14 1 15 13 8 14 11 12 0 11 13 6 25 16 16 0 9 13 8 27 8 10 1 8 6 6 20 15 15 0 10 13 6 24 16 16 0 10 21 12 32 14 19 1 10 11 5 26 16 14 0 9 9 7 21 9 6 1 13 18 12 21 14 13 0 8 9 11 24 13 7 1 10 15 10 23 15 13 1 11 11 8 24 15 14 1 10 14 9 21 13 13 0 16 14 9 21 11 11 0 11 8 4 13 11 14 1 6 8 11 29 12 14 0 9 11 10 21 7 7 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 time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Multiple Linear Regression - Estimated Regression Equation
DoubtsAboutActions[t] = + 13.7755021771417 -0.205953277107087Gen[t] + 0.0223981615071569ParentalExpectations[t] -0.000526927467739707ParentalCritism[t] -0.039162295223845PersonalStandards[t] -0.183120820978697Popularity[t] + 0.032976677326881KnowingPeople[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)13.77550217714172.4479095.627500
Gen-0.2059532771070870.696943-0.29550.768480.38424
ParentalExpectations0.02239816150715690.1204460.1860.8530130.426507
ParentalCritism-0.0005269274677397070.161517-0.00330.9974060.498703
PersonalStandards-0.0391622952238450.08501-0.46070.6464570.323229
Popularity-0.1831208209786970.130754-1.40050.165780.08289
KnowingPeople0.0329766773268810.1210660.27240.7861270.393064


Multiple Linear Regression - Regression Statistics
Multiple R0.191864976857339
R-squared0.0368121693444672
Adjusted R-squared-0.0457467875688642
F-TEST (value)0.445889467609333
F-TEST (DF numerator)6
F-TEST (DF denominator)70
p-value0.845498890796329
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.92373858652028
Sum Squared Residuals598.377312561533


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1911.1807454924989-2.1807454924989
2910.9896659441101-1.98966594411007
3910.7810973080432-1.78109730804324
4811.1183075983466-3.11830759834658
51411.58295234481692.41704765518312
61411.10552431035952.89447568964045
71510.84700133741954.15299866258051
81111.6240557461072-0.624055746107171
91412.53297638076631.46702361923371
10811.3441583577658-3.34415835776581
111611.47760053266834.52239946733166
121111.1150868945530-0.115086894552985
13710.8127469827062-3.81274698270621
14910.9325176636808-1.93251766368078
151611.01803937420194.98196062579812
161010.9818241801031-0.98182418010312
171410.89156264848273.10843735151727
181112.0372409325177-1.03724093251770
19611.2270570479193-5.22705704791931
201210.19704081151281.80295918848717
211411.05617531832022.94382468167983
221311.27427366744901.72572633255103
231411.40466452162252.59533547837748
241010.5747423982223-0.574742398222309
251411.00871526587862.99128473412144
26811.1324952512227-3.13249525122268
271010.4135854441295-0.413585444129536
28911.2006756204719-2.20067562047187
29910.5315508975221-1.53155089752209
301511.97204667609163.02795332390843
311210.32113578675371.6788642132463
321411.01271338074802.98728661925205
331112.1563450754592-1.15634507545924
341211.89338243310840.106617566891626
351311.11724392970151.88275607029854
361411.05771721188342.94228278811659
371511.68962854390883.31037145609120
381110.68215303290310.317846967096896
39911.8698810913882-2.86988109138823
40810.6653682450170-2.66536824501696
411010.7213153281269-0.721315328126949
421011.0492123675250-1.04921236752504
431010.3268147103718-0.326814710371836
44911.7007616138842-2.70076161388419
451311.00898978939751.99101021060251
46810.8816604117538-2.88166041175379
471010.6814037483851-0.681403748385116
481110.5866793393950.413320660604996
491011.1040987467508-1.10409874675078
501611.61034031116154.3896596888385
511111.8908143732287-0.890814373228665
52610.8714550592872-4.87145505928718
53912.1431954737796-3.14319547377956
542011.40518564384998.59481435615008
551211.19886805156860.801131948431438
56910.8490657397215-1.84906573972145
571410.80422990513933.19577009486072
58811.8838548081750-3.88385480817496
59711.4623285400194-4.4623285400194
601111.5390737238544-0.539073723854375
611411.94109816862882.05890183137123
621411.90102857387412.09897142612588
63910.5312349420945-1.53123494209454
641611.47004120255054.52995879744951
651310.96964021924142.03035978075858
661311.95588186950021.04411813049978
67811.9264315100929-3.92643151009285
68911.7948590690610-2.79485906906103
691111.3679672958837-0.367967295883691
70810.8660373815593-2.86603738155928
71710.3247070005009-3.32470700050088
721111.3671496032191-0.367149603219146
73912.6719755695628-3.67197556956278
741611.41641418786304.58358581213701
751310.88186094735652.11813905264355
761211.91139654487160.088603455128375
77910.1512325483833-1.15123254838327


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.8551095187457680.2897809625084650.144890481254232
110.884989236795570.2300215264088580.115010763204429
120.8077607577767710.3844784844464570.192239242223229
130.7709308822241220.4581382355517570.229069117775878
140.7002120616885730.5995758766228530.299787938311427
150.83759694375620.3248061124876010.162403056243800
160.7851023793395610.4297952413208780.214897620660439
170.7380860567533380.5238278864933230.261913943246661
180.738901311991840.5221973760163210.261098688008161
190.8501401310794660.2997197378410680.149859868920534
200.8207676287438720.3584647425122570.179232371256128
210.8291645761415510.3416708477168970.170835423858449
220.7801022310703220.4397955378593560.219897768929678
230.7692621519961220.4614756960077570.230737848003878
240.710678623167510.5786427536649810.289321376832491
250.7048796668116130.5902406663767740.295120333188387
260.6950808488069770.6098383023860460.304919151193023
270.6249450524323810.7501098951352380.375054947567619
280.5865545544446910.8268908911106180.413445445555309
290.5223260774597810.9553478450804380.477673922540219
300.4996349725631580.9992699451263160.500365027436842
310.4725677353764170.9451354707528340.527432264623583
320.4589997052344560.9179994104689120.541000294765544
330.4119556104127700.8239112208255390.58804438958723
340.3495676703708470.6991353407416930.650432329629154
350.3108944391938230.6217888783876450.689105560806177
360.3126726228951630.6253452457903270.687327377104837
370.3296778780994820.6593557561989630.670322121900518
380.2698751563915530.5397503127831060.730124843608447
390.2551056990310270.5102113980620550.744894300968973
400.2548629375654690.5097258751309390.74513706243453
410.2017298087666460.4034596175332930.798270191233354
420.1603551865870870.3207103731741730.839644813412913
430.1204250322242970.2408500644485940.879574967775703
440.1131640692176400.2263281384352790.88683593078236
450.09487489364284490.1897497872856900.905125106357155
460.09402797735570780.1880559547114160.905972022644292
470.06797962630841040.1359592526168210.93202037369159
480.04738072840579480.09476145681158970.952619271594205
490.03327104488660870.06654208977321740.966728955113391
500.0491519386452390.0983038772904780.950848061354761
510.03433928304839140.06867856609678290.965660716951609
520.06355927626754570.1271185525350910.936440723732454
530.0780398060196260.1560796120392520.921960193980374
540.4747792730534430.9495585461068850.525220726946557
550.3997445000307690.7994890000615390.60025549996923
560.3344382997986430.6688765995972870.665561700201357
570.3436502136855350.687300427371070.656349786314465
580.3403326276800750.680665255360150.659667372319925
590.369053482791420.738106965582840.63094651720858
600.3477440300479590.6954880600959170.652255969952041
610.664357548436780.6712849031264390.335642451563219
620.581860625746210.836278748507580.41813937425379
630.5859969810899570.8280060378200870.414003018910043
640.5288633943321320.9422732113357350.471136605667868
650.5858224350465460.8283551299069080.414177564953454
660.4540878873843190.9081757747686390.545912112615681
670.3156524774284560.6313049548569120.684347522571544


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 level40.0689655172413793OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/10t3jl1293203858.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/10t3jl1293203858.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/1424r1293203858.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/1424r1293203858.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/2424r1293203858.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/2424r1293203858.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/3fclc1293203858.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/3fclc1293203858.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/4fclc1293203858.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/4fclc1293203858.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/5fclc1293203858.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/5fclc1293203858.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/68lkx1293203858.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/68lkx1293203858.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/70cj01293203858.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/70cj01293203858.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/80cj01293203858.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/80cj01293203858.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/90cj01293203858.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293203736hf3b751s3tghvoz/90cj01293203858.ps (open in new window)


 
Parameters (Session):
par1 = 2 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 2 ; 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