The Sashelp.Burrows data set contains the locations of 2,089 burrows, which are the habitat of isopods ("pill bugs") in the Negev desert in Israel (Banerjee and Gelfand 2002). Each burrow has a Status variable that records whether a burrow still contains live isopods, has been emptied by an isopod predator, or has failed for some other environmental reason. The data set also contains covariates, which are measured on a square-meter grid over the study region. These covariates include topographical characteristics such as Elevation, Slope, Aspect, and PercentRock (the percentage of rocks). The data set also contains environmental characteristics such as PercentShrub (the percentage of shrubs) and Dew (the time in hours since midnight required to evaporate the dew). The following steps display information about the data set Sashelp.Burrows and create FigureĀ 47:
title 'Burrows Data';
proc contents data=sashelp.burrows varnum;
ods select position;
run;
title 'The First Five Observations Out of 24,591';
proc print data=sashelp.burrows(obs=5);
run;
proc format;
value bf -1 = "Killed by Predator" 0 = "Failed" 1 = "Successful";
run;
title 'The Status Variable';
proc freq data=sashelp.burrows;
tables status;
format status bf.;
run;
Figure 47: Isopod Burrows Data
| Burrows Data |
| Variables in Creation Order | |||
|---|---|---|---|
| # | Variable | Type | Len |
| 1 | ID | Num | 8 |
| 2 | X | Num | 8 |
| 3 | Y | Num | 8 |
| 4 | Z | Num | 8 |
| 5 | Status | Num | 8 |
| 6 | Watershed | Num | 8 |
| 7 | BurrowCount | Num | 8 |
| 8 | Elevation | Num | 8 |
| 9 | Aspect | Num | 8 |
| 10 | Slope | Num | 8 |
| 11 | Dew | Num | 8 |
| 12 | PercentRock | Num | 8 |
| 13 | PercentShrub | Num | 8 |
| 14 | Burrow | Num | 8 |
| The First Five Observations Out of 24,591 |
| Obs | ID | X | Y | Z | Status | Watershed | BurrowCount | Elevation | Aspect | Slope | Dew | PercentRock | PercentShrub | Burrow |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 448 | 128324.66 | 1031421.00 | 531.75 | 1 | 5 | . | . | . | . | . | . | . | 1 |
| 2 | 679 | 128344.23 | 1031391.63 | 530.79 | 0 | 5 | . | . | . | . | . | . | . | 1 |
| 3 | 680 | 128344.77 | 1031391.31 | 530.86 | 1 | 5 | . | . | . | . | . | . | . | 1 |
| 4 | 683 | 128343.09 | 1031402.81 | 531.24 | 0 | 5 | . | . | . | . | . | . | . | 1 |
| 5 | 686 | 128343.84 | 1031415.25 | 532.11 | -1 | 5 | . | . | . | . | . | . | . | 1 |
| The Status Variable |
| Status | Frequency | Percent | Cumulative Frequency |
Cumulative Percent |
|---|---|---|---|---|
| Killed by Predator | 88 | 4.21 | 88 | 4.21 |
| Failed | 1443 | 69.04 | 1531 | 73.25 |
| Successful | 559 | 26.75 | 2090 | 100.00 |
| Frequency Missing = 22501 | ||||