Skip to content
Prev 16539 / 20628 Next

Trouble looping model using glmmTMB

Hi, I have been following this string as I try to learn how to bootstrap using R.

I am an R novice and this is actually my first post.

Therefore, I hope I am complying with the posting rules, as I understand them, properly.

I ran the bbolker script From: R-sig-mixed-models [mailto:r-sig-mixed-models-bounces at r-project.org] On Behalf Of Ben Bolker, Sent: Sunday, April 08, 2018 2:22 PM on this topic

Therefore I have the 100:

           [,1]     [,2]      [,3]       [,4]
  [1,] 1.674036 1.103844 -1.558970 0.20640989
  [2,] 1.626733 1.116971 -1.683252 0.09869567
  [3,] 1.623758 1.173316 -1.669386 0.21515432
  [4,] 1.690359 1.141988 -1.729407 0.17972799
  [5,] 1.679417 1.146139 -1.425824 0.19958387

etc?..

AND the bootfit model:

bootfit

# Formula:          y ~ x + (1 | f)
# Zero inflation:     ~1
# Data: bootsamp()
# AIC         BIC       logLik    df.resid
# 13101.717 13130.980 -6545.859      2567
# Random-effects (co)variances:
#
#   Conditional model:
#   Groups Name        Std.Dev.
#       f      (Intercept) 1.499
#
# Number of obs: 2572 / Conditional model: f, 102
#
# Overdispersion parameter for nbinom2 family (): 1.17
#
# Fixed Effects:
#
#   Conditional model:
#   (Intercept)            x
#       1.578            1.103
#
# Zero-inflation model:
#   (Intercept)
#     -1.657


I have reviewed the confint() help and performed the examples: (mtcars and the glm counts).



However, I am not sure how to apply the confint() function on this bootstrap output.


My questions pertain to:


  1.  Deriving confidence interval(s) from the bootstrap  output.
  2.  Proper interpretation of the resulting output statistics.



Please advise at your convenience and thank you in advance for any assistance.



WHP
William H. Poling, Ph.D., MPH


From: R-sig-mixed-models [mailto:r-sig-mixed-models-bounces at r-project.org] On Behalf Of Viraj Torsekar
Sent: Monday, April 09, 2018 7:40 AM
To: Houslay, Tom <T.Houslay at exeter.ac.uk>
Cc: r-sig-mixed-models at r-project.org
Subject: Re: [R-sig-ME] Trouble looping model using glmmTMB

Thanks so much for the suggestion Tom. Yes I was analysing calling effort
for males, and movement for both males and females in that manner. But I
was running separate models for each. I'll have a look at these conditional
two-part models.

Viraj
On 9 April 2018 at 15:50, Houslay, Tom <T.Houslay at exeter.ac.uk<mailto:T.Houslay at exeter.ac.uk>> wrote:

            
<mailto:CAOJBL42qdVortWMi2xVdqv=4MHUT8zbiOPbU3Y+UxBSjkiAY0Q at mail.%0b>> gmail.com<http://gmail.com>>
_______________________________________________
R-sig-mixed-models at r-project.org<mailto:R-sig-mixed-models at r-project.org> mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models<https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models>

Confidentiality Notice This message is sent from Zelis. This transmission may contain information which is privileged and confidential and is intended for the personal and confidential use of the named recipient only. Such information may be protected by applicable State and Federal laws from this disclosure or unauthorized use. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any disclosure, review, discussion, copying, or taking any action in reliance on the contents of this transmission is strictly prohibited. If you have received this transmission in error, please contact the sender immediately. Zelis, 2018.
Message-ID: <SN1PR0201MB18403BC66D9CBA4370905039EA810@SN1PR0201MB1840.namprd02.prod.outlook.com>
In-Reply-To: <CAOJBL41fV+M-vVpVwmxyebH1qOa6rPXxgS5j83WJcEH02ZUQ1g@mail.gmail.com>