Stack Exchange Network

Stack Exchange network consists of 174 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
Make your voice heard. Take the 2019 Developer Survey now

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
1answer
30 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
16 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
33 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
63 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
22 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
8 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
46 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
36 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
13 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
21 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
7 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
6 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
24 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
53 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
70 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
30 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
45 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
32 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
55 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
18 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
votes
0answers
20 views

Slice sampling of a model with continuous and discrete parameters

I have a model with 5 continuous and 1 discrete parameter. I am using PyMC2 to implement slice sampling. I have a custom likelihood function that returns the log likelihood value that gets passed to ...
1
vote
0answers
27 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
103 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
12 views

Handling discrete variables in classification problems

I am working on a dataset that primarily contains multiple discrete numeric variables (no of days... no of accounts.. no of transactions.. etc.) and working on a classification problem. Some of these ...
0
votes
0answers
21 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
215 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
47 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
30 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 ...
0
votes
0answers
75 views

How to estimate mixed logit (or random parameter) discrete choice models in R

I have designed a discrete choice experiment to estimate WTP figures for a non-market good within a group where I think preference is heterogeneous. But I am currently struggling to estimate the model....
1
vote
0answers
20 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
34 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
9 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
48 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
69 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
58 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
480 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
15 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,...
0
votes
0answers
21 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
90 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, ...
1
vote
0answers
82 views

Extract features from discrete time series data

I am working with time series data of discrete (i.e. nominal) values instead of numeric values. In other words, my time series is a sequence of "class values" like: "A", "A", "A", "B", "B", "A", "C" ...
1
vote
0answers
242 views

Fitting higher order Markov chains in R

For $n$ individuals I observe their states at fixed times. So I have $n$ observations of a data generating Markov chain. Using the markovchain-package I then can fit a time-homogeneous Markov chain ...
2
votes
1answer
88 views

Forecast (impute) missing discrete values in multiple time series

I'm looking to forecast (impute) missing discrete values in multiple time series in order to reach a target volume in a consolidated time serie. The context: I have salesmen that are selling ...
3
votes
1answer
71 views

Finding the discrete distribution

I want to find the discrete distribution of X, where expected value of x, E(X)=3 and the Variance of X is 15. X=1,2,3,4,5,and 6. What is the easiest way to find the distribution of X. I really ...
0
votes
0answers
4 views

Which statistical model to use when explaining a stated discrete choice with a current discrete choice and a time and location based instrument?

I have (old) data on when internet became first available in certain areas. And I have a survey, that tells me whether people already have internet at a certain point in time and whether they state, ...