# Questions tagged [discrete-data]

Refers to data generated from a distribution that has a countable sample space. The discrete data tag may encompass categorical data, whether nominal (e.g. the distribution of race in a sample of individuals) or ordinal (e.g. socio-economic status), or an actual discrete random variate, such as a set of event counts (e.g. the number of errors on a page of text). Discrete data need not necessarily be integer, however.

597 questions
Filter by
Sorted by
Tagged with
10 views

### Predictive Modeling of Overseas Filipino Workers' Average Length of Stay: A Comparison of Linear and Poisson Regression Models

i want to find our average length of stay in months with a discrete values however the number of months in the dataset is up to 60 that we can treat as continuous. I would like to determine when is ...
37 views

### Significance in 3x3 crosstab including low values and high N

I am conducting a study of 126 organizations. Each organization has one or more registered domain names. Each domain name needs to conform with specific cybersecurity requirements. Some ...
17 views

### How can I perform a comparison of poisson and linear modelling using one dataset?

my y is average length of stay in months however the number of months in dataset is up to 60 so I can treat it as continuous but my main objective is to identify when can i determine it's better to ...
76 views

### Multiple linear regression homoscedasticity/linearity

My question is about the implications of the violation of homoscedasticity/linearity for multiple linear regression. I have tried to find the answer in multiple sources but could not figure it out. I ...
25 views

### Practically and probabilistically modeling discrete data that can take on a countable (potentially infinite) number of values?

As an example, let's say that we have observations of the price of some good at various points in time and would like to predict the distribution of the price of the good one point in the future from ...
71 views

### Is it valid to take the midpoint of discrete outcome variables that express a range e.g. (1-20%, 21-40%) then calculate the mean of those midpoints?

I work in a health service and have a PhD student who was told by my boss (her primary supervisor) to measure clinicians' responses concerning what proportion of their clients had a certain condition ...
53 views

### Extrapolating a Discrete Distribution to a Continuous one

Say I have a list of the letter grades of a class (meaning some number of As, Bs, Cs, Ds and Fs). Is there any way for me to take this discrete distribution and extrapolate it to the most likely ...
9 views

### Mean of the means / ANOVA with percentages

I subjected aliquots of 4 replicates (microorganism cultures) to 3 different treatments + control. In each treatment, I : 1- counted the number of cells whose colour changed in 100 cells of each ...
133 views

### How robust is multinomial logistic regression to having a multi-label problem shoehorned into it?

Consider a situation where there can be membership in group $A$, group $B$, both groups, or neither group. If we wanted to predict group membership probabilities from some covariate information, this ...
1 vote
85 views

### Empirical Bayes grid approximation: How to prevent the prior from overwhelming the likelihood when there are many more samples in the prior?

I am trying to construct a grid approximation of the probability that an event will occur on the discrete interval 0 - 10, the spacing is 0.01. The probability that any single event on the interval is....
26 views

### Distribution of the mean of samples taken from two different distributions

Consider you have some distributions $Z_1$ and $Z_2$ of which you select $n_1$ samples from $Z_1$ and $n_2$ samples from $Z_2$. We now add up these samples and take the mean. The question becomes, ...
42 views

### Does the number of bins influence the "measures of similarity" among histograms?

I have calculated several "measures of similarity" among histograms and discrete probability distributions (such as Cosine similarity, Kullback-Leibler divergence, Jensen-Shannon distance, ...
1 vote
78 views

### Can I trust the results of a t test on 4 point Likert scale data which hides outliers?

I want to use an unpaired two-sample t-test of random samples of $n=40$ each. The sample data is from 4-point Likert scale assessments. I understand the t-test is not very robust to outliers, which I ...
1k views

### Is my variable a discrete random variable, ordinal, or categorical?

I work in trauma research. We use a injury grading system that is fairly unique. Using a system developed in the 60s-70s - the Abbreviated Injury Scale - injuries are graded for six distinct body ...
41 views

### Energy of a signal contained within a given band

Suppose I wish to compute the energy contained in a given frequency range using FFT. So, first, I compute FFT and take the squares of the absolute values of $x_k$. Can I then use discrete integration ...
1 vote
25 views

### FFT: zero-padding and mean subtraction

When computing FFT of a finite-time discrete sample with a non-zero mean, I get two different results depending on the order of operations: whether I zero-pad and then subtract the mean or subtract ...
26 views

### Generating samples from a categorical proposal distribution with specific output (sample) structure

I'll caveat this question with that I do not think what I want to do is possible but suggestions in the right direction would be most helpful. Now my data consists of vectors of length six, where each ...
1 vote
243 views

### Discrete time survival analysis or Cox regression?

In an RCT, I want to find out whether the treatment (treatment vs control) has an effect on the uptake of aftercare (yes/no + time). I have five measurement points, which are not equidistant (i.e., ...
20 views

### Sample size calculations for a pair-dependent discrete outcome

How do we calculate sample sizes (and power) for an outcome that is discrete and is only measurable between two individuals of a group? Suppose we have $n_A$ individuals in group A, and $n_B$ ...
18 views

### Numeric variable that can't be applied to all my observations, causing NA's [duplicate]

Suppose I have a numerical discrete variable that does not apply to all my observations, i.e. 'years_married'. Not all the people in my dataframe is married, so they have an 'NA' registered in this ...
467 views

### How does a machine learning model distinguish between ordered discrete int and continuous int?

Lets say I am classifying if a user will like a Airbnb listing or not (binary classification model) I have 2 features: Number of house rules the Airbnb host has. Since this is a count, this is a ...
1 vote
53 views

### Models for a discrete numerical response with only 5 distinct values

I have a response variable that takes on only 5 distinct values: -15, -5, 0, 5, 15. These values are obtained in a clearly categorical manner, meaning: if event A happens, then the outcome is 5, if ...
30 views

### NLS-estimated Discrete Bass Model (Satoh, 2001)

The above is the Satoh (2001) discrete derivative of the cumulative Bass model. I am using it to estimate a cumulative diffusion pattern from 19 years of data. (Renewable energy source diffusion in ...
1 vote
36 views

### How to sample from a distribution with discrete variables with a known average?

My motivation is to produce carcasses of animals in an ecosystem. The animals have discrete sizes in kg (75, 216, 700, 2500, 5000, 8500, 25000). I also have the estimated percentage each animal ...
72 views

### What kind of transition probability matrix indicates dependence/independence?

Suppose we have two discrete random variables $X$ and $Y$, both of which take values from $\{1,2,...,k\}$. $Y$ is generated from $X$ via a transition probability matrix (also known as the stochastic ...
33 views

200 views

58 views

### Geoscience Statistical Anomaly - Groundwater Measurements

I am a Geoscientist working in the field taking groundwater measurements every day. I frequently work with groundwater monitoring wells as an integral part of my day. For those of you who do not know ...