Chi squared power calculation 

              w = 0.5117379
              N = 1000
             df = 11
      sig.level = 0.05
          power = 1

NOTE: N is the number of observations


     Chi squared power calculation 

              w = 0.2683282
              N = 300
             df = 27
      sig.level = 0.05
          power = 0.7523045

NOTE: N is the number of observations


 Laundry Data With 6 2 Way Interactions  
                     Estimate Std. Error     z value     Pr(>|z|)
(Intercept)       4.185834757  0.1048479 39.92293213 0.000000e+00
wsMedium         -0.004177292  0.1370504 -0.03047996 9.756843e-01
wsSoft            0.091745274  0.1361476  0.67386618 5.003964e-01
nrNew            -0.391112200  0.1359003 -2.87793550 4.002870e-03
mpuUser          -0.484568128  0.1376090 -3.52134118 4.293698e-04
tlHigh           -0.540313564  0.1396896 -3.86795770 1.097507e-04
wsMedium:nrNew    0.049455758  0.1552586  0.31853803 7.500768e-01
wsSoft:nrNew     -0.021115100  0.1576672 -0.13392198 8.934643e-01
wsMedium:mpuUser  0.154192146  0.1551714  0.99368947 3.203741e-01
wsSoft:mpuUser    0.060526339  0.1577469  0.38369272 7.012062e-01
wsMedium:tlHigh  -0.198533078  0.1578144 -1.25801604 2.083860e-01
wsSoft:tlHigh    -0.400285934  0.1627152 -2.46004004 1.389215e-02
nrNew:mpuUser     0.567011499  0.1277462  4.43857664 9.055574e-06
nrNew:tlHigh      0.256629136  0.1328579  1.93160638 5.340811e-02
mpuUser:tlHigh    0.114315902  0.1329011  0.86015796 3.897020e-01
Analysis of Deviance Table

Model: poisson, link: log

Response: n

Terms added sequentially (first to last)


       Df Deviance Resid. Df Resid. Dev
NULL                      23    118.627
ws      2    0.501        21    118.125
nr      1    0.063        20    118.062
mpu     1    1.921        19    116.141
tl      1   73.212        18     42.929
ws:nr   2    0.395        16     42.533
ws:mpu  2    1.075        14     41.458
ws:tl   2    6.099        12     35.359
nr:mpu  1   20.463        11     14.896
nr:tl   1    4.310        10     10.586
mpu:tl  1    0.740         9      9.846

 Laundry Data With 4 2 Way Interactions  
                    Estimate Std. Error    z value     Pr(>|z|)
(Intercept)       4.16514664 0.09689623 42.9856423 0.000000e+00
wsMedium          0.01682192 0.12235433  0.1374853 8.906472e-01
wsSoft            0.08749238 0.12138134  0.7208058 4.710290e-01
nrNew            -0.39132687 0.10042029 -3.8968905 9.743566e-05
mpuUser          -0.44305370 0.12701838 -3.4881071 4.864532e-04
tlHigh           -0.49652966 0.12939629 -3.8372790 1.244051e-04
wsMedium:mpuUser  0.15592074 0.15341339  1.0163437 3.094657e-01
wsSoft:mpuUser    0.04721526 0.15562109  0.3033988 7.615859e-01
wsMedium:tlHigh  -0.19090156 0.15730834 -1.2135501 2.249196e-01
wsSoft:tlHigh    -0.39991462 0.16230100 -2.4640305 1.373844e-02
nrNew:mpuUser     0.57525784 0.12741463  4.5148491 6.336185e-06
nrNew:tlHigh      0.27388165 0.13111376  2.0888856 3.671802e-02
Analysis of Deviance Table

Model: poisson, link: log

Response: n

Terms added sequentially (first to last)


       Df Deviance Resid. Df Resid. Dev
NULL                      23    118.627
ws      2    0.501        21    118.125
nr      1    0.063        20    118.062
mpu     1    1.921        19    116.141
tl      1   73.212        18     42.929
ws:mpu  2    1.075        16     41.854
ws:tl   2    6.099        14     35.754
nr:mpu  1   20.581        13     15.173
nr:tl   1    4.375        12     10.798

 Laundry Data With Prior Detergent Removed  
                   Estimate Std. Error    z value     Pr(>|z|)
(Intercept)      3.96329909 0.08011716 49.4687895 0.0000000000
wsMedium         0.09119024 0.09804224  0.9301117 0.3523132443
wsSoft           0.10937256 0.09761982  1.1203929 0.2625463645
nrNew           -0.11593563 0.07925174 -1.4628780 0.1435007698
tlHigh          -0.49697054 0.12955821 -3.8358862 0.0001251124
wsMedium:tlHigh -0.18938226 0.15729918 -1.2039622 0.2286041823
wsSoft:tlHigh   -0.39945559 0.16229374 -2.4613124 0.0138429789
nrNew:tlHigh     0.27344202 0.13110422  2.0856844 0.0370072229
Analysis of Deviance Table

Model: poisson, link: log

Response: n

Terms added sequentially (first to last)


      Df Deviance Resid. Df Resid. Dev
NULL                     23    118.627
ws     2    0.501        21    118.125
nr     1    0.063        20    118.062
tl     1   73.212        19     44.850
ws:tl  2    6.099        17     38.751
nr:tl  1    4.362        16     34.389

 Copenhagen housing data, linear by linear inter.  

Call:
glm(formula = freq ~ sat + infl + type + contact + nsat * ninf + 
    nsat * ncont, family = poisson, data = housing)

Deviance Residuals: 
    Min       1Q   Median       3Q      Max  
-4.3666  -1.0829  -0.1032   0.7065   5.2932  

Coefficients: (3 not defined because of singularities)
            Estimate Std. Error z value Pr(>|z|)    
(Intercept)  2.32175    0.17372  13.365  < 2e-16 ***
satLow       0.62002    0.11030   5.621 1.89e-08 ***
satMedium    0.03289    0.08187   0.402   0.6879    
inflLow      1.32361    0.11213  11.805  < 2e-16 ***
inflMedium   0.99680    0.08506  11.719  < 2e-16 ***
typeAtrium  -1.16341    0.07410 -15.700  < 2e-16 ***
typeTerrace -1.01586    0.07012 -14.487  < 2e-16 ***
typeTower   -0.64841    0.06170 -10.509  < 2e-16 ***
contactLow  -0.19390    0.07815  -2.481   0.0131 *  
nsat              NA         NA      NA       NA    
ninf              NA         NA      NA       NA    
ncont             NA         NA      NA       NA    
nsat:ninf    0.39160    0.03970   9.863  < 2e-16 ***
nsat:ncont   0.05305    0.02888   1.837   0.0662 .  
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

(Dispersion parameter for poisson family taken to be 1)

    Null deviance: 833.66  on 71  degrees of freedom
Residual deviance: 188.20  on 61  degrees of freedom
AIC: 551.17

Number of Fisher Scoring iterations: 4


 Housing data, larger overparameterized  model  

Call:
glm(formula = freq ~ type + nsat * ninf + nsat * ncont + sat * 
    contact + sat * infl, family = poisson, data = housing)

Deviance Residuals: 
    Min       1Q   Median       3Q      Max  
-4.2039  -1.1883  -0.0623   0.8970   5.4740  

Coefficients: (5 not defined because of singularities)
                     Estimate Std. Error z value Pr(>|z|)    
(Intercept)           4.58747    0.40808  11.241  < 2e-16 ***
typeAtrium           -1.16341    0.07410 -15.700  < 2e-16 ***
typeTerrace          -1.01586    0.07012 -14.487  < 2e-16 ***
typeTower            -0.64841    0.06170 -10.509  < 2e-16 ***
nsat                 -0.27569    0.24025  -1.148 0.251161    
ninf                 -1.40945    0.27440  -5.136 2.80e-07 ***
ncont                 0.22450    0.10439   2.150 0.031517 *  
satLow                0.74457    0.26741   2.784 0.005363 ** 
satMedium                  NA         NA      NA       NA    
contactLow                 NA         NA      NA       NA    
inflLow              -0.55339    0.15885  -3.484 0.000494 ***
inflMedium                 NA         NA      NA       NA    
nsat:ninf             0.63361    0.15792   4.012 6.02e-05 ***
nsat:ncont           -0.01989    0.06234  -0.319 0.749617    
satLow:contactLow     0.29703    0.22514   1.319 0.187067    
satMedium:contactLow       NA         NA      NA       NA    
satLow:inflLow       -0.99305    0.62481  -1.589 0.111978    
satMedium:inflLow    -0.32840    0.25253  -1.300 0.193460    
satLow:inflMedium    -0.45102    0.30464  -1.480 0.138742    
satMedium:inflMedium       NA         NA      NA       NA    
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

(Dispersion parameter for poisson family taken to be 1)

    Null deviance: 833.66  on 71  degrees of freedom
Residual deviance: 183.85  on 57  degrees of freedom
AIC: 554.82

Number of Fisher Scoring iterations: 4