{"id":275,"date":"2017-04-18T03:40:31","date_gmt":"2017-04-18T03:40:31","guid":{"rendered":"http:\/\/sites.warnercnr.colostate.edu\/gwhite\/?page_id=275"},"modified":"2017-04-18T03:40:31","modified_gmt":"2017-04-18T03:40:31","slug":"occupancy-estimation-robust-design","status":"publish","type":"page","link":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/occupancy-estimation-robust-design\/","title":{"rendered":"Occupancy Estimation Robust Design"},"content":{"rendered":"<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/index.html\">Contents<\/a> &#8211; <a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/idx.htm\">Index<\/a><\/span><\/p>\n<hr \/>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: medium\"><b>Occupancy Estimation Robust Design<\/b><\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">The robust design occupancy estimation model (<a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/pertinentliterature.htm\">McKenzie et al. 2003<\/a>) provides a method to estimate the rate (epsilon) at which occupied sites (plots) go extinct, and the rate (gamma) at which unoccupied sites are occupied.\u00a0 The parameters of the models implemented in MARK are psi (proportion of sites occupied), epsilon (probability of an occupied site becoming unoccupied), gamma (probability of an unoccupied site becoming occupied), and p (detection probability on a visit to the site).\u00a0 Three implementations of the model are present in MARK.\u00a0 The default, which is the parameterization used when the &#8220;Robust Design Occupancy Estimation&#8221; button is clicked in initiating a new analysis, is {psi(1), epsilon(t), gamma(t), p(session, t)}.\u00a0 The time intervals specified when the <a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/initial_values.htm\">data are first read into MARK<\/a> determine the number of intervals where epsilon applies, and the number of primary sessions that psi applies.\u00a0 The time intervals are specified the same as for the <a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/robust_design_model.htm\">robust design<\/a> data type.<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">The default parameterization {psi(1), epsilon(t), gamma(t), p(session, t)} generates estimates of the time-specific psi(t), lambda(t) and lambda'(t) parameters as derived parameters (see page 200 of the McKenzie et al. occupancy book).\u00a0 The lambda(t) estimates are ratios of consecutive occupancy rates, and are equivalent to the rate of change in occupancy.\u00a0 The lambda'(t) estimates are the log-odds ratio of consecutive occupancy rates (and are not technically defined for psi = 0 or psi = 1.\u00a0 The main advantage of this parameterization is that gamma and epsilon can be constrained to the [0, 1] interval with the link function, and not affect convergence properties of the optimization.\u00a0 The {psi(t} epsilon{t} p(session, t)} produces derived parameters of gamma(t) and lambda(t), the ratios of consecutive occupancy rates.\u00a0 However, gamma is constrained to the [0, 1] interval through the <a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/penalty_likelihood.htm\">penalty function<\/a> approach, and for some problems, numerical convergence may be problematic.\u00a0 The {psi(t} gamma{t} p(session, t)} produces derived parameters of epsilon(t) and lambda(t), the ratios of consecutive occupancy rates.\u00a0 Here, epsilon is constrained to the [0, 1] interval through the <a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/penalty_likelihood.htm\">penalty function<\/a> approach, and for some problems, numerical convergence may be problematic.<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">To build models for the {psi(t} epsilon{t} p(session, t)} and {psi(t} gamma{t} p(session, t)} parameterizations, you <a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/data_type_change.htm\">change the data type<\/a> from the PIM main menu.\u00a0 All three of these models have the same likelihood, so <a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/qaicc.htm\">AICc<\/a> values are comparable between them.\u00a0 In addition, the Pledger <a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/mixtures.htm\">mixture models<\/a> have been added for all 3 of the robust design occupancy models, and are also available with the change data type menu choice from the PIM main menu.\u00a0 All 6 of these parameterizations produce estimates of lambda(t) and lambda'(t).<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">The usual <a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/occupancy_estimation.htm\">occupancy model<\/a> can also be used with robust design data by treating the primary sessions as different attribute groups, and psi estimated for each group.\u00a0 However, this approach to the analysis would not provide estimates of the extinction (epsilon) and recolonization (gamma) rates.<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">One model often of interest is the random extinction and colonization model, where the probability of a site being occupied at time t+1 is the same regardless of whether or not the site was occupied at time t.\u00a0 You can obtain estimates for this model in MARK by cleaver coding of the <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/design_matrix.htm\">design matrix<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">.\u00a0 Suppose the epsilon of interest is parameter 2 in the PIM, and the gamma of interest is parameter 3 in the PIM.\u00a0 Use a common beta parameter for both epsilon and gamma, i.e., there will be a single column that is modeled by both rows 2 and 3 of the design matrix.\u00a0 If you specify a <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/link_functions.htm\">logit link<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"> for both epsilon and gamma, and code epsilon as -1 in the design matrix and gamma as +1, the result is the model with 1 &#8211; epsilon = gamma.\u00a0 The design matrix looks like:<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Columns: B1 B2 B3<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Row 1: 1 0 0<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Row 2: 0 -1 0 \/* This is epsilon *\/<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Row 3: 0 1 0 \/* This is gamma *\/<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">You also get the same results if you use a <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/link_functions.htm\">sin link<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"> instead of a logit link, because both link functions are symmetric about 0.5.<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">\u00a0<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">For those of you that want to be more complicated, you can also code epsilon with -1 and use a cloglog link, and gamma with 1 and use a loglog link, and get the same result as you would with the logit link.\u00a0 Likewise, you can reverse the 2 link functions, or reverse the -1 and 1, and still get the same model, but with different interpretations of the estimate of beta.<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">The -1 logit link approach also works with covariates, either temporal, group, or individual covariates.\u00a0 Assume the following PIMs:<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">\u00a0 Epsilon PIM<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">\u00a0 2 3 4<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">\u00a0\u00a0 3 4<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">\u00a0\u00a0\u00a0 4<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">\u00a0 Gamma PIM<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">\u00a0 5 6 7<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">\u00a0\u00a0 6 7<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">\u00a0\u00a0\u00a0 7<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Further assume that you have the time-varying covariates with values 11, 12, and 13 for the 3 time intervals.\u00a0 The design matrix then looks like:<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Row 1: 1 0 0<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Row 2: 0 -1 -11<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Row 3: 0 -1 -12<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Row 4 0 -1 -13<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Row 5 0 1 11<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Row 6: 0 1 12<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Row 7: 0 1 13<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Similarly, if you have an individual covariate named &#8220;covariate&#8221;, you have to use the <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/design_matrix_functions.htm\">design matrix function<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"> product to specify a negative value for the covariate:<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Row 1: 1 0 0<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Row 2: 0 -1 product(-1,covariate)<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Row 3: 0 -1 product(-1,covariate)<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Row 4 0 -1 product(-1,covariate)<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Row 5 0 1 covariate<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Row 6: 0 1 covariate<\/span><br \/>\n<span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Row 7: 0 1 covariate<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">In all of these cases, the estimate of gamma = 1 &#8211; epsilon.<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">An extension of the occupancy robust design model is the data type with multiple states, i.e., more than just simple occupied\/not occupied.\u00a0 See <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/occupancy_estimation_multiple_states_robust_design.htm\">Occupancy Estimation Multiple States Robust Design<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"> for the corresponding model.<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: medium\"><b>Individual Heterogeneity for p<\/b><\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Two additional sets of models have been incorporated in MARK to handle individual heterogeneity of p.\u00a0 Pledger mixture models (<\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/pertinentliterature.htm\">Pledger 2000<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">), and normally distributed random errors on the logit scale (<\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/pertinentliterature.htm\">McClintock and White 2009, Gimenez and Choquet 2010<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">).\u00a0 Both of these approaches would typically require more than 2 secondary occasions in a primary occasion to be able to detect individual heterogeneity.\u00a0 However, one advantage of the robust design is that you might look at individual heterogeneity across multiple primary occasions.<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: medium\"><b>Derived Parameters<\/b><\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Three <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/derived_parameters.htm\">derived parameters<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"> are provided.\u00a0 First is occupancy (psi) through time.\u00a0 Second is lambda, the ratio of consecutive psi estimates.\u00a0 Finally is lambda&#8217; (lambda prime), that is i.e., [psi(t)\/(1 &#8211; psi(t))] \/ [psi(t &#8211; 1)\/(1 &#8211; psi(t &#8211; 1))] = [psi(t)*(1-psi(t-1)] \/ [psi(t &#8211; 1)*psi(1 &#8211; psi(t))] (<\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/pertinentliterature.htm\">MacKenzie et al 2006<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">, page 200).<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Contents &#8211; Index Occupancy Estimation Robust Design The robust design occupancy estimation model (McKenzie et al. 2003) provides a method to estimate the rate (epsilon) at which occupied sites (plots) go extinct, and the rate (gamma) at which unoccupied sites &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/occupancy-estimation-robust-design\/\"> <span class=\"screen-reader-text\">Occupancy Estimation Robust Design<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":117,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-275","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/pages\/275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/users\/117"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/comments?post=275"}],"version-history":[{"count":1,"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/pages\/275\/revisions"}],"predecessor-version":[{"id":276,"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/pages\/275\/revisions\/276"}],"wp:attachment":[{"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/media?parent=275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}