Page 1 of 2

model averaging - parameter matrix not correct length

PostPosted: Wed Jun 15, 2016 11:42 pm
by Lyndon
Hi,
I've obtained model averaged estimates numerous time without problems. Today I wanted to change the c-hat and obtain new estimates. Now I'm receiving an error message saying 'Parameter Matrix not the correct length in output: f0 1: Session x'. This happened for both a CRD model and a MSCRD model. All parameters are OK except for abundances. While specifying, where I expect a tab for 'N Site Session', I'm getting 'Never encountered (f0) 1: Site Session'. The individual model estimates are fine. I downloaded and installed the latest version of Mark but got the same result.
Has anyone encountered this problem or know a fix?
Thanks,
Lyndon.

Re: model averaging - parameter matrix not correct length

PostPosted: Thu Jun 16, 2016 7:40 am
by egc
Lyndon wrote:Hi,
I've obtained model averaged estimates numerous time without problems. Today I wanted to change the c-hat and obtain new estimates. Now I'm receiving an error message saying 'Parameter Matrix not the correct length in output: f0 1: Session x'. This happened for both a CRD model and a MSCRD model. All parameters are OK except for abundances. While specifying, where I expect a tab for 'N Site Session', I'm getting 'Never encountered (f0) 1: Site Session'. The individual model estimates are fine. I downloaded and installed the latest version of Mark but got the same result.
Has anyone encountered this problem or know a fix?
Thanks,
Lyndon.


This may be one of the parts of MARK that didn't get updated when parameterization was changed from N -> f0. Gary will need to confirm/fix.

Re: model averaging - parameter matrix not correct length

PostPosted: Thu Jun 16, 2016 8:17 am
by gwhite
This does indeed sound like an issue caused by changing the parameterization from N to f0. I would need the MARK files to figure out exactly what is happening. I would suggest you re-run the models and get the proper parameterization on all of them.

Gary

Re: model averaging - parameter matrix not correct length

PostPosted: Thu Jun 16, 2016 7:25 pm
by Lyndon
Thank you Gary. I'll have a look at how one changes the parameterization. I actually didn't change anything, only adjusted c-hat. I'll have a look to see what happens when I rerun the models. If that doesn't fix it, then I'll run them again and have a good look around for changing parameterization.
Lyndon.

Re: model averaging - parameter matrix not correct length

PostPosted: Thu Jun 16, 2016 9:27 pm
by Lyndon
OK, I've missed the point. I retrieved, renamed and reran the models. This time I got estimates but on some scale I didn't understand. How do I get the proper paramaterization? Do you want me to send you the Mark files? Lyndon.

Re: model averaging - parameter matrix not correct length

PostPosted: Fri Jun 17, 2016 8:06 am
by gwhite
Have you looked at the derived estimates, where N estimates are reported?

You can send me the files if you are still having trouble and I'll figure out what is going on.

Gary

Re: model averaging - parameter matrix not correct length

PostPosted: Sun Sep 25, 2016 9:47 pm
by Lyndon
Hi Gary,
Sorry I dropped the thread earlier. I ran out of time and worked out some estimates by hand.
I'm now working on a ORDMS. A discussion at an advanced workshop indicated that the last rather than the first pent was obtained by subtraction in this model. Can you confirm that?
I'm using version 8.1.
BTW, the model-averaging problem I had with my MSORD isn't occurring for the ORDMS.
Thanks,
Lyndon.

Re: model averaging - parameter matrix not correct length

PostPosted: Sun Sep 25, 2016 9:53 pm
by Lyndon
Model averaging works fine for derived estimates as you suggested BTW.

Re: model averaging - parameter matrix not correct length

PostPosted: Sun Sep 25, 2016 10:11 pm
by cooch
Lyndon wrote:Hi Gary,
Sorry I dropped the thread earlier. I ran out of time and worked out some estimates by hand.
I'm now working on a ORDMS. A discussion at an advanced workshop indicated that the last rather than the first pent was obtained by subtraction in this model. Can you confirm that?


Right out of the MARK helpfile:

pent(s, t) - probability of entry onto the study area of state s at time t. The probability of entering just prior to the last secondary occasion is obtained by subtraction, so that the sum of the pent values in a primary session should be constrained to <=1 using the MLogit link function. An example of how to invoke constraints and still use the MLogit link function is also provided.

Re: model averaging - parameter matrix not correct length

PostPosted: Wed Sep 28, 2016 11:22 pm
by Lyndon
OK, thanks. Employed the MLogit constraint OK, it's just that the estimate obtained by subtraction makes much more sense if it were the first, prior to the first sample (as in POPAN), rather than the last, after the last sample.