Home » date » 2010 » Dec » 18 »

paper 4

*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, 18 Dec 2010 12:03:00 +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/18/t129267366221b9j0bfadcnod9.htm/, Retrieved Sat, 18 Dec 2010 13:01: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/2010/Dec/18/t129267366221b9j0bfadcnod9.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 0 9 0 24 0 13 0 14 0 1 9 15 15 6 6 25 25 12 12 8 8 1 9 14 14 13 13 19 19 15 15 12 12 1 8 10 10 7 7 18 18 12 12 7 7 1 14 10 10 8 8 18 18 10 10 10 10 0 14 9 0 8 0 23 0 12 0 7 0 1 15 18 18 11 11 23 23 15 15 16 16 1 11 11 11 11 11 23 23 9 9 11 11 0 14 14 0 8 0 17 0 7 0 12 0 0 8 24 0 20 0 30 0 11 0 7 0 1 16 18 18 16 16 26 26 10 10 11 11 0 11 14 0 8 0 23 0 14 0 15 0 1 7 18 18 11 11 35 35 11 11 7 7 0 9 12 0 8 0 21 0 15 0 14 0 0 16 5 0 4 0 23 0 12 0 7 0 1 10 12 12 8 8 20 20 14 14 15 15 0 14 11 0 8 0 24 0 15 0 17 0 0 11 9 0 6 0 20 0 9 0 15 0 1 6 11 11 8 8 17 17 13 13 14 14 1 12 16 16 14 14 27 27 16 16 8 8 1 14 14 14 10 10 18 18 13 13 8 8 0 13 8 0 9 0 24 0 12 0 14 0 0 14 18 0 10 0 26 0 11 0 8 0 0 10 10 0 8 0 26 0 16 0 16 0 1 14 13 13 10 10 25 25 12 12 10 10 1 8 12 12 7 7 20 20 13 13 14 14 1 10 12 12 8 8 26 26 16 16 16 16 0 9 12 0 7 0 18 0 14 0 13 0 1 9 13 13 6 6 19 19 15 15 5 5 0 15 7 0 5 0 21 0 8 0 10 0 1 12 14 14 7 7 24 24 17 17 15 15 1 14 9 9 9 9 23 23 13 13 16 16 0 11 9 0 5 0 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 time9 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
DoubtsAboutActions[t] = + 15.2586833489025 -5.71186637540504Gen[t] -0.0399576756832597ParentalExpectations[t] + 0.205268544988714Expect_gen[t] -0.269755212692944ParentalCritism[t] + 0.376649954168655Critism_gen[t] + 0.00542610174784382PersonalStandards[t] -0.0304886794035444PersStand_gen[t] -0.0841192000992633Popularity[t] -0.0928346463942527Popular_gen[t] -0.0288364530367456KnowingPeople[t] + 0.120074648121647Knowing_gen[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)15.25868334890253.4690914.39854.1e-052.1e-05
Gen-5.711866375405045.142306-1.11080.2707640.135382
ParentalExpectations-0.03995767568325970.172009-0.23230.8170340.408517
Expect_gen0.2052685449887140.2523770.81330.4189910.209496
ParentalCritism-0.2697552126929440.261671-1.03090.3064120.153206
Critism_gen0.3766499541686550.3371741.11710.2680730.134036
PersonalStandards0.005426101747843820.1342260.04040.9678780.483939
PersStand_gen-0.03048867940354440.174907-0.17430.8621610.43108
Popularity-0.08411920009926330.206976-0.40640.6857680.342884
Popular_gen-0.09283464639425270.269905-0.3440.7319910.365996
KnowingPeople-0.02883645303674560.180664-0.15960.873680.43684
Knowing_gen0.1200746481216470.2494180.48140.6318350.315918


Multiple Linear Regression - Regression Statistics
Multiple R0.330628707781600
R-squared0.109315342409330
Adjusted R-squared-0.041415907336783
F-TEST (value)0.725233437614678
F-TEST (DF numerator)11
F-TEST (DF denominator)65
p-value0.710389521294558
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.91767808551436
Sum Squared Residuals553.3349516949


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1910.9843608246103-1.98436082461031
2910.6477434232980-1.64774342329802
3911.2151624511158-2.21516245111579
4810.0122836667515-2.01228366675145
51410.74680068646893.2531993135311
61411.65453733396162.34546266603840
71511.9273189151033.07268108489701
81111.3756749335014-0.375674933501403
91411.69860608037082.30139391962917
1087.940211558731540.0597884412684561
111612.81518314655753.18481685344248
121111.0558189310528-0.0558189310528119
13711.5132396134445-4.51323961344454
14911.0695993318611-2.06959933186112
151612.89338888746643.10661111253358
161010.7756728592189-0.775672859218851
171411.03932595367772.96067404632232
181112.1994354301078-1.19943543010778
19610.7712653742891-4.77126537428911
201210.91027168312371.08972831687631
211410.90849571699183.09150428300821
221311.22831072744251.77168927255746
231410.82696887973243.17303112026758
241011.0348530857941-1.03485308579411
251410.92717704075983.07282295924025
26810.7544937691518-2.75449376915176
271010.3626278953825-0.362627895382517
28911.4360318924465-2.43603189244655
2999.66292102588606-0.662921025886059
301512.78283356119812.21716643880192
311210.36828800625071.6317119937493
321410.57963930138953.42036069861049
331112.7812353623248-1.7812353623248
341211.92222000563870.077779994361349
351311.79112855825391.20887144174614
361410.72265602188133.27734397811868
371511.34850614868443.65149385131565
381111.4490643823824-0.449064382382375
39911.7663784795068-2.76637847950676
4089.39306431394118-1.39306431394119
411011.4436382806345-1.44363828063453
42109.630583454081830.369416545918172
43109.694156411480130.305843588519872
44912.1946343964934-3.19463439649340
451311.98757807312891.01242192687108
46810.7665785975314-2.76657859753135
471011.0507769804562-1.05077698045622
481110.24191963771220.758080362287823
491011.1826042179735-1.18260421797349
501611.14291492730904.85708507269105
511112.6015188717802-1.60151887178024
52610.472219905425-4.47221990542499
53911.4448553542098-2.44485535420982
542011.79836355016278.2016364498373
551211.01177080499170.988229195008255
56910.3951598271970-1.39515982719703
571411.08597356082642.91402643917356
58811.3444925794816-3.34449257948161
59711.9371245131594-4.93712451315935
601111.6167589961043-0.616758996104273
611414.0751805439643-0.0751805439643221
621411.9130299471572.08697005284300
63911.2299013659563-2.2299013659563
641610.74095091550005.25904908449995
651311.43526979477521.56473020522476
661311.19247805745971.80752194254028
67811.8343779892329-3.83437798923287
68911.4366185295925-2.43661852959245
691112.8862909034053-1.88629090340527
70810.8575170252417-2.85751702524167
71710.1217353773830-3.12173537738297
721110.82415895844260.175841041557429
73913.0950331364795-4.09503313647951
741611.40581404619764.59418595380238
751310.26639446278512.73360553721488
761212.3160322864701-0.316032286470143
77910.0327984600665-1.03279846006646


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
150.0959403958643960.1918807917287920.904059604135604
160.03516890047989880.07033780095979760.964831099520101
170.2206429778193090.4412859556386170.779357022180691
180.2405762188360680.4811524376721360.759423781163932
190.5193929638884040.9612140722231920.480607036111596
200.6420037637710670.7159924724578660.357996236228933
210.5641479829371380.8717040341257250.435852017062862
220.4826393142764230.9652786285528470.517360685723577
230.4215476563527640.8430953127055280.578452343647236
240.3398954285788350.679790857157670.660104571421165
250.4435983807609560.8871967615219130.556401619239044
260.3831275408145160.7662550816290320.616872459185484
270.3669684982063750.7339369964127490.633031501793625
280.3081576994064140.6163153988128290.691842300593586
290.2500968858377980.5001937716755960.749903114162202
300.2101193929219760.4202387858439520.789880607078024
310.1969093162020870.3938186324041740.803090683797913
320.2532219443456620.5064438886913240.746778055654338
330.2588750238324030.5177500476648070.741124976167597
340.2155710484586390.4311420969172790.78442895154136
350.169275031421440.338550062842880.83072496857856
360.1872300726991700.3744601453983390.81276992730083
370.2269806196873580.4539612393747150.773019380312643
380.1717760831435990.3435521662871980.828223916856401
390.1699574517273880.3399149034547750.830042548272612
400.1287035131594240.2574070263188480.871296486840576
410.09949957587015810.1989991517403160.900500424129842
420.4505949724155460.9011899448310920.549405027584454
430.4027306705440910.8054613410881820.597269329455909
440.4991213944995760.9982427889991520.500878605500424
450.4632647272705850.926529454541170.536735272729415
460.4562086965630520.9124173931261030.543791303436948
470.3904745129804310.7809490259608620.609525487019569
480.3215427094976570.6430854189953140.678457290502343
490.2611876485229140.5223752970458270.738812351477086
500.3189171076398830.6378342152797650.681082892360118
510.3599598834206780.7199197668413550.640040116579322
520.4404825403701680.8809650807403360.559517459629832
530.4134186793265720.8268373586531430.586581320673428
540.4973941012806070.9947882025612140.502605898719393
550.4042586982166980.8085173964333970.595741301783302
560.3185835845083450.6371671690166890.681416415491655
570.2826656638113430.5653313276226860.717334336188657
580.225009490916870.450018981833740.77499050908313
590.1773702096390680.3547404192781360.822629790360932
600.1080418471925250.2160836943850500.891958152807475
610.1632887736637480.3265775473274970.836711226336252
620.08830261194140180.1766052238828040.911697388058598


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 level10.0208333333333333OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/10xsrf1292673769.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/10xsrf1292673769.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/1j0t61292673769.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/1j0t61292673769.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/2j0t61292673769.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/2j0t61292673769.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/3j0t61292673769.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/3j0t61292673769.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/4urtr1292673769.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/4urtr1292673769.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/5urtr1292673769.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/5urtr1292673769.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/6urtr1292673769.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/6urtr1292673769.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/7njac1292673769.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/7njac1292673769.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/8xsrf1292673769.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/8xsrf1292673769.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/9xsrf1292673769.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t129267366221b9j0bfadcnod9/9xsrf1292673769.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