Input data consists of matrices of recoveries and vectors of the numbers banded each year.
r(1,1) r(1,2) r(1,3) r(1,4)
r(2,2) r(2,3) r(2,4)
r(3,3) r(3,4)
r(4,4)
N(1) N(2) N(3) N(4)
The probabilities for each matrix element is:
F(1) S(1)F(2) S(1)S(2)F(3) S(1)S(2)S(3)F(4) S(1)S(2)S(3)S(4)F(5)
F(2) S(2)F(3) S(2)S(3)F(4) S(2)S(3)S(4)F(5)
F(3) S(3)F(4) S(3)S(4)F(5)
F(4) S(4)F(5)
The file looks like this:
/* San Luis Valley Mallards: Page 92, Brownie et al. 1985
encounter occasions=9, groups=2
glabel(1)=Adults
glabel(2)=Young */
recovery matrix group=1;
10 13 06 01 01 03 01 02 00;
58 21 16 15 13 06 01 01;
54 39 23 18 11 10 06;
44 21 22 09 09 03;
55 39 23 11 12;
66 46 29 18;
101 59 30;
97 22;
21;
231 649 885 550 943 1077 1250 938 312;
recovery matrix group=2;
83 35 18 16 06 08 05 03 01;
103 21 13 11 08 06 06 00;
82 36 26 24 15 18 04;
153 39 22 21 16 08;
109 38 31 15 01;
113 64 29 22;
124 45 22;
95 25;
38;
962 702 1132 1201 1199 1155 1131 906 353;
Start MARK by clicking 'Start' button (lower left corner usually), 'Programs', 'MARK 4.2', then 'MARK'. Or, double-click the MARK icon on the desktop.
When the form appears, go to the 'File' menu and select 'New'.
A dialog window will appear where you can specify the data type, title, filename, and occasion. For this example, click 'Brownie et al. Recoveries' under 'Select Data Type'. Click in the textbox under 'Title for this set of data', and type:'tag-recovery model exercise'. Next, click the button labelled 'Click to select file'.
The program will present a dialog box asking for the name of the input file. Find the folder containing the sample input file (c:\program files\mark\examples), then click on the file (brownie.inp), then click 'Open'.
Click 'View file' to look at the format of the input file.
Change the number of occasions to 9 and the number of groups to 2. Click 'Enter Group Labels' and enter 'Adult' for group 1, and 'Young' for group 2. Click 'OK'.
Click 'OK' and the program will create a database file containing the results for this data.
Once MARK gathers the necessary information about the input, it is ready to run the first model.
For this example, we want to run a few different models. It's best to start with the simplest models and work up to the more complicated ones. So, the first model to run will be one where all S's and F's are equal. To do this, select 'PIM/Open Parameter Index Matrix' from the menus and click 'Select all'. Then click 'Window/Tile' so all PIM windows are visible. Next, click on the windows containing the PIMs for S, then click 'Initial/Constant'. This will automatically change all of the numbers in the window to '1'. Next, click on the windows containing the PIMs for f, change the first value to a '1', then click 'Initial/Constant'. Click the 'Close' button on each of the PIM windows.
Run this model by going to the 'Run' menu and clicking 'Current model'.
A dialog box will appear allowing you to enter a model name and other information. Enter 'S(.),f(.)' in the 'Model Name' textbox, click the 'List Data' checkbox, then click 'OK to Run'.
After clicking 'Run', a window will appear briefly, then disappear. Then, a results dialog box will appear. Click 'Yes' to include the output from the model you just ran in the database file.
The MARK results browser window will now contain a line with the name of the model you just ran with some statistics. To view the parameter estimates for this model, click the fourth button from the left (the first button is the trash can).
A notepad window will open with the parameter estimates, standard errors and confidence limits.