Tropical Rain Forest Tree Data
                  
                
             
            The Sashelp.BEI data set contains the locations of 3,604 trees in a number of tropical rain forests (Condit 1998; Hubbell and Foster 1983; Condit, Hubbell, and Foster 1996). A study window of 1,000 
 500 square kilometers is used. The data set also contains covariates, represented by the variables Gradient and Elevation, which were collected at over 20,301 locations on a regular grid across the study region. The variable Trees distinguishes the event observations in the data set. The following steps display information about the data set Sashelp.BEI and create Figure B.2: 
            
title 'BEI Data';
proc contents data=sashelp.bei varnum;
   ods select position;
run;
title 'The First Five Observations Out of 23,905';
proc print data=sashelp.bei(obs=5);
run;
title 'The Trees Variable';
proc freq data=sashelp.bei;
   tables Trees;
run;
   
            
               Figure B.2: Tropical Rain Forest Tree Data
               
                  
                     
                     
                        
                        
                        
                           
                           
                              
                              
                                       
                                    
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                    
                                       
                                       | X | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Y | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Elevation | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Gradient | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Aluminum | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Boron | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Calcium | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Copper | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Iron | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Potassium | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Magnesium | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Manganese | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Sodium | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Phosphorus | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Sulphur | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Zinc | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Ammonia | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Nitrate | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | TotalNitro | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | MinAmmonia | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | MinNitrate | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | MinNitrogen | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | pH | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
                                       
                                       | Trees | 
                                       
                                       Num | 
                                       
                                       8 | 
                                       
                                    
 
                           
                         
                        
 
                     
                     
                   
                  
                     
                     
                        
                        
                        
                           
                           
                              
                              
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                    
                                       
                                       | 11.7 | 
                                       
                                       151.1 | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       1 | 
                                       
                                    
                                       
                                       | 998.9 | 
                                       
                                       430.5 | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       1 | 
                                       
                                    
                                       
                                       | 980.1 | 
                                       
                                       433.5 | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       1 | 
                                       
                                    
                                       
                                       | 986.5 | 
                                       
                                       425.8 | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       1 | 
                                       
                                    
                                       
                                       | 944.1 | 
                                       
                                       415.1 | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       . | 
                                       
                                       1 | 
                                       
                                    
 
                           
                         
                        
 
                     
                     
                   
                  
                     
                     
                        
                        
                        
                           
                           
                              
                              
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                       
                                    
                                       
                                       | 20601 | 
                                       
                                       85.11 | 
                                       
                                       20601 | 
                                       
                                       85.11 | 
                                       
                                    
                                       
                                       | 3604 | 
                                       
                                       14.89 | 
                                       
                                       24205 | 
                                       
                                       100.00 |