Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [discrete-data]

Refers to data generated from a distribution that has a countable sample space. Discrete data may be nominal (e.g. the distribution of race in a sample of individuals) or ordinal (e.g. the number of errors on a page of text).

0
votes
0answers
13 views

How to determine the longitudinal duration of effect of one time series on another?

I have two time series related to app usage: Notifications- a time series of notifications sent to the user from the app. User Activity- time series of the user interaction on the app. I am trying ...
0
votes
1answer
33 views

How to evaluate $\mathbb{P}(XY=a)=\mathbb{P}(X=\frac{a}{Y})$, when $X$ or $Y$ take multiple values?

Assume $X,Y$ are discrete and have a finite outcome space. How to evaluate $\mathbb{P}(XY=a)=\mathbb{P}(X=\frac{a}{Y})$, when $X$ or $Y$ take multple values? Does one write out the result for each ...
0
votes
2answers
48 views

Approximate discrete probability distribution

I have a discrete probability distribution with can take a large number of discrete values, say $x \in \{1,\ldots,N\}$. I know $p(x)$ for all these $x$. Typically, quite many of the values have a ...
1
vote
1answer
24 views

Question about continuous and categorical variables

We have 211 measurements of iron and carbon export rates across 5 sites and 2 temperatures, and each of those 5 sites has its own discrete set of physical and chemical characteristics. Would it be ...
0
votes
2answers
30 views

Using `glm()` in R for correlated count data (data provided)

I have data from one group ($n = 25$) of subjects pre- and post- tested on an $15$-item dichotomously scored test (see below). Given that the data are from the same subjects (i.e., correlated), how ...
3
votes
1answer
65 views

Outliers on discrete data

Is there any robust methodology to identify outliers in the discrete data distribution. I am specifically concerned with discrete geometrical distribution? P.S. Data transformation does not seem to ...
1
vote
1answer
22 views

Analyzing/visualizing tightly grouped discrete results

I've been having a very hard time finding a good representation (visual or analytical) for lots of data points on a very small, discrete scale. e.g. given a set of results from 1 to 5 in increments of ...
1
vote
2answers
209 views

Difference between geometric distribution and negative binomial distribution

How do I differentiate between a problem of geometric distribution and that of Negative Binomial Distribution? Both include something around first success or failure. I'm confused.
0
votes
1answer
47 views

Meaningful Sample Size

I have a set of 100 people each assigned to one of the four groups (very short, short, tall, and very tall). How many people's height do I have to measure to know the general distribution of people ...
1
vote
0answers
18 views

How to determine if a dichotomous variable is randomly distributed or is predicted by other instances

I have a product with a measurement of X features. Each feature can either be a PASS or a FAIL. Which statistical test can I use to tell if the failures are randomly distributed across all features? ...
4
votes
1answer
39 views

Multi-dimensional CDF on a discrete support

Suppose I have two discrete-support random variables, $X$ and $Y$. They have joint CDF $F(X,Y)$. If I want to find $\Pr(a \leq X \leq b , c \leq Y \leq d)$. It is obviously not: $F(b ,d)-F(a-1 ,...
1
vote
1answer
68 views

Most powerful test for deciding probability mass function

Let $X$ be an integer valued random variable supported on $\{0.1.2...,12\}$ whose pmf is either $g(x)=1/13; x=0,1,...,12$ or $ f(x)=\dfrac x {36} 1_{\{0,1,...,6\}} + (\dfrac 13 - \dfrac x{36})1_{\{7,...
1
vote
1answer
34 views

Model time series as real-valued or integer-valued?

I have a positive-valued time series of daily prices (a sample is listed below -- there are a few thousand observations) that is recorded to two decimal places. It is stationary after computing the ...
0
votes
0answers
10 views

Censored Dummy Regressor

I have a dataset that contains factors corresponding income ranges of sampled persons, like people with factor 1 earn between 10,000 to 20,000, 2 between 20,000 to 30,000 . I could just make dummies ...
2
votes
1answer
59 views

How to calculate the covariance matrix for a categorized variable?

Let $X$ and $Y$ be jointly distributed as a multivariate normal with the following parameters: $$ \mu_{XY} = \begin{bmatrix} 0 \\ 0.2 \end{bmatrix} \qquad \Sigma_{XY} = \begin{bmatrix} 1 & 0.05 \...
0
votes
0answers
18 views

Is there a method to find optimal discrete options from continuous data?

I have human perceptual data measured in a continuous scale. I am however not sure that the underlying variable being measures is in reality continuous, in fact I believe it might be a discrete scale. ...
0
votes
1answer
40 views

Comparing two discrete independent variables

I would like to perform something like two-sample Wilcoxon tests/T-test (paired = FALSE) to compare two method's expected scores. Here is the table of counts: ...
1
vote
0answers
31 views

Is there a distribution such that a sum of its samples creates the uniform distribution? [duplicate]

Say I sample $N$ numbers from a mystery discrete distribution and add them all together. My goal is for the sum of these random variables to be uniformly distributed from $[a,b]$ and thus the ...
1
vote
0answers
16 views

Prove bi-directional relationship between convergence in distribution and convergence of probability mass functions

Let $X$ be a random variable that is positive and integer-valued. Let $X_1, X_2, ...$ also be random variables that are positive and integer-valued. Prove that $X_n$ converges in distribution to $X$ ...
0
votes
0answers
23 views

Is there an analytical way of determining the probability for a specific outcome given a joint p.m.f.?

I'm looking for a way to determine the probability for a specific outcome based on (what I think should probably be) a joint probability mass function. I'll try to put into words my specific case: I ...
0
votes
0answers
9 views

Joint mass function of two perfectly correlated categorical variables

Is it possible to derive the joint probability mass function of two discrete random variables (categorical in my specific case) IF we know that they are perfectly correlated? Let's assume for ...
0
votes
0answers
7 views

How to test significance for discrete scale survey results [duplicate]

I have the results of a device evaluation study with 16 subjects. Each subject has completed two surveys with the same questions but concerning different devices. The questions have been answered on a ...
0
votes
2answers
27 views

Can a continuous cause have a discrete effect?

Say we have a continuous temperature as an input and a few climate categories as an output. For example, if the temperature is between 22.93 and ...
2
votes
1answer
110 views

Compare two discrete distributions using Chi-Sq

(I am not quite sure whether the following post is better suited for CrossValidated or for StackOverflow because I have both a theoretical question about the use of the Chi-Squared test and a more ...
1
vote
1answer
157 views

Basic understanding: Confidence interval for discrete variable

Let's say I play a game with where the outcome can be any even number from 10 to 30, with unknown probabilities. After playing this game, I have the following results: $\bar X=20, s=3$ (with $n=1000$)...
1
vote
1answer
31 views

Conditional probability and independence

Suppose A and Y are discrete dichotomous variables $(A=0,1; Y=0,1)$ If $Pr[Y=1|A=1] = Pr[Y=1|A=0]$, why can we conclude that $$Pr[Y=1|A=1] = Pr[Y=1|A=0] = Pr[Y = 1],$$ without knowing beforehand ...
0
votes
2answers
50 views

Maximum likelihood estimator based on 1 datum for non-canonical discrete distribution

One observation is taken from a discrete distribution with a parameter $\theta$. There are 3 possible values of $\theta$: 1, 2, and 3. The PMF is given below. What is the MLE of $\theta$? I ...
3
votes
0answers
35 views

Fit data based on generating function

Suppose I have iid data generated from a discrete random variable $X_i \sim D(\lambda)$, and I would like to infer the parameter $\lambda$. Unfortunately, I do not know the likelihood function for $D$,...
3
votes
1answer
88 views

Is there a common underdispersed discrete distribution with unbounded support for general mean and variance?

I have a mean $\mu$ and a variance $\sigma^2$ with underdispersion, i.e., $\sigma^2<\mu$. Is there a standard discrete distribution with these moments and unbounded-on-the-right support, i.e., ...
1
vote
0answers
20 views

AIC and BIC and number of quantization level

I want to test how many quantization levels (discretizing levels) are the best for the given data(time series) set I have. Therefore I am applying different levels of binning (like discretisize data ...
1
vote
0answers
30 views

How to determine if my data is discrete or continuous in java? [duplicate]

Could you mind to teach me how can I test whether the given data is discrete or continuous in java? For example, given array (98.6, 99.2, 103.1) and my statistic service should determine the data ...
1
vote
2answers
157 views

ELI5: What is a Discrete Distribution with finite support?

A list of discrete event distributions are labeled as either with or without finite support. https://en.wikipedia.org/wiki/List_of_probability_distributions#Discrete_distributions What does it mean ...
0
votes
0answers
49 views

How to estimate a histogram for two correlated input parameters when the resulting histogram is known?

Let's assume there are two (slightly correlated) parameters (A and B). Both parameters are rated with discrete values (range: 1-5). The sum of the two parameter-ratings gives the cumulative-rating (A+...
-1
votes
1answer
319 views

Difference between continuous and non-continuous data . [duplicate]

In a dataset "survey", pulse and age are given as non-continuous data. how come these age and pulse can be non-continuous? this is the reference link https://explorable.com/discrete-variables
3
votes
1answer
55 views

Different Types of Data

According to my Elementary statistics for Business and Economics text book revised Edition 2012 . Under a section concerning the Different types of Data . This text book says that under Quantitative ...
1
vote
0answers
31 views

Experimental design for discrete choice response

I'm designing a survey where people need to choose one of three transportation alternatives. Here are the alternatives, their specific factors/attributes and the levels I intend to use for each: <...
1
vote
1answer
40 views

How to sample a from p-variate discrete distribution when p is high

Suppose I have a $p$-dimensional random vector $X$, with probability mass function $f(x) = P(X = x)$, $x \in \mathbb \{0,1\}^p$. Each of the $p$ variables is binary. If I want to sample from the ...
1
vote
0answers
22 views

Modelling resampling as conditioning on sum for independent discrete variables

I am trying to model a discrete data generating process where I first draw $Y = (y_1, ..., y_N), y_n \sim F(\theta_n)$ independently from some family of discrete distributions $F$ (e.g. negative ...
0
votes
1answer
37 views

Discrete mathematics - combinations etc

So I got this question and we were under the topic of combinations in school. I tried it but first of all here is the question. A box contains sweets of 6 different flavours. There are AT LEAST 2 ...
0
votes
0answers
10 views

Statistical analysis of discrete events of random occurrence and magnitude

Let's suppose I decide to try search the desert for nuggets of gold. The value of the nuggets may follow some unknown distribution, and the occurrence with which I find them is also unknown. I spend ...
2
votes
1answer
54 views

How to deal with semi-discrete regressors?

I've aggregated a dataset based on some research I've done regarding Battery Electric Vehicles. Three of my regressors however are throwing me off: Available BEV models in the market, Estimated ...
1
vote
0answers
31 views

Why can't we interpret likelihood as probability? [duplicate]

Something similar is asked here What is the difference between "likelihood" and "probability"? My question is (despite all verbal explanation why it is not to be interpreted as ...
0
votes
0answers
84 views

How to perform goodness-of-fit test with negative binomial

I have a dataset composed by 17 observations. Each feature is composed by counts data, so I was thinking on fitting a discrete distribution (i.e. negative binomial) for each feature: ...
11
votes
3answers
1k views

Properties of a discrete random variable

My stats course just taught me that a discrete random variable has a finite number of options ... I hadn't realized that. I would have thought, like a set of integers, it could be infinite. Googling ...
4
votes
1answer
63 views

Comparing distribution A to B and C

I have three discrete probability distributions, A, B and C. They are all measuring P(X) under different circumstances. I suspect that A is more similar to B than it is to C. I know that I can compare ...
0
votes
0answers
826 views

Standard Deviation of Discrete Random Variables in Excel?

I am looking for the Standard Deviation of the Discrete Random variable. I understand how to calculate it by hand but when I use the excel STDDEV function, I am getting a different answer. Is there a ...
0
votes
0answers
18 views

Discrete dependent variable in panel data

I have a dataset of about 300 observations. I wish to model the effect of a certain dummy variable on whether an observation has successfully transformed to a new status (either it changed from 0 to 1,...
1
vote
0answers
23 views

Non-target attribute is imbalanced, is it class imbalance or is there another term?

I have come across the term class imbalance in classification problems. From what I understand, it means the target variable is split into two (or more) categories where on category is significantly ...
1
vote
0answers
127 views

What method should I use to forecast discrete data?

I have data which can take discrete values (between 0 and 5). I have 2 values per day during 2 years which contain a lot of 0 and 5. I know that my data are correlated with end of week, end of month, ...