mtreglia wrote:Dear All,
In trying to fit resight probability to a linear trend I am in the process of entering in the parameter-specific link function values. I have two groups I am interested in (males and females), and 26 resight surveys, so I am trying to enter the CLogit function as:
CLogit(1,x)
CLogit(2,x)
Where x is the resight survey number. However, I cannot fit 2-digits in for "x" and still close the parentheses. Does it sound like I have my overall set-up incorrect? Or is MARK unable to fit that much text into these boxes?
Thank you!
Best,
Mike
Its a bug in the parameter-specific GUI that won't let you physically enter anything wider than CLogit(x,yy
Meaning, the right-most parentheses can't be entered (and, even if you try, isn't entered).
Fortunately, as long as yy<100 (i.e., is no more than 2 digits), this doesn't matter. If you enter
CLogit(1,10
CLogit(1,11
and so forth, in the .fpt file, this will show up as
CLogit(1,10;
CLogit(1,11;
and so on, instead of
CLogit(1,10);
CLogit(1,11);
But, it seems as though MARK parses the parameter-specific specification in a way that doesn't require the closing right-hand parenthesis. I suspect it simply starts parsing with the left hand parenthesis, reads the first field, hits the comma delimiter, then stops when it hits the semi-colon. At least, this seems to be the case, since it doesn't seem to affect the model deviance at all
CLogit(1,1);
CLogit(1,2);
CLogit(1,3);
gives the same deviances for a sample data set as
CLogit(1,10;
CLogit(1,11;
CLogit(1,12;
A simple bug Gary will no doubt fix at some point.
Now, the larger issue is whether or not CLogit makes sense. You mention trend. There are a number of ways to code for trend in MARK - some of them described in Chapter 6, some not.