model algebra especification

18 views
Skip to first unread message

Joaquín Aldabe

unread,
Aug 3, 2022, 3:10:50 PMAug 3
to unma...@googlegroups.com
Dear all, I am working with an N-mixture model with random effects and want to check if I am writing the algebra correctly. I have several bird counts (samples) in each ranch (or farm), so farm identity is the random intercept (beta0,R). Is this the correct sequence of equations?  I also want to explain how the Poisson and Binomial processes connect to estimate Ni but can´t figure out how the model works. I appreciate comments in this regard too. 

Thanks so much. Joaquín.  

image.png



--
Joaquín Aldabe

Departamento de Sistemas Agrarios y Paisajes Culturales
Centro Universitario de la Región Este, Universidad de la República, Uruguay
Ruta 15 (y Ruta 9), Km 28.500, Departamento de Rocha  
                                                          https://sites.google.com/site/perfilprofesionaljoaquinaldabe/home

Marc Kery

unread,
Aug 4, 2022, 4:02:23 AMAug 4
to unma...@googlegroups.com

Dear Joaquin,

 

mostly correct, but:

  • i in the first line should be a subscript
  • Also in the first line, you need a subscript i for lambda
  • Line 2: make a twiddle instead of the equal sign
  • Line 3: you want the I to be a subscript for lambda and then I think you need a plus sign in the latter parts of that line
  • Line 4: make this a twiddle instead of an equal sign

 

Otherwise, it looks good to me.

 

Best regards --- Marc

 

Von: unma...@googlegroups.com <unma...@googlegroups.com> Im Auftrag von Joaquín Aldabe
Gesendet: Mittwoch, 3. August 2022 21:11
An: unma...@googlegroups.com
Betreff: [unmarked] model algebra especification

 

Dear all, I am working with an N-mixture model with random effects and want to check if I am writing the algebra correctly. I have several bird counts (samples) in each ranch (or farm), so farm identity is the random intercept (beta0,R). Is this the correct sequence of equations?  I also want to explain how the Poisson and Binomial processes connect to estimate Ni but can´t figure out how the model works. I appreciate comments in this regard too. 

 

Thanks so much. Joaquín.  

 

 

 

--

Joaquín Aldabe


Departamento de Sistemas Agrarios y Paisajes Culturales
Centro Universitario de la Región Este, Universidad de la República, Uruguay

Ruta 15 (y Ruta 9), Km 28.500, Departamento de Rocha  

                                                          https://sites.google.com/site/perfilprofesionaljoaquinaldabe/home

 

--
*** Three hierarchical modeling email lists ***
(1) unmarked (this list): for questions specific to the R package unmarked
(2) SCR: for design and Bayesian or non-bayesian analysis of spatial capture-recapture
(3) HMecology: for everything else, especially material covered in the books by Royle & Dorazio (2008), Kéry & Schaub (2012), Kéry & Royle (2016, 2021) and Schaub & Kéry (2022)
---
You received this message because you are subscribed to the Google Groups "unmarked" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unmarked+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unmarked/CAMM93%3D%2BrobGkhePYXMvJRCX-4jOSJoF2iAzi8%2BXu3oV-uhEXqQ%40mail.gmail.com.

joaquin...@gmail.com

unread,
Aug 4, 2022, 9:51:05 AMAug 4
to unmarked
Thanks Marc! in line 4 I want to express a interaction between Year and Management. That´s why I used a X. Do you knwo how to algebraically express that?

Best,
Joaquín

Marc Kery

unread,
Aug 4, 2022, 9:55:15 AMAug 4
to unmarked

Dear Joaquin,

 

If you send me the BUGS language code offline I can make an attempt. I realize now that you may also need some index t for year perhaps.

 

Thanks and best regards  -- Marc

joaquin...@gmail.com

unread,
Aug 4, 2022, 12:39:06 PMAug 4
to unmarked
Hi Marc, I used ubms package. So I don´t have BUGS code. My data consists on 11 ranches. In each ranch I sampled several fields or paddocks. I did this in two different years. In year 1, all ranches had the same management, while in year 2, 6 ranches had changed their management. So, I have 5 ranches as control (no changes in management) and 6 ranches that changed management (treatment). So I´m assessing if year affected treated ranches but not control ranches. That´s why I´m interested in assessing the interaction term..

Hope this helps to figure out the algebra. 

Thanks so much!

Joaquín. 

Marc Kery

unread,
Aug 4, 2022, 2:47:26 PMAug 4
to unmarked
Dear Joaquin,

OK, thanks. Question back:
  • so what's the unit in the experiment ? The field/paddock ?
  • And how did you organize the data for the two years ? Stack them on top of each other ?
Thanks and best regards  -- Marc




From: unma...@googlegroups.com <unma...@googlegroups.com> on behalf of joaquin...@gmail.com <joaquin...@gmail.com>
Sent: Thursday, August 4, 2022 18:39
To: unmarked <unma...@googlegroups.com>
Subject: Re: [unmarked] model algebra especification
 

joaquin...@gmail.com

unread,
Aug 4, 2022, 2:52:26 PMAug 4
to unma...@googlegroups.com

Hi Marc, the unit in the experiment is the field, that is nested in ranch (i.e. several fields were sampled in each ranch). I put Year as a variable (column) with two levels (year 1 and year 2). I want to know if year has a effect on field abundance at control and treatment ranches. I attached the dataset. Let me know if you need further explanation or information.

 

Thanks so much for your time!

You received this message because you are subscribed to a topic in the Google Groups "unmarked" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/unmarked/jQbR7ROTrOI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to unmarked+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unmarked/ZR0P278MB0869CC7BD968ACA693AD11DEEB9F9%40ZR0P278MB0869.CHEP278.PROD.OUTLOOK.COM.

Datos aves con control.csv

Joaquín Aldabe

unread,
Aug 4, 2022, 3:02:48 PMAug 4
to unma...@googlegroups.com
The variable Temporada corresponds to the year (1 or 2), Manejo is management and Potrero means field id. Sorry for sending in spanish. 
Reply all
Reply to author
Forward
0 new messages