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).

-1
votes
1answer
405 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
72 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
39 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
43 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
24 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
41 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
60 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
32 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 ...
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
74 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
1k 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 ...
1
vote
0answers
24 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
179 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
107 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
342 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
151 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 ...
1
vote
0answers
69 views

References on calculating posterior mode in multiclass discrete Ising model

I'd like to calculate the posterior mode (maximum a posteriori estimate) for $\Pr[\,X \,|\, Y\,]$ for a model where $X$ is generated by an Ising model on a two-dimensional lattice and $Y$ are noisy ...
0
votes
1answer
64 views

Generate viable sampling distributions of discrete data in R

I'm trying to simulate 2 X 2 data that would yield a relatively strong negative correlation. I'm using the R library GenOrd and ...
2
votes
1answer
161 views

Analysing discrete data from a factorial experimental design

The dependent variable in my data can take on the values 0-7 and is, therefore, a discrete variable. I have data from a number of experiments with one, two, and three-way factorial designs. The ...
0
votes
1answer
22 views

Testing a nominal variable against a non-continuous variable

I have a nominal IV (Group 1, 2, 3) and all of the participants (n=70) performed a 7 question quiz. I want to test the Group number against the number of correct answers (i.e. 8 possible values). The ...
1
vote
1answer
136 views

about discrete and continuous variables relationships exploration

I have a dataset with a dependent variable that is discrete. It can take only six values. The input variables are all continuous. I am using R to do data exploration. I am using boxplot(discrete vs ...
0
votes
1answer
3k views

Discrete vs. Continuous variables

This might seem silly but I am unable to find a clear answer: I need to define whether two variables are either discrete or continuous: "total work" and "sleep". The description of these variables are ...
0
votes
1answer
27 views

Statistical test for sampling discrete objects from urn

I have data that looks like this: ...
1
vote
1answer
39 views

Learning a distribution when observing a OR between several classes

I have a discrete categorical variable $X$ with values in $\{1,2,....m\}$, $m$ being rather small (say 10, 100...). I want to estimate the distribution of $X$: the histogram. If my dataset was made ...
0
votes
2answers
257 views

How to treat discrete variables while modelling in regression

I have a small dataset Friends,Gender,Social 280,female,"13" 250,female,"12" 320,female,"15" 190,female,"14" 320,female,"11" 340,female,"15" 180,male,"10" 220,male,"8" 300,male,"11" 240,male,"9" 270,...
3
votes
3answers
1k views

discrete = countable and continuous = uncountable?

I want to understand what a discrete random variable and a continuous one are. Let $X: \Omega \rightarrow \mathbb{R}$ be a random variable (a function). If $\text{Image} (X)$ is a countable set, ...
1
vote
1answer
255 views

MCMC: How to choose an efficient proposal distribution with continuous and discrete variables

I am using MCMC with the Metropolos-Hasting algorithm to generate solutions of a non linear regression problem. Likelihood My likelihood is a gaussian distribution centered in 0 of the residuals ...
0
votes
1answer
127 views

Half-normal, discrete data - What statistical test should I use?

I have difficulties identifying the correct statistical test for the following. My data show a half-normal distribution, so the histogram would look something like this: ...
2
votes
1answer
60 views

Estimating the probability to have already been seen

Considering a discrete variable $X$ with unknown distribution and having values in an unknown finite set, and a sample of $n$ independent observations of $X$, I want to estimate the probability that a ...
1
vote
0answers
389 views

How can I fit a normal (von Mises) distribution to discrete angular data?

This bears some explaining: I have a set of data from a psychophysics experiment where participants selected a response from a discrete set of 8 possible responses. These responses were actually ...
0
votes
2answers
75 views

Testing out a regression coefficient through t-test?

I'm working on a dataset that refers to the Stroop Effect. The data can be found here. I would like to test the hypothesis that the beta coefficient (that is the slope) for the ...
0
votes
1answer
546 views

Using t test for discrete data

I used t test for my data in likert scale with 115 observations, based on an answer to a similar question (see gung, 12 June 2016). Can somebody help to find a credible source to justify my decision?...
0
votes
1answer
531 views

Test for relationship between i) two discrete variables ii) one discrete and one continuous

What test(s) should I perform to analyse whether a relationship exists between i) two discrete variables (e.g. variables that take only the values 0, 25, 50, 75, 100) ii) one discrete and one ...
1
vote
1answer
170 views

how to analyze overdispersed binary data

In my substantive research, I often use dichotomous scoring (1 correct, 0 wrong) for my tests (tests with $15~yes/no$ items). My goal is often to compare the the proportion of correct answers to all ...
1
vote
0answers
33 views

Variance of n discrete time series

I'm currently having problems understanding how to calculate the variance between n given time series, each containing data of exactly one day. So basically, I'm given one array containing double ...
2
votes
2answers
1k views

How to convert discrete data into a continuous curve

I am interested in drawing graphs to show the distribution of letters throughout a word. This would be in the form of a graph with the x-axis being a continuous scale from 0 to 1 and the y-axis being ...
1
vote
1answer
36 views

Is it correct to choose a model based on variable type or variable distribution?

I have a dependent variable that is Poisson distributed, but it is not 'count' data or data collected over a given time period. It is discreet and positive, with values from 1-10, and it is heavily ...
2
votes
1answer
78 views

Testing a linear hypothesis for a discrete distribution

I have a variable $X$ with a finite number of values $1,2,...k$. The parameter is simply the distribution: a vector $p\in \mathbb{R}^k$ with $k$ components where $p_i=P(X=i)$. I have a dataset with $N$...
1
vote
0answers
125 views

How to fit parameters of a stochastic model applied to agent modeling?

I have a network of agents, these are modeled roughly according to the paradigm of "Agent_Zero: Toward Neurocognitive Foundations for Generative Social Science". The main feature is that the equations ...
1
vote
1answer
53 views

Best plausible estimate of parameter of hypergeometric distribution

Consider the Urn problem where a hypothetical urn contains a finite number of $m$ balls, $r$ of which are black and $m-r$ are white. We take a random sample without replacement of $n$ balls and ...
0
votes
0answers
20 views

Analyzing multiple yes/no features of a sample

What will be the best statistical way to analyze presence/absence of multiple discrete variables for a given sample. Following is example data which shows 4 variables, each of which can be only Yes ...
6
votes
2answers
80 views

Given a bounded number of die rolls following unif{1,6}, produce unif{1,7}

This is a twist on the traditional problem of transforming between uniform discrete distributions of different sizes. For this example, we can roll the die twice and get one of 36 possibilities. The ...
3
votes
1answer
42 views

Entropy of a non-representative sample of discrete distribution

Let $X$ be a discrete random variable which can take $K$ distinct values. Let $S$ be a random i.i.d. sample of $X$ containing $n$ values, $n \ll K$. What can be said about the relation between the ...
3
votes
0answers
49 views

Representation of Noise in Fourier transform

I perform an experiment where I sample $M(k)$ which is in theory related to $|f(x)|^2$ via $M(k)=\int e^{ikx}|f(x)|^2\,dx$. I perform the discrete FT on my data in order to obtain $|f(x)|^2$. Without ...
2
votes
1answer
80 views

Pirate booty distribution's distribution function

I would like to know if the following multivariate discrete distribution has an established name and how to generate it. Let the sample $(X_i)_{i\in{1..n}}$ drawn from this distribution have the ...
0
votes
0answers
39 views

Conversion rate optimization

The data set here presents conversion rates of visitors of a website. Among others, the number of visited pages of the site is a feature and I believe the more pages somebody visits, the more likely ...
1
vote
0answers
522 views

p-value distribution under null hypothesis and discrete data?

Wikipedia says that p-values are uniformly distributed over [0,1] if the null hypothesis is true and for continuous data. What is the expected p-value distribution if the test statistic is discrete? ...
1
vote
1answer
316 views

Difference between two (dependent) multinomial random variables

This multi-part question is motivated by the often used customer satisfaction measure "Net Promoter Score". I understand there is already a much liked Q&A for the margin of error for NPS however, ...