I went to Desierto de Los Leones twice to gather my survey data and collected t 45 replicates. After gathering all the field data in an excel sheet, I decided to change my predictor variable from continuous to categorical. The predictor variable, elevation, was divided into high, medium, and low. Also, my response variable, the density of mountain roses (Eryngium proteiflorum) , was kept continuous.
I calculated each category’s elevation by simply averaging all the measurements at each instance. To calculate the density, I added the total number of mountain roses found and divided them by the total area measured at each elevation level.
After grouping the elevations and estimating the density of mountain roses at each elevation, I generated the following graph (Figure 1). It shows a positive correlation between density and elevation.
