Questions tagged [count-data]

Count data are non-negative integers representing whole amounts.

Filter by
Sorted by
Tagged with
1 vote
0 answers
10 views

How to Assess Multicollinearity for Independent Count and Rate Variables

How do I test an independent variable for multicollinearity if it comes from a Poisson or Negative Binomial distribution? A common approach for testing the multicollinearity of a model's independent ...
user avatar
  • 227
0 votes
0 answers
19 views

compare whether 3 factors of a categorical variable are distributed differently

For every subject in a study, I have 40 responses that can be: a,b,c. So it would look somthing like sub | trial | resp 1       1        a 1       2        b .... 50   ...
1 vote
1 answer
18 views

Correct loss function and metric for regression of count data in neural network

I am using a convolutional neural network to predict the number of occurrences of a certain pattern in time series data. Since there might be potentially any count of such patterns in a time series, I ...
user avatar
1 vote
2 answers
44 views

Appropriate visualizations for exploring count data

I am preparing to do a regression model (probably Poisson) where the goal variable is count data (number of times a patient received a blood transfusion). I will have to do variable selection out of ...
user avatar
  • 213
1 vote
1 answer
16 views

Can very large count outcomes be treated as continuous variables?

I have very little expertise with count outcomes and analysis of them, but I understand that, in general, they cannot be treated as continuous dependent variables for the purpose of analysis due to ...
user avatar
1 vote
0 answers
13 views

Negative Binomial Regression with Moderation Effect

In H1, I predict the positive effect of a program on the consumer spendings. In H3, I want to predict the positive effect of a program on the number of referrals, while also predicting the positive ...
user avatar
  • 11
0 votes
1 answer
32 views

Interpreting DHARMa residuals for a glmer.nb regression using count data

1 I am modeling overdispersed count data (detection of species) in a GLMM to account for changes in the number of detections of the individual (response variable) to covid period, area (rural vs urban)...
user avatar
3 votes
1 answer
66 views

How to analyse count data

I have count data on bird abundance obtained from 12 locations. I have summed the abundance for each site as I have been sampling each location twice and there is no significant difference between ...
user avatar
  • 31
0 votes
0 answers
19 views

Comparing multiple proportions with zero/1 values

I have a dataset (see below) where I've located bird nests of five different species over four survey periods. For each bird nest I recorded if these were actively being used or not. I want to compare ...
user avatar
0 votes
0 answers
18 views

Can the offset variable be smaller than the outcome variable in a Poisson model?

I am modeling a number of bags of local crop harvested from a village in a given harvest over time. The village is divided into 48 communities and I have data on the total number of bags of crops from ...
user avatar
7 votes
1 answer
106 views

Why does log-linear analysis seem to ignore the Poisson regression equidispersion assumption?

As far as I understand it, log-linear analysis is based on the use of a Poisson regression. This is what I understood from various online resources, like this online tutorial or this text whose intro ...
user avatar
  • 127
1 vote
1 answer
70 views

How to interpret an interaction in a negative binomial?

I'm investigating the influence of top management team nationality diversity (TMTdiv, continuous between 0-1) and board nationality diversity (Boarddiv, continuous between 0-1) on firm ...
user avatar
0 votes
0 answers
8 views

Combining results of 2 survey sources

In my study, I have data from 2 survey sources (from 2 groups of people). They are very different from each others. A few major differences: First group did not get paid to answer the survey while ...
user avatar
1 vote
2 answers
30 views

How can I calculate common digits in daily numbers?

We have daily numbers with 4 digits and 3 digits. These winning numbers often,but not always, have 1 or more digits the same. It would seem there should be a strategy to calculate the percent of time ...
user avatar
8 votes
2 answers
1k views

Estimating probability of attack in Ukraine, given count data

I was looking at some attack count data in Ukraine for different days. The data is gathered from the ACCLED dataset, and there is a picture below. The picture shows individual attacks, but I can apply ...
user avatar
  • 1,118
0 votes
0 answers
18 views

Statistical Analysis on R with Count/Observation Data, multiple explanatory variables [duplicate]

I am running an analysis using R to determine if boat activity impacted shark residence times. I have observation data that includes number of observations within ONE observation event (e.g. number of ...
user avatar
0 votes
0 answers
14 views

Urban Site observation data analysis suggestion

I have conducted site observation at four different locations for a period of 20 mins. (Total of 30 observations for each site). During the site observation, the pedestrian counts, age group and ...
user avatar
2 votes
1 answer
86 views

Confidence interval for multiple samples of ratios of counts (in R)

Data and objective I have count data from two groups, A and B, from across multiple samples. I want to estimate the average ratio of A to B across all samples, along with a confidence interval. Issues ...
user avatar
2 votes
0 answers
38 views

Meta-analysing impact of Covid pandemic on risk for perforated appendicitis

I am analyzing the impact of the change in the management of appendicitis during the covid pandemic. I have paired data from 31 reports comparing the number of operations for perforated and ...
user avatar
  • 161
0 votes
0 answers
27 views

PGLM : negative binomial : In sqrt(diag(se)) : NaNs produced

I have a question related to the count model. I am trying to understand whether pickup and drop-offs influence road crash. Therefore, I have road crashes aggregated at the census tract level as my ...
user avatar
2 votes
1 answer
36 views

Completely different inferences between single-trial difference and meta-analysis comparison

I have the following data ...
user avatar
  • 429
0 votes
0 answers
58 views

Testing trends in proportions with R: prop.trend.test vs rstatix::prop_trend_test

I have an ordinal variable (disease severity index, scores = 0, 1, 2, 3) and presence/absence counts (number of people with presence/absence of virus). I am testing whether or not incidence of the ...
user avatar
  • 1
0 votes
0 answers
25 views

Should observation level random effects be included when modeling dispersed counts in a negative binomial model?

I am trying to specify a model of counts from very different observation sites. Including site level random effects would definitely make sense since there are aspects that are certainly not covered ...
user avatar
0 votes
1 answer
49 views

I want to make sure the use of Poisson count model OR negative binomial model is right for my study

I have a planned study to conduct in few weeks. As it is my first time to deal with a 'count' dependent variable, I have been searching on this website what statistics tools I should use. I have two ...
user avatar
  • 1
0 votes
0 answers
17 views

Appropriate correlation statistic for binary and count data

I have two variables where I want to report their correlation. One is a count variable that ranges from 0-3, and the other is a binary variable that is 0/1. ...
user avatar
  • 155
0 votes
0 answers
18 views

Test for statistical significance between groups in categorical count data with multiple samples

There are two groups/genotypes of mice (WT, KO). For each genotype, four mice were separately used to determine the identities of thousands of individual cells from a particular organ, assigning them ...
user avatar
  • 1
0 votes
0 answers
35 views

Cross validation and aggregated data for count models

I know that this question has already been formulated in other posts where there are quite comprehensive answers, I refer especially to these two explanations (thread1, thread2). However I continue to ...
user avatar
1 vote
1 answer
66 views

Zero inflation with no zeros in data?

I am investigating feeding rates in great apes. Because I am using count data, I built a generalized linear model with a Poisson link function. So I put the number of items in a bundle as a response ...
user avatar
1 vote
1 answer
40 views

Bayesian GLM where the response variable is count classes

Description of data I have to analyze some data where the response variable is the counts of number of insects observed feeding on a bait at many time points. The treatments are three different types ...
user avatar
  • 123
0 votes
1 answer
72 views

Can you compare negative binomial models by AIC?

I have a question about comparing negative binomial models by AIC versus QAIC. My dependent variable is a count, and I have one random term (I am using generalised linear mixed models fitted with the ...
user avatar
0 votes
1 answer
43 views

Can Marginal effects and Incidence Rate Ratios be exactly the same?

Consider a boring count data model of citations of an article in relation to its page number and the price of the journal. I prefer an ordinary negative binomial regression. Can it be that the ...
user avatar
  • 403
1 vote
1 answer
42 views

How to identify the distribution for regression models

I am trying to analyze hunting harvest data with response-variable being individuals/1000 hectares and a series of explanatory variables to describe it. Response variable is continuous (fractionals), ...
user avatar
0 votes
0 answers
15 views

Estimating Proportions with Uncertainty from the American Community Survey

I'm interested in estimating Bayesian statistics related to some proportions from the American Community Survey (ACS). The American Community Survey has several useful handbooks here and two pertinent ...
user avatar
  • 141
0 votes
2 answers
84 views

R: Can I use percentages instead of counts in a chi-squared & pairwise test? [duplicate]

I have count data with a corresponding time and place of each count, but my research question is about proportions. Is it valid to run a chi-squared test on percentages rather than count data? I'm ...
user avatar
  • 691
0 votes
1 answer
32 views

How to analyze percent occurrence data (as counts or proportions)?

My example data: ...
user avatar
  • 691
0 votes
0 answers
17 views

Using Julian Day and Count Data in the same GLM

I have count data in a poisson distribution. My goal is to determine whether the 5 habitats surveyed (predictor variable) differ in their number of individuals (animals) (the response variable). I am ...
user avatar
  • 1
0 votes
0 answers
83 views

Does this Python function correctly implement a beta-binomial test?

Note: I, originally, asked this question on codereview.stackexchange.com (see here), but I was advised to ask the question here to find out whether the statistics/math used in the function is correct (...
user avatar
  • 339
0 votes
0 answers
27 views

Estimating Right Censored Data

I'm a newbie at Math, and I am just getting my feet wet when it comes to understanding math and statistics so please forgive my ignorance or question if it's already been answered or if materials are ...
user avatar
0 votes
0 answers
40 views

Adding count variable IV to Negative Binomial GLM improves fit but causes overestimation

I am currently developing a negative binomial GLM for road safety analysis (known as an “Accident Prediction Model”). Each data point represents a section of road; the dependent variable is the number ...
user avatar
  • 1
0 votes
0 answers
24 views

Distribution for the number of Gaussian random variables in a given bin (or interval)?

Suppose I have N Gaussian random variables (assume 1d) with mean $x_n$ and standard deviation $\sigma_{x,n}$. Suppose I then generate samples from these random variables, and bin the generated data ...
user avatar
  • 1
1 vote
1 answer
173 views

What Statistical Test should I use to compare count data using two grouping variables?

My data represents the count of mutations by gene in two groups cases and ctrl. I would like to do comparison gene-wise between the two groups. But in my case I don’t think anova is appropriate since ...
user avatar
1 vote
1 answer
37 views

Modelling the difference of two zero-inflated count variables

I'm trying to model count data on house sparrows numbers before and after mitigation measures and want to find out which of these measures affect their numbers (if any). I'm however not entirely sure ...
user avatar
  • 11
1 vote
2 answers
131 views

Interpreting Quadratic Variables in Negative Binomial Regression

I want to include a quadratic term for age in my negative binomial model as past work has suggested it may be curvilinear. I know how to interpret a quadratic coefficient in OLS, but am unsure with ...
user avatar
  • 11
0 votes
0 answers
17 views

Can a variable derived using count data be used to model zero inflation in a Zero-Inflation Poisson model?

Say I have a zero-inflation Poisson model that is count ~ var1. My count data is inflated by zeros because count is the number of symptoms of a particular disorder. If count > 5, and those symptoms ...
user avatar
1 vote
0 answers
52 views

What are examples of symmetric copulas $f(x,y)=f(y,x)$ having relative minima for $f(x,x)$?

In a previous posting on this site RepulsiveBehavior I attempted to detail a quantum-information-theoretic separability/entanglement problem I am pursuing. Detailed issues of sampling sizes for a data ...
user avatar
5 votes
1 answer
64 views

Pair-matched count regression in R with offset?

I need to conduct a pair-matched count regression in R. Specifically, my data looks as follows: ID Exposure Occurrence Area 1 0 7 50 1 1 5 55 2 0 6 70 2 1 8 74 3 0 4 45 3 1 9 62 I need the ...
user avatar
0 votes
0 answers
20 views

Intraclass correlation coefficiant for underdispersed count data

I would like to calculate the intraclass correlation coefficiant (ICC). My data are counts, approximately normal distributed and the variance is smaller than the mean. If I am not mistaken, this ...
user avatar
  • 11
0 votes
0 answers
15 views

Difference Between "General" and "Canonical" in Statistics

I often hear the words "general" and "canonical" used in statistics - for example, "generalized linear models" and "canonical solutions". For example, I have ...
user avatar
  • 5,738
0 votes
1 answer
55 views

Count models - how to handle denominator (as offset) when granularity varies

Say I want to do a Poisson Regression to examine how an incidence rate changes over time adjusting for gender. I aggregate the data into the covariate patterns of interest with the count in each ...
user avatar
  • 225
1 vote
0 answers
26 views

Not sure of model choice - significant p-values but very low R2 adj

I am writing a thesis in which I'm trying to see what the relationship is between how innovative a patent is (as determined by a series of measures based on NLP that) and the financial value of that ...
user avatar

1
2 3 4 5
18