Fitting count data with negative binomial – long tail

I am having difficulties setting up the model and understanding what i can do. As background I beach clean-up events where we recorded the total number of counts of debris – which is my response variable and am testing different variables that can affect the accumulation of debris among the different sites. For each event we collected the effort (number of volunteers and Distance sampled in meters) which in the model below I have included as an offset (‘Dist.Vol’ = number of volunteers * Distance sampled in meters).

See how my data looks:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>str(data1)
'data.frame': 1935 obs
$ Event ID : chr "2128" "5111" "6236" "7082" ...
$ Site : Factor w/ 125 levels "Ammunition Jetty Coogee, WA",
$ Date : chr "2011/10/16" "2014/10/12" "2015/08/16"
$ DayIntSite : num 0 1092 308 189 160 ...
$ Year : num 2011 2014 2015 2016 2016 ...
$ Total Debris : num 1615 801 3303 2130 17534 ...
$ number of volunteers : int 13 18 19 75 120 48 30 82 95 3 ...
$ Distance sampled in m : num 170 180 300 2000 3500 503 1000
$ Dist.Vol : num 2210 3240 5700 150000 420000 ...
$ BACKPROX_Va : Factor w/ 8 levels "Aeolians and Sheets",..: 6 6 6
$ BACKDIST_Va : Factor w/ 11 levels "Aeolian Sand-Sheets",..: 11 11
$ slope_mean : num 54 54 54 54 54 ...
$ avg_Thgt : num 3.44 1.98 1.76 1.79 2.07 ...
$ majority_dir16 : chr "SW" "WSW" "WSW" "WSW" ...
$ tide_mean : num 0.965 0.88 0.809 0.708 0.829 ...
$ Year1 : Factor w/ 12 levels "2011","2012",..: 1 4 5 6 6 6 7 7 8 8 ...
</code>
<code>str(data1) 'data.frame': 1935 obs $ Event ID : chr "2128" "5111" "6236" "7082" ... $ Site : Factor w/ 125 levels "Ammunition Jetty Coogee, WA", $ Date : chr "2011/10/16" "2014/10/12" "2015/08/16" $ DayIntSite : num 0 1092 308 189 160 ... $ Year : num 2011 2014 2015 2016 2016 ... $ Total Debris : num 1615 801 3303 2130 17534 ... $ number of volunteers : int 13 18 19 75 120 48 30 82 95 3 ... $ Distance sampled in m : num 170 180 300 2000 3500 503 1000 $ Dist.Vol : num 2210 3240 5700 150000 420000 ... $ BACKPROX_Va : Factor w/ 8 levels "Aeolians and Sheets",..: 6 6 6 $ BACKDIST_Va : Factor w/ 11 levels "Aeolian Sand-Sheets",..: 11 11 $ slope_mean : num 54 54 54 54 54 ... $ avg_Thgt : num 3.44 1.98 1.76 1.79 2.07 ... $ majority_dir16 : chr "SW" "WSW" "WSW" "WSW" ... $ tide_mean : num 0.965 0.88 0.809 0.708 0.829 ... $ Year1 : Factor w/ 12 levels "2011","2012",..: 1 4 5 6 6 6 7 7 8 8 ... </code>
str(data1)
'data.frame':   1935 obs
 $ Event ID            : chr  "2128" "5111" "6236" "7082" ...
 $ Site                : Factor w/ 125 levels "Ammunition Jetty Coogee, WA",
 $ Date                : chr  "2011/10/16" "2014/10/12" "2015/08/16" 
 $ DayIntSite          : num  0 1092 308 189 160 ...
 $ Year                : num  2011 2014 2015 2016 2016 ...
 $ Total Debris            : num  1615 801 3303 2130 17534 ...
 $ number of volunteers          : int  13 18 19 75 120 48 30 82 95 3 ...
 $ Distance sampled in m          : num  170 180 300 2000 3500 503 1000 
 $ Dist.Vol            : num  2210 3240 5700 150000 420000 ...
 $ BACKPROX_Va         : Factor w/ 8 levels "Aeolians and Sheets",..: 6 6 6 
 $ BACKDIST_Va         : Factor w/ 11 levels "Aeolian Sand-Sheets",..: 11 11 
 $ slope_mean          : num  54 54 54 54 54 ...
 $ avg_Thgt            : num  3.44 1.98 1.76 1.79 2.07 ...
 $ majority_dir16      : chr  "SW" "WSW" "WSW" "WSW" ...
 $ tide_mean           : num  0.965 0.88 0.809 0.708 0.829 ...
 $ Year1               : Factor w/ 12 levels "2011","2012",..: 1 4 5 6 6 6 7 7 8 8 ...

I have tried the negative binomial with default priors and this is the result of the pp_check:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>brms_gam_time_nb_ALL <- brm(Total ~ tide_mean + slope_mean + avg_Thgt + majority_dir16 + BACKPROX_Va + BACKDIST_Va + DayIntSite + (1 | Year1) + (1 | Site) + offset(log(Dist.Vol)), data = data1, family = negbinomial())
</code>
<code>brms_gam_time_nb_ALL <- brm(Total ~ tide_mean + slope_mean + avg_Thgt + majority_dir16 + BACKPROX_Va + BACKDIST_Va + DayIntSite + (1 | Year1) + (1 | Site) + offset(log(Dist.Vol)), data = data1, family = negbinomial()) </code>
brms_gam_time_nb_ALL <- brm(Total ~ tide_mean + slope_mean + avg_Thgt + majority_dir16 + BACKPROX_Va + BACKDIST_Va + DayIntSite + (1 | Year1) + (1 | Site) + offset(log(Dist.Vol)), data = data1, family = negbinomial())

it has a loooooong tail. I have tried a few models but i do not have knowledge to change the priors on my own. I tried the hurdle negative binomial and this also seemed weird. See the result of the pp_check below.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>brms_gam_time_nb_ALL <- brm(Total ~ tide_mean + slope_mean + avg_Thgt + majority_dir16 + BACKPROX_Va + BACKDIST_Va + DayIntSite + (1 | Year1) + (1 | Site) + offset(log(Dist.Vol)), data = data1, family = hurdle_negbinomial())
</code>
<code>brms_gam_time_nb_ALL <- brm(Total ~ tide_mean + slope_mean + avg_Thgt + majority_dir16 + BACKPROX_Va + BACKDIST_Va + DayIntSite + (1 | Year1) + (1 | Site) + offset(log(Dist.Vol)), data = data1, family = hurdle_negbinomial()) </code>
brms_gam_time_nb_ALL <- brm(Total ~ tide_mean + slope_mean + avg_Thgt + majority_dir16 + BACKPROX_Va + BACKDIST_Va + DayIntSite + (1 | Year1) + (1 | Site) + offset(log(Dist.Vol)), data = data1, family = hurdle_negbinomial())

I decided to log transform the counts and use a gaussian but I am not sure if this is an ok thing to do. The model seems to fit better. see below. I know the best approach should have been using the neg binomial and not transform the counts.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>model_brms_log_ALLxx <- brm(logTotal ~ tide_mean + slope_mean + avg_Thgt + majority_dir16 + BACKPROX_Va + BACKDIST_Va + DayIntSite + (1 | Year1) + (1 | Site) + offset(log(Dist.Vol)), data = data1, family = gaussian())
</code>
<code>model_brms_log_ALLxx <- brm(logTotal ~ tide_mean + slope_mean + avg_Thgt + majority_dir16 + BACKPROX_Va + BACKDIST_Va + DayIntSite + (1 | Year1) + (1 | Site) + offset(log(Dist.Vol)), data = data1, family = gaussian()) </code>
model_brms_log_ALLxx <- brm(logTotal ~ tide_mean + slope_mean + avg_Thgt + majority_dir16 + BACKPROX_Va + BACKDIST_Va + DayIntSite + (1 | Year1) + (1 | Site) + offset(log(Dist.Vol)), data = data1, family = gaussian())

I can show you the results summary if needed too. But my question is if there which avenue I should follow… The negative binomial in theory is the best option but is a way of improving the model? Is the log-transformed a wrong approach?

Thank you.
Ana

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật