Home » date » 2009 » Dec » 11 »

Paper statistiek: Multiple Regression Analysis

*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, 11 Dec 2009 05:36:32 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa.htm/, Retrieved Fri, 11 Dec 2009 13:38:24 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa.htm/},
    year = {2009},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2009},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
ETP(33)
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1,43 0 0 0 0 0,51 1,43 0 0 0 0 0,51 1,43 0 0 0 0 0,51 1,43 0 0 0 0 0,51 1,43 0 0 0 0 0,52 1,43 0 0 0 0 0,52 1,44 0 0 0 0 0,52 1,48 1 0 0 0 0,53 1,48 1 0 0 0 0,53 1,48 1 0 0 0 0,52 1,48 1 0 0 0 0,52 1,48 1 0 0 0 0,52 1,48 1 0 0 0 0,52 1,48 1 0 0 0 0,52 1,48 1 0 0 0 0,52 1,48 1 0 0 0 0,52 1,48 1 0 0 0 0,52 1,48 1 0 0 0 0,52 1,48 1 0 0 0 0,52 1,48 1 0 0 0 0,53 1,48 1 0 0 0 0,53 1,48 1 0 0 0 0,53 1,48 1 0 0 0 0,54 1,48 1 0 0 0 0,54 1,48 1 0 0 0 0,54 1,48 1 0 0 0 0,54 1,48 1 0 0 0 0,54 1,48 1 0 0 0 0,54 1,48 1 0 0 0 0,54 1,48 1 0 0 0 0,54 1,48 1 0 0 0 0,54 1,48 1 0 0 0 0,54 1,48 1 0 0 0 0,53 1,48 1 0 0 0 0,53 1,48 1 0 0 0 0,53 1,48 1 0 0 0 0,53 1,48 1 0 0 0 0,53 1,57 1 1 0 0 0,54 1,58 1 1 0 0 0,55 1,58 1 1 0 0 0,55 1,58 1 1 0 0 0,55 1,58 1 1 0 0 0,55 1,59 1 1 1 1 0,55 1,6 1 1 1 2 0,55 1,6 1 1 1 3 0,55 1,61 1 1 1 4 0,55 1,61 1 1 1 5 0,56 1,61 1 1 1 6 0,56 1,62 1 1 1 7 0,56 1,63 1 1 1 8 0,56 1,63 1 1 1 9 0,56 1,64 1 1 1 10 0,55 1,64 1 1 1 11 0,56 1,64 1 1 1 12 0,5 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'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Broodprijzen[t] = + 1.36630284324960 + 0.048776493601080Dummy2[t] + 0.0953311220622557Dummy3[t] + 0.0162547070817098Dummy1[t] + 0.00368060742762061Dummy4[t] + 0.119420968371337Bakmeelprijzen[t] + 0.00297114816391351M1[t] + 0.002981846637013M2[t] + 0.00405876952256208M3[t] + 0.00561337628159652M4[t] + 0.00445145723040296M5[t] + 0.0040060639894374M6[t] + 0.0033347659098631M7[t] + 0.00144258471618672M8[t] + 0.00249991192643972M9[t] + 0.00331839719995005M10[t] + 0.00142035666323235M11[t] -5.18863078158954e-05t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)1.366302843249600.04316131.65600
Dummy20.0487764936010800.00208623.379400
Dummy30.09533112206225570.00227741.874200
Dummy10.01625470708170980.0024946.516500
Dummy40.003680607427620610.00018619.836500
Bakmeelprijzen0.1194209683713370.0842591.41730.1637670.081883
M10.002971148163913510.0022111.3440.1861610.093081
M20.0029818466370130.002251.3250.192320.09616
M30.004058769522562080.0022471.80630.0780350.039018
M40.005613376281596520.0022392.50660.0161470.008073
M50.004451457230402960.0022461.98230.0540160.027008
M60.00400606398943740.0022341.79350.08010.04005
M70.00333476590986310.0022221.50070.1409140.070457
M80.001442584716186720.0022120.65220.5178350.258917
M90.002499911926439720.0021871.14310.2594790.12974
M100.003318397199950050.0021971.51060.1383770.069188
M110.001420356663232350.0021740.65320.5171640.258582
t-5.18863078158954e-059e-05-0.57960.5652550.282628


Multiple Linear Regression - Regression Statistics
Multiple R0.999255190193247
R-squared0.998510935128142
Adjusted R-squared0.997908218394295
F-TEST (value)1656.68361114606
F-TEST (DF numerator)17
F-TEST (DF denominator)42
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.00343548434953111
Sum Squared Residuals0.000495707214066674


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11.431.43012679897509-0.000126798975092287
21.431.43008561114037-8.5611140368076e-05
31.431.43111064771810-0.00111064771810136
41.431.43261336816932-0.00261336816931995
51.431.43259377249402-0.00259377249402379
61.431.43209649294524-0.00209649294524237
71.441.431373308557850.00862669144214783
81.481.479399944341150.000600055658846702
91.481.48040538524359-0.000405385243590406
101.481.479977774525572.22254744285334e-05
111.481.478027847681040.00197215231896213
121.481.476555604709990.00344439529001038
131.481.479474866566090.000525133433912763
141.481.479433678731370.000566321268629165
151.481.48045871530910-0.000458715309104021
161.481.48196143576032-0.00196143576032256
171.481.48074763040131-0.000747630401313108
181.481.48025035085253-0.00025035085253165
191.481.479527166465140.000472833534858542
201.481.478777308647360.00122269135263744
211.481.47978274954980.000217250450200341
221.481.48054934851549-0.000549348515494088
231.481.479793631354670.000206368645326135
241.481.478321388383630.00167861161637438
251.481.48124065023972-0.00124065023972324
261.481.48119946240501-0.00119946240500683
271.481.48222449898274-0.00222449898274002
281.481.48372721943396-0.00372721943395856
291.481.48251341407495-0.00251341407494911
301.481.48201613452617-0.00201613452616765
311.481.48129295013878-0.00129295013877746
321.481.479348882637290.000651117362714818
331.481.479160113856010.000839886143991086
341.481.479926712821707.32871782966574e-05
351.481.477976785977170.00202321402283025
361.481.476504543006120.00349545699387849
371.481.479423804862220.000576195137780881
381.571.57590794877347-0.00590794877347171
391.581.578127195034920.00187280496508174
401.581.579629915486140.000370084513863197
411.581.578416110127130.00158388987287265
421.581.577918830578350.00208116942165411
431.591.59713096070029-0.00713096070028606
441.61.598867500626410.00113249937358561
451.61.60355354895647-0.00355354895647211
461.611.608000755349790.00199924465021286
471.611.61092564561659-0.000925645616587536
481.611.61313401007316-0.0031340100731599
491.621.619733879356880.000266120643121877
501.631.623373298949780.00662670105021745
511.631.628078942955140.00192105704486366
521.641.632068061150260.00793193884973788
531.641.635729072902590.00427092709741334
541.641.637718191097710.00228180890228756
551.641.64067561413794-0.000675614137942863
561.641.64360636374778-0.00360636374778458
571.651.647098202394130.00290179760587109
581.651.65154540878744-0.00154540878744396
591.651.65327608937053-0.00327608937053098
601.651.65548445382710-0.00548445382710335


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.4766598981844580.9533197963689150.523340101815542
220.336753689428560.673507378857120.66324631057144
230.2500911233841950.5001822467683910.749908876615805
240.2433037450294430.4866074900588860.756696254970557
250.25266628758850.5053325751770.7473337124115
260.1822491734351210.3644983468702430.817750826564879
270.1147676367578220.2295352735156440.885232363242178
280.07453900997908030.1490780199581610.92546099002092
290.04204200436578520.08408400873157030.957957995634215
300.02693625998908820.05387251997817640.973063740010912
310.04173471624644720.08346943249289440.958265283753553
320.02341561505823090.04683123011646180.976584384941769
330.01201382242689290.02402764485378580.987986177573107
340.005965467434415510.01193093486883100.994034532565584
350.00247961587959130.00495923175918260.997520384120409
360.002724120934378570.005448241868757140.997275879065621
370.0009996293251504050.001999258650300810.99900037067485
380.0009017240691648780.001803448138329760.999098275930835
390.00882676281941090.01765352563882180.99117323718059


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level40.210526315789474NOK
5% type I error level80.421052631578947NOK
10% type I error level110.578947368421053NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/10cyea1260534981.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/10cyea1260534981.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/1pisd1260534981.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/1pisd1260534981.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/2lnor1260534981.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/2lnor1260534981.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/3agsn1260534981.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/3agsn1260534981.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/4f07w1260534981.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/4f07w1260534981.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/5sxbk1260534981.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/5sxbk1260534981.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/63faq1260534981.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/63faq1260534981.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/74rg71260534981.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/74rg71260534981.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/8jg2e1260534981.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/8jg2e1260534981.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/92jua1260534981.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260535092ktircb0v4wpm4fa/92jua1260534981.ps (open in new window)


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