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

435 questions
Filter by
Sorted by
Tagged with
82 views

### How to fit a discrete distribution that can only be sampled from to count data?

My question is similar to this one. Assume we have a distribution from which we can only sample, but have no information on its pmf and consider further some count data: ...
90 views

### Measuring how well a new vote fits to a model of existing votes

My knowledge in statistics is very limited, so I hope this is actually an easy question. I am working on a kind of survey application where users either vote between a finite number of discrete ...
429 views

### Gibbs sampling and mixed distribution

For a project, I need to simulate from a joint distribution with both continuous and discrete variables that are dependent. The conditional distribution of any variable given the rest is known. I ...
73 views

### Bias of sample correlation for discrete distributions

Is there a proof showing the bias (or lack thereof) of the sample Pearson's correlation for discrete interval variables? In particular, I am interested in how such a proof handles the expected value ...
374 views

### Discretizing Continuous Outcomes: good examples?

My continuous dependent variable has a lot of error in it. Hence, I was thinking of discretizing it, to reduce the error for my modeling effort. But firstly, the main focus of my modeling effort are ...
118 views

### Combine Multiple Discrete Probability Density Functions

I'm a bit stuck trying to figure out the combined probability from several discrete PDF's. Lets say I have a bunch of different classes (Truck, Sports Car, Station Wagon, etc) and a bunch of ...
4k views

### distance measure of two discrete probability histograms (distance between two vectors)

I have multiple sets of discrete probability histograms(vectors) and I want to measure the distance between each histogram. I have done some research but I am in doubt. Literature suggest I could ...
63 views

### How would you correlate time series (price changes) to a discrete event happening?

I'm not sure what kind of model you would use here... But say you are looking at the price of the S&P 500. Suppose... If the market trends up, then everyone is happy and more likely to spend. ...
140 views

### How can I test whether an empirical discrete distribution is symmetric?

For example, I have a distribution with mean = 55.46; med = 54.5; mode = 45. The Shapiro-Wilk is non significant, the data are unimodal, and there is no significant skew or kurtosis. At a glance, the ...
279 views

### Discrete or continuous variable

I am trying to model Ip adress to cretae a fraud detection framework. So I am wondering if Ip Adress is a continuous or discrete or categorical variable. Bests
25 views

### Does it make to sense to derive a new column based on quantiles?

I am working with a dataset with alcohol levels. It looks something like this: Alcohol Level 10.34 3.21 323.12 ... I'm wondering whether it is common to "bin" ...
27 views

### computing P(a∧b) given P(a) and P(b) empirical distributions over 2D space

I know this is really basic but I have been unable to find anything to confirm or refute my understanding. Suppose two discrete, independent, empirical random variables $A$ and $B$ which are ...
233 views

### How to report a value determined from a cumulative sum?

I'm reporting on methods that use discrete distribution data, for example: ...
438 views

### Goodness-of-fit for Discrete Distributions

I've been doing some data analysis with Scipy. So far I accomplished this with continuous distributions: I can fit a probability distribution to a set of data points using a maximum likelihood fit. ...
34k views

### What are the variance and standard deviation for a standard six-sided die?

I'm having trouble imagining what variance and deviation mean with a series of die rolls. That is, a fair die will fall with a flat distribution on all its values 1-6. Does the concept of variance ...
400 views

### Calculate probability distribution table for dates

I'm a software developer. Over 10 weeks our team has had the following estimations/actuals for how much work we can complete in points: ...
356 views

### Exploring the relationships between discrete and categorical data

When you want to test the relationship (correlation) between two continuous variables, the main methods are easily learnt and very well documented. Scatterplots with regression lines, pearsons ...
688 views

### Methods for modeling discrete dependent variables and categorical independent variables

I need to determine if there are relationships between discrete dependent variables and categorical independent variables. To give some examples, one discrete dependent variable would be salary and ...
409 views

101 views

### Test for significance with multivariate, highly-skewed, discrete data

The data The dataset comprises 10 variables: waiting times (rounded to minutes) for questions to be answered on Stack Overflow by programming language. Each is discrete, none is normally distributed ...
135 views

### Plotting PMFs and PDFs

This is probably a silly question, but I was reading Computational Statistics with Python and there are a few plots describing prior, likelihood and posterior distribution in the context of ...
14 views

### How to combine a continuous effect into a function that is for discrete outcome

I have a function like this: log (P(1)/P(0))= a+ sum(h(x))+ g(x), where a is the intercept, h(x) is a binary outcome: 1, or 0. g(x) is a continuous variable that contribute to the log of a ...
453 views

### Continuous probability distribution over integers?

I have a random variable which can have any value from the set of natural numbers. For example, the probability of the random variable having a low value is higher than the probability of the random ...
177 views

### Transformation of variables in Poisson distribution

If $X$ is a random variable which follows $\text{Poisson}(u)$ distribution then what is the variance of $X^2$?
20 views

### Two-dimensional discrete aleatory variable prediction

I hope someone can help me a bit facing this problem. I have many item samples from a database (let's say 1000 for example) with two attributes: a price from a range of possible prices (0 to 8000€ for ...
1k views

### Notation for possible values of a random variable

Let $X$ be a discrete random variable that can take the values $1, 2, \textrm{and}\ 3$. What is the conventional way to write this mathematically? Is it just $X\in\{1,2,3\}$ or should I somehow write ...
335 views

### Is a random variable taking every rational number or a range of rational numbers discrete or continuous?

My guess would be discrete because such a variable would only take a countable set of values and "continuous" seems to imply the continuum of the real numbers.
582 views

### How do you derive AIC and BIC for discrete-valued observables?

Let's say I have an experiment which yields discrete results between 1 and $N$. I am modelling the results using a number of statistical models and want to use Akaike (corrected) or Bayesian ...
365 views

### Question about discrete, numerical data

True or false: In a survey of your neighbors (asking for family size, the kind of pets they have, the grade of the youngest child in the family, the family's annual income in dollars, what the dad ...
150 views

### Problem on Clustering Discrete Input using GMM

I want to do clustering using Gaussian Mixture modeling (GMM) on a set of data which is a 5-dimension vector of real values $(x_1,x_2,x_3,x_4,x_5)$. However the clustering result were pretty bad, ...
1k views

### When would one pre-specify thresholds in SEM/CFA for limited dependent variables?

I'm working on a structural equation model with limited dependent (discrete) variables using lavaan (0.5-17) in R (3.1.2). I have found that if I define the thresholds for the categorical variables, ...
798 views

### Estimate range of values of continuous variable corresponding to every level of discrete variable

This might seem a silly question, but I have Googled in vain for hours to find an answer, so here goes: I have two variables measuring the same physical parameter. Let's call these variables A and B. ...
293 views

### Regression Discontinuity on Stata with a discrete assignment variable and excluded data at the cutoff

I am looking at a treatment effect of an intervention on a cutoff of age, where age data is only available discrete as year of birth. Due to this, people who turned the cutoff age during the study ...
1k views

### Does an urn's probability distribution change as you draw from it without replacement on average?

Suppose I have an urn containing N different colours of balls and each different colour can appear a different number of times (if there are 10 red balls there need not also be 10 blue balls). If we ...
711 views

### Translating and scaling a uniform discrete distribution?

Is it possible to map a uniform, discrete distribution over two integers $A$, $B$ (lower and upper bounds respectively) onto $[A^*, B^*]$ while keeping the distribution discrete uniform? We may assume ...