Rmark: MS RD Occupancy stratum-specific models?

posts related to the RMark library, which may not be of general interest to users of 'classic' MARK

Rmark: MS RD Occupancy stratum-specific models?

Postby jt.peterson » Thu Apr 13, 2023 11:47 am

Hello- I am trying to fit multi-state robust design models in Rmark to a huge dataset. I want to fit different models for the PSI and R stratum, but can't figure out how. I know how to fit stratum specific models using 'stratum*predictor' and 'stratum:predictor' but it still means that the same predictors are included in each model. I want to fit something along the lines of:
psi:stratum1 = predictor.A+ predictor.B
psi:stratum2 = predictor.C+ predictor.D
etc.
I would greatly appreciate any help!
Cheers,
Jim Peterson
jt.peterson
 
Posts: 2
Joined: Thu Apr 13, 2023 11:21 am

Re: Rmark: MS RD Occupancy stratum-specific models?

Postby jlaake » Thu Apr 13, 2023 12:07 pm

Create a 0/1 variable in the design data for the Psi parameter that is 1 for stratum i and 0 for other strata. Then use say ~d1*(preda+predb)+d2*(predc+predd)... where di is dummy (0/1) for stratum i. Now don't forget an intercept if pred variables are numeric. Also this would use a constant transition to each of the other strata (tostratum) so think carefully about what you are doing here.
jlaake
 
Posts: 1417
Joined: Fri May 12, 2006 12:50 pm
Location: Escondido, CA


Return to RMark

Who is online

Users browsing this forum: Bing [Bot] and 14 guests