# Questions tagged [categorical-data]

Categorical (also called nominal) data can take on a limited number of possible values called categories. Categorical values "label", they do not "measure". Please use [ordinal-data] tag for discrete but ordered data types.

980 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
789 views

### How do I test for independence with non-exclusive categorical variables?

Introduction I have a categorical contingency table with many rows and a binary outcome, which I count: ...
1k views

### How to handle multiple measurements per participant, with categorical data?

I've done an experiment where I've collected measurements from a number of participants. Each relevant data point has two variables, both categorical: in fact, each variable has two possible values (...
610 views

### Recommended method for finding archetypes or clusters

I wish to cluster users together in a database, with each user represented by a number of features that are both discrete and continuous in nature. The aim is to define a small number of archetypal "...
5k views

### Panel regressions with an interaction term between a time dummy variable and a time invariant variable

I have estimated the coefficients of the following equation, using the fixed-effect model: $Y_{it}=\alpha _i+ \rho _t + \beta _1 X_{it}+\beta _2 C_i*D_t+\epsilon_{it}$ I have observations from 1980 ...
485 views

### Regression on large samples: can aggregation of the dependent variable by covariate pattern increase speed of estimation?

Is there a way to build a regression model for continuous output using aggregate data instead of individual data points when all input variables are categorical? I have a moderately large dataset (...
696 views

### Show Pearson Chi-Square Statistic is Score Statistic for Multinomial Data

I've read in many textbooks that the Pearson Chi-Square statistic is a score statistic in the multinomial setting (as well as others). I thought it would be a good exercise to derive this, but I am ...
425 views

### Are there useful distributions for ternary variables (e.g. $-1,0,1$ data)?

The title says it. If one wishes to analyze ternary outcomes—that is categorical outcomes with specifically three values (-1,0,1)—are $\chi^{2}$ / contingency table tests and multinomial-logistic ...
4k views

I’m using Stata 12.0, and I’ve downloaded the polychoricpca command written by Stas Kolenikov, which I wanted to use with data that includes a mix of categorical ...
73 views

### Analysing when tunes are alike: testing ordinal and categorical similarity

I'd like to compare some Jazz tunes. Jazz tunes are characterized by a succession of chords. The interval between each succeeding chord (number of tones) and the order in which they appear matter. ...
121 views

58 views

### What is the best way to simultaneously fit multiple binomial and continuous predictors?

What is the most efficient way to fit a linear model w so that Y = w . X, where X is a ...
103 views

### Correlation among nominal variables

I have a small group of 27 patients bearing a total of 2700 cancer polymorphisms (gene variations of one nucleotide) which can be divided to almost 60 genes. That gives me a 60x27 table where it can ...
48 views

### Test independence categorical variables in genomic data

I have a question regarding testing the independence of two categorical variables in biology. I’ll first explain it in biological terms and then more generally. I have a list of down regulated loci ...
158 views

### Convergence diagnostics for binary variables

I am running MCMC for binary/categorical variables. I know that a decent method to check for convergence is to look at the traceplot of the variance, but I don't know a good citation for this. Does ...
1k views

### Best subset selection with categorical data

I am studying a dependent variable Y with 4 predictors: 2 of them are categorical (with 6 and 7 levels) and 2 numeric. I have used the best subset selection for ...