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:33:32 +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/t1290529917xz3l9imb6ef68ko.htm/, Retrieved Tue, 23 Nov 2010 17:32:08 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Nov/23/t1290529917xz3l9imb6ef68ko.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 14 11 24 26 14 11 7 25 23 18 6 17 30 25 15 12 10 19 23 18 8 12 22 19 11 10 12 22 29 17 10 11 25 25 19 11 11 23 21 7 16 12 17 22 12 11 13 21 25 13 13 14 19 24 15 12 16 19 18 14 8 11 15 22 14 12 10 16 15 16 11 11 23 22 16 4 15 27 28 12 9 9 22 20 12 8 11 14 12 13 8 17 22 24 16 14 17 23 20 9 15 11 23 21 11 11 11 20 28 14 8 15 23 24 11 9 13 19 24 17 9 13 22 23 14 8 12 32 25 15 9 17 25 21 11 16 9 29 26 15 11 9 28 22 14 16 12 17 22 11 12 18 28 22 12 12 12 29 23 9 10 15 14 17 16 9 16 25 23 13 10 10 26 23 15 12 11 20 25 10 14 9 32 24 13 14 17 25 21 16 10 12 20 28 15 6 6 15 16 13 13 12 24 29 16 11 11 23 22 15 7 7 22 28 16 15 13 14 16 15 9 12 24 25 13 10 13 24 24 11 10 12 22 29 17 10 11 19 23 10 11 9 31 30 17 8 11 22 24 14 13 10 19 25 15 11 11 25 25 16 9 15 27 26 12 12 14 22 24 11 12 13 19 22 16 8 16 25 24 9 14 8 19 27 15 11 16 20 24 15 10 12 17 21 13 11 9 17 23 15 10 15 22 20 15 12 16 19 18 18 8 15 21 22 16 14 11 20 29 12 14 11 17 15 15 8 16 18 24 13 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 time7 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
Perceived_happiness[t] = + 17.1715157230984 -0.416465963958886Doubts_about_actions[t] + 0.113485164740974Parental_expectations[t] + 0.0461100852218752Personal_standards[t] -0.0662166842626288Organization[t] + 0.00538992359532798t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)17.17151572309842.4831156.915300
Doubts_about_actions-0.4164659639588860.099705-4.1778e-054e-05
Parental_expectations0.1134851647409740.0922641.230.2225910.111296
Personal_standards0.04611008522187520.0649020.71050.4796520.239826
Organization-0.06621668426262880.076932-0.86070.3921720.196086
t0.005389923595327980.0110590.48740.6274460.313723


Multiple Linear Regression - Regression Statistics
Multiple R0.468551377754906
R-squared0.219540393596021
Adjusted R-squared0.166806636406563
F-TEST (value)4.16318512650771
F-TEST (DF numerator)5
F-TEST (DF denominator)74
p-value0.00218216744827227
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.26281152301808
Sum Squared Residuals378.903383164052


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11011.9797272179168-1.97972721791676
21413.02533451243460.974665487565415
31816.34602296081821.65397703918180
41512.68344337855802.31655662144197
51814.9848644801873.01513551981301
61113.4951556332383-2.49515563323826
71713.79025738480883.20974261519124
81913.55182791105205.44817208894804
9711.2454959840000-4.24549598399995
101213.4324911802303-1.4324911802303
111312.69243085446770.307569145532292
121513.73855717707961.26144282292036
131414.3930780548676-0.393078054867631
141413.12874583294670.871254167053282
151613.52334069195662.47665930804337
161616.6850732575398-0.685073257539783
171214.2264054208865-2.22640542088649
181215.0360844302487-3.03608443024868
191315.2966658129133-2.29666581291331
201613.11423677502772.88576322497229
21911.9560330619557-2.95603306195568
221113.0254397958825-2.02543979588253
231415.1373652630345-1.13736526303455
241114.3148785523015-3.31487855230154
251714.52481541582512.47518458417488
261415.1618536223319-1.16185362233186
271515.2602995461706-0.260299546170558
281111.2959033237003-0.295903323700252
291513.60237971891861.39762028108135
301411.35868437950182.64131562049816
311114.2180600848192-3.21806008481918
321213.5224324209279-1.52243242092792
33914.4068585939116-5.40685859391158
341615.05211047807160.947889521928377
351314.0062335344841-1.00623353448410
361512.88308281504612.11691718495388
371012.4481081881669-2.44810818816686
381313.2372588859247-0.237258885924736
391613.64701962570302.35298037429704
401515.2014122017302-0.201412201730163
411312.52662523764180.473374762358168
421613.66886862903052.33113137096951
431514.44277155869980.557228441300185
441612.22306428844643.77693571155356
451514.47891552490920.521084475090796
461314.2475413335492-1.24754133354925
471113.7161425006467-2.71614250064671
481713.86701710941123.13298289058879
491013.3187749723898-3.31877497238980
501714.78284245592262.21715754407737
511412.38787045505431.61212954494570
521513.61633798263961.38366201736037
531614.93460397929771.06539602070226
541213.4789937886913-1.47899378869132
551113.3650016604053-2.36500166040531
561615.52093807686510.479061923134904
57911.6443403346602-2.64434033466018
581514.05176960606970.948230393930283
591514.08000463178230.919995368217702
601313.1960397286706-0.196039728670561
611514.72800708356790.271992916432120
621514.00805335684600.99194664315396
631815.39317540492922.60682459507083
641611.93620201074704.06379798925298
651212.7302952583535-0.73029525835352
661515.2520667162652-0.252066716265249
671315.7559348715538-2.75593487155382
681315.0607213248986-2.06072132489861
691312.84039587944440.159604120555556
701413.50417608640140.495823913598601
711514.05930117228050.940698827719508
721113.2124941624682-2.21249416246822
731414.3584303942251-0.358430394225115
741714.79871545746952.20128454253047
751314.3846832594306-1.38468325943065
761214.5777864832943-2.57778648329434
771313.5554758963067-0.555475896306692
781614.17704108479861.82295891520145
791314.8112319451956-1.81123194519565
801915.67787983715413.32212016284588


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.8573967357871150.285206528425770.142603264212885
100.7882073810606750.4235852378786500.211792618939325
110.733752897938570.532494204122860.26624710206143
120.6300993412649580.7398013174700840.369900658735042
130.5886210778562280.8227578442875440.411378922143772
140.6096993890214230.7806012219571540.390300610978577
150.5375662238317910.9248675523364170.462433776168209
160.5361574368697180.9276851262605650.463842563130282
170.7125629818885670.5748740362228660.287437018111433
180.8292956142190360.3414087715619280.170704385780964
190.7850230037341980.4299539925316030.214976996265802
200.8024397848553350.3951204302893310.197560215144665
210.8208320713392660.3583358573214680.179167928660734
220.8041739814941260.3916520370117490.195826018505874
230.7468074569924670.5063850860150650.253192543007533
240.7346699755993210.5306600488013570.265330024400679
250.8112222252131580.3775555495736840.188777774786842
260.7864567908954710.4270864182090570.213543209104529
270.7289542779255850.5420914441488310.271045722074415
280.6706251068083680.6587497863832650.329374893191632
290.6439750380191170.7120499239617650.356024961980883
300.7732551943693160.4534896112613680.226744805630684
310.8157959725465190.3684080549069620.184204027453481
320.7778304770893140.4443390458213730.222169522910687
330.917365724267610.1652685514647790.0826342757323897
340.9079223781421430.1841552437157130.0920776218578567
350.8794848958740940.2410302082518120.120515104125906
360.9092442442160890.1815115115678230.0907557557839113
370.9076137273715960.1847725452568080.0923862726284042
380.8851177495351820.2297645009296350.114882250464818
390.9067037756703050.186592448659390.093296224329695
400.877797856487930.2444042870241390.122202143512070
410.8449028919910570.3101942160178860.155097108008943
420.8452531930414980.3094936139170030.154746806958502
430.8039554624441830.3920890751116340.196044537555817
440.8792022873071540.2415954253856910.120797712692846
450.8431330519663850.3137338960672290.156866948033615
460.8090773143874730.3818453712250540.190922685612527
470.83736172717290.3252765456542010.162638272827101
480.8796707462124410.2406585075751170.120329253787559
490.9267934148537290.1464131702925420.0732065851462712
500.9275678166143520.1448643667712960.0724321833856482
510.9200206045645650.1599587908708690.0799793954354347
520.9064755968173850.1870488063652290.0935244031826147
530.8766744947691320.2466510104617370.123325505230868
540.8510936486512380.2978127026975240.148906351348762
550.848965593270060.3020688134598810.151034406729940
560.7989396763099670.4021206473800670.201060323690034
570.8497273894797490.3005452210405010.150272610520251
580.7992240201363980.4015519597272050.200775979863602
590.7453567528866640.5092864942266720.254643247113336
600.6733265101311940.6533469797376130.326673489868806
610.5906676242719530.8186647514560950.409332375728047
620.5299507609373030.9400984781253930.470049239062697
630.6778217729950440.6443564540099130.322178227004956
640.7338031474344320.5323937051311350.266196852565568
650.6982933626437710.6034132747124590.301706637356229
660.6416891497712710.7166217004574570.358310850228729
670.6493963211134070.7012073577731850.350603678886593
680.7088842098241660.5822315803516680.291115790175834
690.7080922909784230.5838154180431550.291907709021577
700.5688966383057850.862206723388430.431103361694215
710.5793670486633990.8412659026732020.420632951336601


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


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


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


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


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


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


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290529917xz3l9imb6ef68ko/63y8k1290530003.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290529917xz3l9imb6ef68ko/63y8k1290530003.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290529917xz3l9imb6ef68ko/7w7751290530003.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290529917xz3l9imb6ef68ko/7w7751290530003.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290529917xz3l9imb6ef68ko/8w7751290530003.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290529917xz3l9imb6ef68ko/8w7751290530003.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/23/t1290529917xz3l9imb6ef68ko/9w7751290530003.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/23/t1290529917xz3l9imb6ef68ko/9w7751290530003.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