# Modelling Analysis

When Ranges 4 was launched in 1990, individual-based modelling of animal populations was in its infancy. However, it was becoming clear that not only was such modelling powerful for predicting population beyond the envelope of conditions in which individuals were measured, but also that radio-tracking could provide the linkages of habitats and sociality with persistence or dispersal, and survival and productivity, that would be needed for modelling. So the provision of a toolkit for modelling was a long-term aspiration for this type of software (Kenward 1992).

## Contents

## Introduction

The initial contribution to modelling is a new approach to analysing resources, such as habitats, which can estimate minimal requirements of individual animals and hence enable individual-based modelling. There is also a method for estimating survival or dispersal rates that is convenient for data from radio-tagging. There are illustrated explanations of both methods in (Kenward 2001). Further components of a toolkit for modelling will be added to this tab in due course, with the ultimate aspiration of linking these in order to automate population modelling from location data and maps.

## Resource area dependency analysis

The principle that underlies this analysis is that if an animal requires a particular amount of a resource, such as a particular tree or area of habitat, then it will extend its home-range to an extent necessary to contain than amount of resource. If the resource is rarer, range outlines will be larger. In this case, there will be a negative relationship between range area and resource content. For strong resource dependence, the relationship tends to become negative exponential (Kenward 1982), but is linear with negative correlation if the logarithm of resource content is plotted against the logarithm of range area. Moreover, the range area at a point where the resource proportion is 1 is an estimate of the minimum area of resource required.

Another important consideration is that a single patch of habitat enclosed within range outlines of varying size will show a negative relationship of proportion with area by chance. To avoid misinterpretation of random events, the significance of observed correlations should be compared with random range placement in the same areas. In the case of a single resource, its occurrence significantly more frequently in observed ranges than in random placements may be the best indication of its importance.

This analysis requires an edge file and a habitat file. Suitable example files are in the folder *squirrel*, as described for habitat analysis.

## Analysis options

For a rapid examination of whether the prevalence of any of the habitats in a set correlate negatively with range size, analysis of observed values only is appropriate. The statistics available from such are run are the observed value of *r*, the slope *b* for the regression of (log) habitat prevalence on (log) range area, the standard error of *b*, the (log) area intercept *c* for 100% habitat, the percentage of ranges with no habitat at all in the core, and the percentage with none of the habitat in a particular row. On the graph, the green regression line is for the observed values.

To investigate significance, randomisations are available with 99, 199 and 999 iterations. During randomisation, outlines of all the observed ranges are randomly rotated and displaced within an envelope. By default, that envelope is the minimum convex polygon round all observed outlines for the largest core size among a set of core sizes. *N* outlines are chosen at random with replacement from the *N* observed outlines, and an *r*, *b* and *c* calculated in each case.

Statistics from randomisations include the mean and median values for *r* by randomisation, *z* for the difference of this *r* from the observed*r*, with associated 95% confidence limits, on the assumption that *r* is distributed normally. The next value is a more robust test statistic, which is the number of random *r* values more extremely negative than the observed value. In a two-tailed test, with 999 iterations, a value less than 25 indicates *P*<0.05, with 5 or less for *P*<=0.01 and 0 for *P*<=0.02. There are then mean values for *b*, its SE and *c* by randomisation, which are used to plot the yellow line on the graph, and finally the proportion of random placements of the range outlines that lack the relevant habitat. Percentages below the observed percentage of ranges without the habitat indicate non-random placement of observed range outlines with respect to that habitat.

## Zero handling

Animals may differ in their use of resources. Some may specialise in a quite different resource to the majority, either through choice or exclusion, so that it does not occur in their range. Excluded animals may have above average range size, in which case addition of a value below other values (which is done automatically), will tend to maintain negative correlations. However, if resource strategy is divergent, inclusion of missing (or very low) proportions of the resource may conceal a major effect. At present, a choice of excluding missing values if possible, with two options; resampling to include zeros is appropriate if it is suspected that large ranges are more likely to include habitat by chance. When there are very low values of resource in some observed ranges, it may in future be possible to exclude these objectively as statistical outliers and then examine these ranges for different resource area dependence relationships.

## Exclude habitats

As in analyses of habitat preference, disproportionate use of one relatively abundant resource can conceal a dependence also on one or more uncommon resources. This effect can be avoided by removing the area of the first resource from the range and then re-analysing for the second, in a step-wise approach. Resource exclusion of this type is supported in Ranges 9. The Ctrl key can be held to select multiple habitats to exclude, and is also required to remove previous selections.

## Envelope

The default envelope (the minimum convex polygon round all observed outlines for the largest core size among a set of core sizes) may allow very little rotation and displacement of large ranges in a small area, which can greatly slow analyses. If resources have a wide distribution, a large envelope may be used to speed the randomisation, at least for a first quick test, by loading the envelope separately. This is also useful if analysis is focussed in small cores (say, 50% cluster cores), but a polygon around all the locations is being used to standardise the envelope.