I am using a nested model in R and the lm output shows 47 not defined
because of singularities and I have no idea why.  Any help on why this is
happening or how to fix this problem would be very much appreciated.  Below
is the output I received from R.

Thanks and happy holidays!

Call:
lm(formula = Dist ~ Treatment/SiteL/Territory)

Residuals:
   Min     1Q Median     3Q    Max
-6.646 -1.443  0.080  1.440  5.613

Coefficients: (47 not defined because of singularities)
                                       Estimate Std. Error t value
Pr(>|t|)
(Intercept)                             9.47000    1.24231   7.623 9.48e-13
***
TreatmentReference                     -4.05500    1.75689  -2.308  0.02201
*
TreatmentSingle Tree                   -2.43000    2.15175  -1.129
0.26010
TreatmentTypical                       -2.03571    1.55732  -1.307
0.19263
TreatmentIntensive:SiteLB              -2.25571    1.55732  -1.448
0.14904
TreatmentReference:SiteLB              -2.25333    1.60382  -1.405
0.16156
TreatmentSingle Tree:SiteLB             0.43286    1.99213   0.217
0.82821
TreatmentTypical:SiteLB                 0.64371    1.45484   0.442
0.65863
TreatmentIntensive:SiteLC              -3.89000    2.15175  -1.808  0.07212
.
TreatmentReference:SiteLC               0.91300    1.66673   0.548
0.58445
TreatmentSingle Tree:SiteLC            -1.59800    2.07878  -0.769
0.44296
TreatmentTypical:SiteLC                 0.10000    1.32809   0.075
0.94005
TreatmentIntensive:SiteLA:TerritoryQ   -3.94000    1.75689  -2.243  0.02601
*
TreatmentReference:SiteLA:TerritoryQ   -1.61700    1.66673  -0.970
0.33313
TreatmentSingle Tree:SiteLA:TerritoryQ  0.01000    2.15175   0.005
0.99630
TreatmentTypical:SiteLA:TerritoryQ           NA         NA      NA
NA
TreatmentIntensive:SiteLB:TerritoryQ         NA         NA      NA
NA
TreatmentReference:SiteLB:TerritoryQ    1.59691    1.38232   1.155
0.24936
TreatmentSingle Tree:SiteLB:TerritoryQ -1.15286    1.32809  -0.868
0.38639
TreatmentTypical:SiteLB:TerritoryQ           NA         NA      NA
NA
TreatmentIntensive:SiteLC:TerritoryQ         NA         NA      NA
NA
TreatmentReference:SiteLC:TerritoryQ    0.74200    1.81451   0.409
0.68303
TreatmentSingle Tree:SiteLC:TerritoryQ  2.32967    1.32254   1.762  0.07967
.
TreatmentTypical:SiteLC:TerritoryQ     -0.37000    1.32809  -0.279
0.78084
TreatmentIntensive:SiteLA:TerritoryR         NA         NA      NA
NA
TreatmentReference:SiteLA:TerritoryR    3.37500    1.66673   2.025  0.04419
*
TreatmentSingle Tree:SiteLA:TerritoryR       NA         NA      NA
NA
TreatmentTypical:SiteLA:TerritoryR           NA         NA      NA
NA
TreatmentIntensive:SiteLB:TerritoryR         NA         NA      NA
NA
TreatmentReference:SiteLB:TerritoryR         NA         NA      NA
NA
TreatmentSingle Tree:SiteLB:TerritoryR       NA         NA      NA
NA
TreatmentTypical:SiteLB:TerritoryR           NA         NA      NA
NA
TreatmentIntensive:SiteLC:TerritoryR         NA         NA      NA
NA
TreatmentReference:SiteLC:TerritoryR         NA         NA      NA
NA
TreatmentSingle Tree:SiteLC:TerritoryR       NA         NA      NA
NA
TreatmentTypical:SiteLC:TerritoryR           NA         NA      NA
NA
TreatmentIntensive:SiteLA:TerritoryT         NA         NA      NA
NA
TreatmentReference:SiteLA:TerritoryT    1.92100    1.66673   1.153
0.25046
TreatmentSingle Tree:SiteLA:TerritoryT       NA         NA      NA
NA
TreatmentTypical:SiteLA:TerritoryT           NA         NA      NA
NA
TreatmentIntensive:SiteLB:TerritoryT         NA         NA      NA
NA
TreatmentReference:SiteLB:TerritoryT         NA         NA      NA
NA
TreatmentSingle Tree:SiteLB:TerritoryT       NA         NA      NA
NA
TreatmentTypical:SiteLB:TerritoryT           NA         NA      NA
NA
TreatmentIntensive:SiteLC:TerritoryT         NA         NA      NA
NA
TreatmentReference:SiteLC:TerritoryT         NA         NA      NA
NA
TreatmentSingle Tree:SiteLC:TerritoryT       NA         NA      NA
NA
TreatmentTypical:SiteLC:TerritoryT           NA         NA      NA
NA
TreatmentIntensive:SiteLA:TerritoryW   -3.38500    1.75689  -1.927  0.05542
.
TreatmentReference:SiteLA:TerritoryW   -0.28500    1.89766  -0.150
0.88077
TreatmentSingle Tree:SiteLA:TerritoryW -0.23500    1.96426  -0.120
0.90489
TreatmentTypical:SiteLA:TerritoryW           NA         NA      NA
NA
TreatmentIntensive:SiteLB:TerritoryW         NA         NA      NA
NA
TreatmentReference:SiteLB:TerritoryW         NA         NA      NA
NA
TreatmentSingle Tree:SiteLB:TerritoryW       NA         NA      NA
NA
TreatmentTypical:SiteLB:TerritoryW           NA         NA      NA
NA
TreatmentIntensive:SiteLC:TerritoryW         NA         NA      NA
NA
TreatmentReference:SiteLC:TerritoryW         NA         NA      NA
NA
TreatmentSingle Tree:SiteLC:TerritoryW  3.33633    1.50451   2.218  0.02770
*
TreatmentTypical:SiteLC:TerritoryW      0.28571    1.99213   0.143
0.88610
TreatmentIntensive:SiteLA:TerritoryX   -3.17000    1.75689  -1.804  0.07267
.
TreatmentReference:SiteLA:TerritoryX    2.08389    1.49307   1.396
0.16434
TreatmentSingle Tree:SiteLA:TerritoryX -0.16750    2.15175  -0.078
0.93803
TreatmentTypical:SiteLA:TerritoryX      0.81821    1.55732   0.525
0.59988
TreatmentIntensive:SiteLB:TerritoryX         NA         NA      NA
NA
TreatmentReference:SiteLB:TerritoryX    0.31333    1.60382   0.195
0.84530
TreatmentSingle Tree:SiteLB:TerritoryX -0.06536    1.55732  -0.042
0.96657
TreatmentTypical:SiteLB:TerritoryX     -0.57086    1.45484  -0.392
0.69519
TreatmentIntensive:SiteLC:TerritoryX    4.01800    2.07878   1.933  0.05465
.
TreatmentReference:SiteLC:TerritoryX   -0.25086    1.45484  -0.172
0.86327
TreatmentSingle Tree:SiteLC:TerritoryX  6.72400    1.57141   4.279 2.90e-05
***
TreatmentTypical:SiteLC:TerritoryX     -0.83429    1.55732  -0.536
0.59274
TreatmentIntensive:SiteLA:TerritoryY   -0.62857    1.55732  -0.404
0.68692
TreatmentReference:SiteLA:TerritoryY   -0.87833    1.89766  -0.463
0.64397
TreatmentSingle Tree:SiteLA:TerritoryY -0.77200    2.07878  -0.371
0.71075
TreatmentTypical:SiteLA:TerritoryY           NA         NA      NA
NA
TreatmentIntensive:SiteLB:TerritoryY         NA         NA      NA
NA
TreatmentReference:SiteLB:TerritoryY    2.50583    1.60382   1.562
0.11975
TreatmentSingle Tree:SiteLB:TerritoryY  0.70048    1.38232   0.507
0.61289
TreatmentTypical:SiteLB:TerritoryY     -4.80133    1.81451  -2.646  0.00878
**
TreatmentIntensive:SiteLC:TerritoryY         NA         NA      NA
NA
TreatmentReference:SiteLC:TerritoryY    0.00700    1.66673   0.004
0.99665
TreatmentSingle Tree:SiteLC:TerritoryY  1.61300    2.07878   0.776
0.43870
TreatmentTypical:SiteLC:TerritoryY     -3.03929    1.55732  -1.952  0.05237
.
TreatmentIntensive:SiteLA:TerritoryZ         NA         NA      NA
NA
TreatmentReference:SiteLA:TerritoryZ    3.84071    1.55732   2.466  0.01449
*
TreatmentSingle Tree:SiteLA:TerritoryZ  0.12667    2.02868   0.062
0.95028
TreatmentTypical:SiteLA:TerritoryZ           NA         NA      NA
NA
TreatmentIntensive:SiteLB:TerritoryZ         NA         NA      NA
NA
TreatmentReference:SiteLB:TerritoryZ         NA         NA      NA
NA
TreatmentSingle Tree:SiteLB:TerritoryZ       NA         NA      NA
NA
TreatmentTypical:SiteLB:TerritoryZ           NA         NA      NA
NA
TreatmentIntensive:SiteLC:TerritoryZ         NA         NA      NA
NA
TreatmentReference:SiteLC:TerritoryZ         NA         NA      NA
NA
TreatmentSingle Tree:SiteLC:TerritoryZ       NA         NA      NA
NA
TreatmentTypical:SiteLC:TerritoryZ           NA         NA      NA
NA
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 2.485 on 202 degrees of freedom
Multiple R-squared: 0.3625,     Adjusted R-squared: 0.211
F-statistic: 2.393 on 48 and 202 DF,  p-value: 1.317e-05

	[[alternative HTML version deleted]]

