{"id":259,"date":"2017-04-18T03:32:16","date_gmt":"2017-04-18T03:32:16","guid":{"rendered":"http:\/\/sites.warnercnr.colostate.edu\/gwhite\/?page_id=259"},"modified":"2017-04-18T03:32:16","modified_gmt":"2017-04-18T03:32:16","slug":"density-estimation","status":"publish","type":"page","link":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/density-estimation\/","title":{"rendered":"Density Estimation"},"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>Density Estimation<\/b><\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">A density estimator has been incorporated into MARK that uses radio-tracking data to correct the population estimate from mark-recapture sampling.\u00a0 The density estimator is derived from the <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/huggins_models.htm\">Huggins estimator<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"> of a closed population.<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"><u>Derivation of the Estimator<\/u>.\u00a0 The basic Huggins estimator of population size can be written as <i>N<\/i>hat = <i>M<\/i>(<i>t<\/i>+1)\/<i>p<\/i>*, where <i>M<\/i>(<i>t<\/i>+1) is the number of marked animals in the study (i.e., the total number of individual animals captured), and <i>p<\/i>* is the probability that an animal is captured one or more times during the study.\u00a0 The Huggins estimator can be re-written to incorporate individual characteristics as <i>N<\/i>hat = sum over <i>i<\/i> =1 to <i>M<\/i>(<i>t<\/i>+1) of 1\/<i>p<\/i>*(<i>i<\/i>).\u00a0 To estimate density, 1 in the number can be converted to the proportion of its time an animal spends on the trapping grid.\u00a0 So defining <i>p<\/i>tilde as the proportion of time on the grid, the density estimator is <i>D<\/i>hat = sum over <i>i<\/i> =1 to <i>M<\/i>(<i>t<\/i>+1) of <i>p<\/i>tilde(<i>i<\/i>)\/<i>p<\/i>*(<i>i<\/i>) divided by the area of the grid.\u00a0 The value of ptilde(<i>i<\/i>) is estimated as the proportion of radio-tracking locations for animal <i>i<\/i> that fall on the grid, with the radios attached to animals during the trapping session, and the radio-tracking taking place after the traps and bait are removed so that the grid is no longer an attractant.<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Instead of using the observed proportion of an animal&#8217;s locations that fall on the trapping grid, a logistic regression model can be used to estimate this proportion based on the animal&#8217;s trapping locations on the grid.\u00a0 Create the covariate distance to edge (DTE) that is the mean distance of the animal&#8217;s trapping locations to the nearest edge of the trapping grid, and include this covariate in a logistic regression model: logit[<i>p<\/i>tilde(<i>i<\/i>)] = <i>B<\/i>0 + <i>B<\/i>1(DTE).\u00a0 By using the logistic regression model to estimate <i>p<\/i>tilde, not all animals have to have radios attached.<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"><u>Encounter Histories Format.<\/u>\u00a0 Because additional data are required for this estimator besides the typical encounter history, the <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/encounter_histories_format.htm\">format<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"> of the <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/encounter_histories_file.htm\">encounter histories file<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"> is different.\u00a0 The number of locations on the grid and the total number of radio-tracking locations must be included.\u00a0 These values are inserted between the encounter history and the frequency or count of animals:<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">encounter_history num_locs_on_grid num_locs_taken\u00a0 frequency individual_covariate(s);<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">An example for 5 trapping occasions would be:<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">01101 6 10 1 30.5;<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">where the single animal was captured on occasions 2, 3, and 5, 6 of the 10 radio locations were on the trapping grid, and the mean distance to the edge of the grid (an <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/individual_covariates.htm\">individual covariate<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">) was 30.5.\u00a0 For an animal that did not receive a radio, the entry in the encounter history file would be:<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">01101 . . 1 30.5;<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">where dots replace the number of radio locations on the grid and the total number of radio locations taken.<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"><u>Huggins Estimators.<\/u>\u00a0 When the density estimator is selected as the data type for analysis, a pop-up window asks the user to specify which of the 4 Huggins estimators is to be the default data type for estimating <i>p<\/i>*.\u00a0 If either of the Pledger estimators is selected, the <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/mixtures.htm\">number of mixtures<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"> must also be specified.<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"><u>Grid Area.<\/u>\u00a0 The area of the trapping grid (for each attribute <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/number_groups.htm\">group<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">) is entered when the MARK <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/initial_values.htm\">initial values<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"> dialog is filled in.\u00a0 An additional button appears on the screen that allows the user to enter the area for each group.\u00a0 However, this button can only be clicked once the <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/number_groups.htm\">number of groups<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"> and the <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/group_names.htm\">group labels<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"> have been entered.<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"><u>Observed versus Estimated ptilde.<\/u>\u00a0 The estimate of density is produced as a <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><i><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/derived_parameters.htm\">derived parameter<\/a><\/i><\/span><i><\/i><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"> in MARK. <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/real_parameter.htm\">Real parameters<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"> are the parameters of the Huggins estimator plus the <i>p<\/i>tilde estimates. However, the option is available to not use the estimated <i>p<\/i>tilde value to estimate density, but rather use the observed values of <i>p<\/i>tilde for each animal.\u00a0 A check box, Use observed ptilde, appears in the right-hand column of the <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/run_window.htm\">Run Window<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"> that the user can check to use the observed ptilde values instead of the estimates predicted by the logistic model.\u00a0 However, coefficients of the logistic model are still estimated, and appear as <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/beta_parameters.htm\">beta parameters<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">, and <i>p<\/i>tilde still appears in the <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/real_parameter.htm\">real parameters<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">. Thus, the <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/qaicc.htm\">AIC<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"> and <\/span><span style=\"font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/deviance.htm\">deviance<\/a><\/span><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"> of the model is the same regardless of whether the Use observed ptilde box is checked or not.\u00a0 Only the derived parameter estimates change.\u00a0 Typically, the estimates of density change little when every animal is given a radio regardless of whether the estimated or observed values are used to estimate density.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Contents &#8211; Index Density Estimation A density estimator has been incorporated into MARK that uses radio-tracking data to correct the population estimate from mark-recapture sampling.\u00a0 The density estimator is derived from the Huggins estimator of a closed population. Derivation of &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/density-estimation\/\"> <span class=\"screen-reader-text\">Density Estimation<\/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-259","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/pages\/259","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=259"}],"version-history":[{"count":1,"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/pages\/259\/revisions"}],"predecessor-version":[{"id":260,"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/pages\/259\/revisions\/260"}],"wp:attachment":[{"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/media?parent=259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}