Home » date » 2010 » Nov » 26 »

Births met dummy variabele & trend & past4

*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, 26 Nov 2010 19:46:23 +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/26/t1290800735sqd82wvn3crcl6s.htm/, Retrieved Fri, 26 Nov 2010 20:45:45 +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/26/t1290800735sqd82wvn3crcl6s.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 «
8587 9743 9084 9081 9700 9731 8587 9743 9084 9081 9563 9731 8587 9743 9084 9998 9563 9731 8587 9743 9437 9998 9563 9731 8587 10038 9437 9998 9563 9731 9918 10038 9437 9998 9563 9252 9918 10038 9437 9998 9737 9252 9918 10038 9437 9035 9737 9252 9918 10038 9133 9035 9737 9252 9918 9487 9133 9035 9737 9252 8700 9487 9133 9035 9737 9627 8700 9487 9133 9035 8947 9627 8700 9487 9133 9283 8947 9627 8700 9487 8829 9283 8947 9627 8700 9947 8829 9283 8947 9627 9628 9947 8829 9283 8947 9318 9628 9947 8829 9283 9605 9318 9628 9947 8829 8640 9605 9318 9628 9947 9214 8640 9605 9318 9628 9567 9214 8640 9605 9318 8547 9567 9214 8640 9605 9185 8547 9567 9214 8640 9470 9185 8547 9567 9214 9123 9470 9185 8547 9567 9278 9123 9470 9185 8547 10170 9278 9123 9470 9185 9434 10170 9278 9123 9470 9655 9434 10170 9278 9123 9429 9655 9434 10170 9278 8739 9429 9655 9434 10170 9552 8739 9429 9655 9434 9687 9552 8739 9429 9655 9019 9687 9552 8739 9429 9672 9019 9687 9552 8739 9206 9672 9019 9687 9552 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
MontlyBirths[t] = + 3873.05299620334 + 0.124837319271829Y1[t] + 0.164886202883664Y2[t] + 0.243791599857208Y3[t] + 0.061698643855855Y4[t] -777.007128192618M1[t] + 184.930867387297M2[t] -260.922022455930M3[t] -1.62807770930776M4[t] -194.014625014349M5[t] + 383.21533040592M6[t] + 170.916446059259M7[t] -137.978095175717M8[t] -156.218164109860M9[t] -891.354225854479M10[t] -335.846833482281M11[t] + 5.57076871659979t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)3873.052996203341593.6497662.43030.0184390.00922
Y10.1248373192718290.1435380.86970.3883050.194152
Y20.1648862028836640.1363561.20920.2318420.115921
Y30.2437915998572080.1369731.77980.0807280.040364
Y40.0616986438558550.1454350.42420.6730790.336539
M1-777.007128192618209.213307-3.71390.0004850.000242
M2184.930867387297235.637510.78480.4359940.217997
M3-260.922022455930173.883914-1.50060.1392960.069648
M4-1.62807770930776239.647222-0.00680.9946050.497302
M5-194.014625014349219.030577-0.88580.379660.18983
M6383.21533040592190.3282412.01340.0490630.024532
M7170.916446059259207.8565460.82230.4145330.207267
M8-137.978095175717234.700635-0.58790.5590570.279528
M9-156.218164109860214.477531-0.72840.4695360.234768
M10-891.354225854479190.692187-4.67432e-051e-05
M11-335.846833482281219.28128-1.53160.1314640.065732
t5.570768716599792.5409082.19240.0326780.016339


Multiple Linear Regression - Regression Statistics
Multiple R0.88379075383939
R-squared0.781086096571998
Adjusted R-squared0.716222717778516
F-TEST (value)12.0420198747107
F-TEST (DF numerator)16
F-TEST (DF denominator)54
p-value1.57818202950466e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation271.206316240123
Sum Squared Residuals3971854.76230103


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
185878628.08126909303-41.0812690930296
297319522.47801426446208.521985735539
395639195.24509608876367.754903911242
499989386.6032728793611.396727120699
594379433.964804028933.03519597107351
61003810048.0835501038-10.0835501037805
799189919.56547730846-1.56547730845515
892529590.42965696794-338.429656967944
997379586.73817008037150.261829919629
1090358815.73065875317219.269341246828
1191339199.37378734412-66.3737873441204
1294879514.42296153005-27.4229615300546
1387008662.120000129237.8799998708072
1496279570.330638778856.6693612212096
1589479208.35596439503-261.355964395031
1692839371.15814166392-88.1581416639158
1788299291.60306474299-462.603064742991
1899479764.54576505084182.454234949163
1996289662.48633598754-34.4863359875382
2093189413.73159144578-95.7315914457795
2196059554.3118478638850.6881521361191
2286408800.66970604934-160.669706049338
2392149193.3449309226820.6550690773211
2495679498.1455781645668.8544218354422
2585478647.87008977114-100.870089771143
2691859626.64680502546-441.646805025463
2794709219.30042297578250.699577024220
2891239398.05335929802-275.053359298016
2992789307.51802272002-29.5180227200205
30101709961.29735968273208.702640317269
3194349824.46992263858-390.469922638577
3296559592.7226446682562.277355331751
3394299713.3115435577-284.311543557690
3487398867.57744003605-128.577440036045
3595529313.7213106661238.278689333894
3696879601.3986721676785.6013278323292
3790198798.70773632487220.292263675128
3896729860.71531516047-188.715315160469
3992069474.8808434276-268.880843427592
4090699634.7185848091-565.7185848091
4197889471.94434354768316.055656452324
421031210048.5960193503263.403980649657
43101059963.6848216748141.315178325191
4498639887.75354046728-24.7535404672839
4596569982.85028824658-326.850288246577
4692959169.40643724147125.593562758532
4799469579.51769563261366.48230436739
4897019877.2845404529-176.284540452890
4990499081.82356900593-32.8235690059256
501019010063.9764025058126.023597494212
5197069639.0647335733166.9352664266856
5297659857.57505114765-92.5750511476481
5398939836.258451843656.7415481563922
54999410397.1696571260-403.169657126049
551043310208.6771054769224.322894523107
561007310011.655967379361.3440326206819
571011210058.950653289053.0493467110276
5892669388.1510580412-122.151058041191
5998209789.368137642630.6318623573906
601009710047.748247684849.2517523151726
6191159198.39733567584-83.3973356758363
621041110171.8528242650239.147175734971
6396789833.15293953952-155.152939539525
64104089997.89159020202410.108409797981
651015310036.7113131168116.288686883222
661036810609.3076486863-241.30764868626
671058110520.116336913760.883663086272
681059710261.7065990714335.293400928575
691068010322.8374969625357.162503037491
7097389671.4646998787866.5353001212155
71955610145.6741377919-589.674137791875


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
200.8333407612291010.3333184775417980.166659238770899
210.7267810587460.5464378825079990.273218941254000
220.6275788725273120.7448422549453770.372421127472688
230.6541685967071940.6916628065856130.345831403292806
240.6226066218705140.7547867562589720.377393378129486
250.5452219044679230.9095561910641540.454778095532077
260.5028408717558620.9943182564882760.497159128244138
270.7292019281983640.5415961436032720.270798071801636
280.6900551440687880.6198897118624250.309944855931212
290.6321827117686660.7356345764626690.367817288231334
300.8009909616416340.3980180767167310.199009038358366
310.7845360117422890.4309279765154220.215463988257711
320.7732045495262510.4535909009474980.226795450473749
330.707078835914350.5858423281713010.292921164085650
340.7030582808766580.5938834382466840.296941719123342
350.7014823372271750.597035325545650.298517662772825
360.6845584392956330.6308831214087330.315441560704367
370.6780457177841360.6439085644317270.321954282215864
380.597005499076310.8059890018473790.402994500923690
390.5180592201632180.9638815596735630.481940779836782
400.73528548943990.52942902112020.2647145105601
410.8182627728491630.3634744543016730.181737227150837
420.8078585947291520.3842828105416960.192141405270848
430.7940648154886170.4118703690227670.205935184511383
440.7512176688956950.4975646622086110.248782331104305
450.6903203906602960.6193592186794090.309679609339704
460.6069082804199360.7861834391601280.393091719580064
470.8392603336776830.3214793326446340.160739666322317
480.749419611199650.50116077760070.25058038880035
490.9240691183140580.1518617633718840.0759308816859418
500.8492058864494050.3015882271011890.150794113550595
510.7518977096028310.4962045807943380.248102290397169


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


http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/1ff401290800775.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/1ff401290800775.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/2ff401290800775.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/2ff401290800775.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/3ff401290800775.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/3ff401290800775.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/48pll1290800775.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/48pll1290800775.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/58pll1290800775.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/58pll1290800775.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/68pll1290800775.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/68pll1290800775.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/7iylo1290800775.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/7iylo1290800775.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/8t72r1290800775.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/8t72r1290800775.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/9t72r1290800775.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/26/t1290800735sqd82wvn3crcl6s/9t72r1290800775.ps (open in new window)


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