Home » date » 2010 » Nov » 23 »

*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, 23 Nov 2010 16:04:09 +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/Nov/23/t1290528255aerphb6upb323gm.htm/, Retrieved Tue, 23 Nov 2010 17:04:31 +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/Nov/23/t1290528255aerphb6upb323gm.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 «
10 24 14 11 12 24 26 14 25 11 7 8 25 23 18 17 6 17 8 30 25 15 18 12 10 8 19 23 18 18 8 12 9 22 19 11 16 10 12 7 22 29 17 20 10 11 4 25 25 19 16 11 11 11 23 21 7 18 16 12 7 17 22 12 17 11 13 7 21 25 13 23 13 14 12 19 24 15 30 12 16 10 19 18 14 23 8 11 10 15 22 14 18 12 10 8 16 15 16 15 11 11 8 23 22 16 12 4 15 4 27 28 12 21 9 9 9 22 20 12 15 8 11 8 14 12 13 20 8 17 7 22 24 16 31 14 17 11 23 20 9 27 15 11 9 23 21 11 19 11 11 8 20 28 14 16 8 15 9 23 24 11 21 9 13 9 19 24 17 17 9 13 6 22 23 14 25 8 12 7 32 25 15 17 9 17 9 25 21 11 32 16 9 6 29 26 15 33 11 9 6 28 22 14 13 16 12 5 17 22 11 32 12 18 12 28 22 12 25 12 12 7 29 23 9 18 10 15 8 14 17 16 17 9 16 5 25 23 13 20 10 10 8 26 23 15 15 12 11 8 20 25 10 33 14 9 6 32 24 13 23 14 17 7 25 21 16 20 10 12 8 20 28 15 11 6 6 4 15 16 13 26 13 12 8 24 29 16 15 11 11 8 23 22 15 12 7 7 4 22 28 16 14 15 13 8 14 16 15 17 9 12 9 24 25 13 21 10 13 6 24 24 11 16 10 12 7 22 29 17 10 10 11 5 19 23 10 29 11 9 5 31 30 17 31 8 11 8 22 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 time14 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
Perceived_happiness[t] = + 16.7653226652419 -0.0589756016812406Concern_over_mistakes[t] -0.366095504550008Doubts_about_actions[t] + 0.119754749652656Parental_expectations[t] + 0.0379382299071181Parental_criticism[t] + 0.0817201066571233Personal_standards[t] -0.0714427177666822Organization[t] + 0.00639294723885901t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)16.76532266524192.593316.464800
Concern_over_mistakes-0.05897560168124060.055125-1.06990.2882580.144129
Doubts_about_actions-0.3660955045500080.1125-3.25420.0017340.000867
Parental_expectations0.1197547496526560.1013281.18190.2411520.120576
Parental_criticism0.03793822990711810.1322660.28680.7750640.387532
Personal_standards0.08172010665712330.0739451.10510.2727780.136389
Organization-0.07144271776668220.079607-0.89740.3724740.186237
t0.006392947238859010.0111770.5720.5691140.284557


Multiple Linear Regression - Regression Statistics
Multiple R0.481497231972275
R-squared0.231839584396963
Adjusted R-squared0.15715732176889
F-TEST (value)3.10434601521854
F-TEST (DF numerator)7
F-TEST (DF denominator)72
p-value0.00642993924968027
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.27587675343079
Sum Squared Residuals372.932279770080


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11012.1072970113327-2.10729701133274
21412.81827721225841.18172278774156
31816.59021508997611.40978491002391
41512.74674042297012.25325957702994
51815.02589430865952.97410569134051
61113.6277438126798-2.62774381267975
71713.69559610485773.30440389514226
81913.95969422137395.04030577862614
9711.4238969148150-4.42389691481496
101213.5520500094662-1.5520500094662
111312.68984674115830.310153258841718
121513.24179532726961.75820467273036
131413.91397445851870.0860255414812899
141413.13705131752070.862948682479257
151613.87816304623912.12183695376092
161616.8496415293823-0.84964152938227
171214.1288803992074-2.12888039920742
181214.9745746193584-2.97457461935839
191315.1631280662567-2.16312806625667
201612.84346026505423.15653973494585
21911.8538124389711-2.85381243897111
221113.0131946436147-2.01319464361466
231415.3426893291031-1.34268932910311
241114.1217188374520-3.12171883745195
251714.56680253943252.43319746056753
261415.0599852890637-1.05998528906375
271515.5604678777469-0.560467877746906
281111.0173724187696-0.0173724187695717
291512.99931805148682.00068194851316
301411.77715035542302.22284964457704
311114.0104061694124-3.01040616941241
321213.5316860698589-1.53168606985886
33914.2831564235748-5.28315642357475
341615.19082540360440.809174596395574
351314.1312023397121-1.13120233971209
361513.18683096043371.81316903956631
371012.1361701068428-2.13617010684281
381313.3705827047226-0.370582704722631
391613.54874939919672.45125060080331
401515.1287354421369-0.12873544213691
411312.36483287879880.635167121201249
421614.05077262168831.94922737831173
431514.55732606067460.44267393932543
441612.59083694563853.40916305436151
451514.70927620205920.290723797940766
461314.1910540157211-1.19105401572111
471113.8898546494730-2.88985464947297
481714.23796598396112.76203401603890
491012.9987597509198-2.99875975091978
501714.03198754415882.96801245584117
511412.993131958431.00686804157001
521513.76893614568491.23106385431514
531614.52671880927661.47328119072336
541213.5801358105917-1.58013581059172
551113.3265608938328-2.32656089383280
561615.63888737413450.361112625865480
57911.4194025490300-2.41940254902998
581513.9719959302741.028004069726
591513.95258442014341.0474155798566
601313.1917825235704-0.191782523570402
611514.58981277968050.410187220319455
621513.56144268921261.43855731078741
631815.49783946742122.50216053257877
641611.95194324931934.04805675068069
651212.4057315724223-0.405731572422276
661514.73484774628760.265152253712442
671316.5683557984367-3.56835579843668
681315.0756693226037-2.07566932260374
691312.82769135300230.172308646997713
701413.01850512257120.981494877428774
711514.31529587969930.684704120300686
721113.5822926187289-2.58229261872895
731414.4377215445217-0.437721544521706
741714.85752023551022.14247976448983
751314.5697258355525-1.56972583555245
761214.4361380697922-2.43613806979218
771313.8573303710775-0.857330371077534
781614.07540529088621.92459470911382
791314.6988431298621-1.69884312986214
801915.74630717643723.25369282356277


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
110.84244682906570.3151063418686010.157553170934300
120.7424651710438330.5150696579123350.257534828956167
130.7064646727258470.5870706545483070.293535327274153
140.7357770458459580.5284459083080840.264222954154042
150.6627026723183010.6745946553633980.337297327681699
160.6326611529678250.734677694064350.367338847032175
170.7937150414008660.4125699171982680.206284958599134
180.8900563516723610.2198872966552780.109943648327639
190.851867073727250.2962658525454990.148132926272750
200.86418771262670.2716245747466010.135812287373300
210.8716654242692460.2566691514615080.128334575730754
220.8481516020044230.3036967959911540.151848397995577
230.7975597769886950.4048804460226110.202440223011305
240.7797043536976780.4405912926046440.220295646302322
250.8529872045814660.2940255908370680.147012795418534
260.8262908774342440.3474182451315120.173709122565756
270.774115160891130.4517696782177400.225884839108870
280.7224966271806730.5550067456386530.277503372819327
290.7134168144933630.5731663710132740.286583185506637
300.7882979765311090.4234040469377830.211702023468891
310.8014766053863410.3970467892273180.198523394613659
320.7640739006909050.4718521986181910.235926099309096
330.9072272986713160.1855454026573680.0927727013286838
340.8857705236047860.2284589527904270.114229476395214
350.8531189397056760.2937621205886490.146881060294324
360.8775485814691290.2449028370617420.122451418530871
370.8662087060419580.2675825879160840.133791293958042
380.829683166162740.3406336676745210.170316833837260
390.874999039605110.2500019207897790.125000960394889
400.8369297125471220.3261405749057560.163070287452878
410.8018791911610780.3962416176778440.198120808838922
420.7807724502917230.4384550994165550.219227549708277
430.7276150806732670.5447698386534670.272384919326733
440.7944867164598480.4110265670803040.205513283540152
450.7413831611975960.5172336776048090.258616838802404
460.6915722269002520.6168555461994960.308427773099748
470.7295749061598350.540850187680330.270425093840165
480.7813402024136240.4373195951727510.218659797586376
490.8508555348121990.2982889303756020.149144465187801
500.8737661152722880.2524677694554250.126233884727712
510.8760919686859340.2478160626281330.123908031314066
520.8599927058704540.2800145882590920.140007294129546
530.8223189342318460.3553621315363070.177681065768154
540.7844669746434880.4310660507130250.215533025356512
550.7736651266461480.4526697467077040.226334873353852
560.7064863700131190.5870272599737610.293513629986881
570.770067647074580.4598647058508380.229932352925419
580.7070020651195640.5859958697608720.292997934880436
590.6409160940480060.7181678119039870.359083905951994
600.5519241866749180.8961516266501640.448075813325082
610.4618254000471610.9236508000943220.538174599952839
620.3839613739990460.7679227479980910.616038626000954
630.5262402621054090.9475194757891830.473759737894591
640.6971631776430910.6056736447138180.302836822356909
650.5904055651153480.8191888697693040.409594434884652
660.5423622060919980.9152755878160040.457637793908002
670.4590893114856350.918178622971270.540910688514365
680.4570107618350370.9140215236700740.542989238164963
690.6507264254376460.6985471491247080.349273574562354


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/2010/Nov/23/t1290528255aerphb6upb323gm/10jmez1290528234.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/10jmez1290528234.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/1u30n1290528234.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/1u30n1290528234.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/2nczq1290528234.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/2nczq1290528234.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/3nczq1290528234.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/3nczq1290528234.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/4nczq1290528234.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/4nczq1290528234.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/5x3gb1290528234.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/5x3gb1290528234.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/6x3gb1290528234.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/6x3gb1290528234.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/78cfw1290528234.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/78cfw1290528234.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/88cfw1290528234.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/88cfw1290528234.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/9jmez1290528234.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290528255aerphb6upb323gm/9jmez1290528234.ps (open in new window)


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