Complex additive models in GEMACO

questions concerning analysis/theory using programs M-SURGE, E-SURGE and U-CARE

Complex additive models in GEMACO

Postby Morten Frederiksen » Fri Nov 30, 2012 9:07 am

I have a data set with 4 states and 2 groups. The states consist of 2 physical sites and 2 heterogeneity classes (independently at each site); states 1 and 2 refer to site A, and states 3 and 4 to site B. I now want to construct a model for encounter probability that is additive for heterogeneity state, group and time - but independent for the two sites. In other words, it's a f+g+t model independently for each site. Defining this model in GEMACO has defeated me so far ...

This doesn't work (which doesn't surprise me): firste+nexte.[[f(1,2)+g+t]+[f(3,4)+g+t]]

I've tried a few other rather strange sentences, but nothing has worked so far. Any suggestions?

Morten
Morten Frederiksen
 
Posts: 42
Joined: Thu May 29, 2003 4:53 am
Location: Roskilde, Denmark

Re: Complex additive models in GEMACO

Postby CHOQUET » Mon Dec 03, 2012 6:51 am

Hello morten,

Instead of our sentence which couldn't work, use the following sentence

firste+nexte.[f(1:2).[f+g+t]+f(3:4).[f+g+t]]

A short explanation to that sentence is that you need to apply f+g+t first to f(1:2) and then to f(3:4).
This is achieved by f(1:2).[f+g+t] and f(3:4).[f+g+t]].
For more informations you can read the following article:

Choquet R. (2008). Automatic generation of multistate capture recapture models. The Canadian Journal of Statistics 36(1): 43-57.

Rémi
CHOQUET
 
Posts: 212
Joined: Thu Nov 24, 2005 4:58 am
Location: CEFE, Montpellier, FRANCE.

Re: Complex additive models in GEMACO

Postby Morten Frederiksen » Thu Dec 06, 2012 3:41 am

Thanks Rémi, that does indeed work.

Morten
Morten Frederiksen
 
Posts: 42
Joined: Thu May 29, 2003 4:53 am
Location: Roskilde, Denmark


Return to analysis help

Who is online

Users browsing this forum: No registered users and 1 guest

cron