The input data file is a text file that contains the following items in the given order.
SURPH 1 and SURPH 2.0 Users: Use the stand-alone data conversion routine to convert an input data file from SURPH1 format to SURPH 2.0 format.
The first non-blank line of the input data file must read "Surph2"
The data description goes on the 2nd line (after the "Surph2" keyword). This description will appear in all reports based on th e data.
The number of populations is indicated by the keyword npop or num_populations followed by an integer for the number of populations.
The number of periods is indicated by the keyword nper or num_periods followed by an integer for the number of periods.
If the data contain group covariates, they are defined after the number of periods definition. There is one definition for each group covariate, as follows:
If the data contain individual covariates, there must be one definition for each individual covariate, as follows:
The value for each individual covariate for each individual is specified in the capture history line .
One label per population to be used in reports. If omitted, the names default to numbers 1 through n (n = number of populations ).
The number tagged is specified by the keyword ntag or num_tagged, followed by a number for each population.
The keyword tagID followed by the keyword absent indicates that there are no tag IDs in the data and each capture history line begins with the capture history; if the tagID keyword is followed by the keyword present, the first fiel d of the capture history line is the tag ID. If the tagID keyword is not used, the tag IDS are assumed to be present.
The capture history lines are indicated with the keyword capthist or captureHistories, followed by a capture history line for ea ch individual in each population. The individuals must be grouped by populations. For example, if there are two populations speci fied as
number Tagged 250 300
then there must be 550 capture history lines, with the first 250 belonging to the first population, and the remaining 300 belonging to the second population.
Each capture history line is structured as follows:
Below is an example of a SURPH input data file for a study with 4 populations, 3 periods, 3 group covariates, and 2 individual c ovariates.
