# Tagged Questions

Categorical data can take on a limited (usually fixed) number of possible values called categories. Categorical values "label", they do not "measure". Nominal and dichotomous/binary scale types are categorical. Some people consider ordinal scale categorical too.

42 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. ...
70 views

### Testing if treating a categorical variable as continuous is okay

Pardon me if this is a simple question, but I haven't found a great resource for this just yet. Yes, I know that when possible, we should try to treat ordinal variables as categorical rather than ...
57 views

### Significance test for categorical repeated measure data

Despite my best search, I wasn't able to find any solid leads for my problem, so I thought I would share it with the community. It's a question about how to detect a difference between multiple ...
58 views

### Penalized methods for categorical data: combining levels in a factor

Penalized models can be used to estimate models where the number of parameters is equal to or even greater than the sample size. This situation can arise in log-linear models of large sparse tables of ...
187 views

### Variable selection / Dataset reduction for large datasets (in R)

I'm working on a behavoural scorecard modelling exercise, and many of the decisions taken to date have been based on the experience of a consulting credit analyst (whose experience software-wise is ...
84 views

### Cluster on high dimensional categorical data (Images with keywords)

We're looking for clues to perform a Cluster Analysis in a DB with +400K images which have keywords associated to them. Each image could have from 1 to 30 keywords. Total keywords count is +35K. ...
113 views

### Appropriate statistics for proportions where categories are composites of independent binary variables?

I have data in the form of three digit binary numbers (i.e. 100, 101, etc.) scored for each individual in my samples taken from two populations I wish to compare. The three numbers represent ...
159 views

### How to test proportions of a Categorical response variable for a Repeated measures design with Unequal Sample Size?

I have a question about the analysis of a unequal sample size repeated measures data with categorical response variable. This experiment looks at 5 young and aged persons and for each of the ...
428 views

### How to interpret p-values for factors

I have fitted a Poisson model to my data in R which includes two factors as independent variables. Each factor has 5 levels. I have used the ...
163 views

### What is the effect of merging categories on logistic regression estimates?

I have a logistic regression with a number of predictors variables including a factor with, say, 5 categories. The estimates for that factor compare categories 2-5 in turn to the reference category ...
72 views

### Graphical nominal model

Suppose I have a set of $k$ matrices. $$\epsilon = A_1,A_2,...,A_k$$ Each column of $A$ is categorical vector. $$A = v_1,v_2,...,v_n$$ I want to find the mapping  f: A ...
220 views

### Latent class model

I have asked following questions before More than one outcome (dependent) variables in ordinal logistic regression How to handle more than one dependent variable (categorical) in logistic ...
297 views

### How to compare two power law distributions?

Disclaimer: I am a biologist, so please don't hesitate to correct me if I am making unwise assumptions. I am looking at the distribution of a unique 6mer in a series of 2100mer (I have 415 ...
72 views

### R: looking for “time” clusters in a data set

I am new to R and seeking some advice. I have a set (~20M) of data describing on which step a process did fail or succeeded: ...
227 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 ...
15 views

### Hypothesis test between ordered categorical independant var and continuous dep. var

Is there a standard hypothesis test for differences in the mean of a continuous dependent variable with respect to a single ordered categorical variable. By specifying that the independent variable ...
26 views

### Is there a one-tailed test for difference in data variance in a mixed model?

I would like to test if the variation of my response variable is higher for one level of an explanatory variable than for the other. However I am not interested in the total variation, but only ...
69 views

### How do I study the correlation between two categorical variables?

Say I have 1000 unique websites in my sample. Each website has two categorical variables assigned to it: PolicyDomain (e.g. 0 = "health", 1 = "defence", etc... up to 42). Community (e.g. ...
40 views

### Comparing group of people/countries on multiple binary variables

I have a large amount of data from three countries on work values. People are given 17 work value items (good pay, working with pleasant people, job security etc.) and asked the ones that they find ...
104 views

### Dummy variables for time series

I'm a new user on R. I'm stuck on my times series research currently with the some questions. Not sure anyone can help me. Dummy variable. I wanted to add more than 1 dummy variable in the model. ...
66 views

### Categorical logit Predictor with too many different levels

One of the predictors I had in a logit model is "City". Problem is this categorical variable has too many factor levels. e.g. In a Sample of ~3000 there are already ~200 different cities. Is it ...
113 views

### Factor analysis for categorical target variable

I'm doing some research into factor analysis and I've hit that barrier where I don't know what search terms to use. I'm trying to see if something is possible. Basically I have a data set with ~100 ...
721 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 ...
70 views

### Manipulating ordinal variables to segment data

Im working with a negative binomial regression where the dependent variable is number of trips by any given mode (i.e. car trips, train trips etc). I would like to create a variable to segment the ...
117 views

### Independent categorical variables and multiple regression with numeric dependent variables

Firstly I am very very new to stats... I am trying to find a relationship between a dependent numeric factor and have 6 nominal, 1 ordinal and 4 numeric independents. I have been using the category ...
81 views

### Using minimum description length for a categorical distribution

My data is as follows: in a routing node (check figure ), I can see the entry and exit gate of each packet, so I have pairs like this: (1,5) (2,5) (1,6)... ...
555 views

### dummy variables with overlapping categories?

I'm quite familiar with traditional dummy variable coding - code 1 for presence of the attribute and 0 for absence. A multi-category variable is then represented by a series of dummy variables while ...
182 views

### Is a chi-sq test for independence appropriate for categorical time series?

I'm analyzing a very large, but not finite, set of survey data. I've assembled a time series crossing gender (2 categories, if there was uncertainty) with age (in 6 categories) and wish to test ...
231 views

### Proportional odds model for repeated measures ordinal outcomes

I'm looking to analyze data coming from a study for reduction in dependence on an addictive substance. We're looking at 4 subjective measures of clinical dependence called clinical global impression ...
143 views

### What is a good reference on simulating ordinal random variables?

I'm interested in any references for simulating ordinal random variables to be used in a Bayesian (multilevel) analysis.
21 views

### ARIMA model sensitivity

Just wondering if a model was sensitive to the overall assumptions made when building the ARIMA model, what would be the impact on the model if any of these assumptions were violated?
47 views

### Finding the most important product feature for a customer

Looking at a data of the format given below, I am asked to find the (top 3) feature(s) that affect a customer's purchase preference the most. In the dataset below, each customer row contains the ...
33 views

### Handling Infrequently Occurring Categorical Variables

I'm dealing with some data where there are some infrequently occuring categorical variables related to a binary prediction target. For example marketing partners... some send 1000s of leads but many ...
36 views

### Multinomial regression analyses

My dependent variable is categorical (with 3 levels) and my predictor variables are a mix of continuous (age in months, test 1 score, test 2 score, test 3 score) and categorical (gender). I believe I ...
38 views

### Which test? Categorical data, not independent groups.

I would really appreciate it if people could give me advice on which statistical test that I should be using. I have a dataset which comprises of categorical data: presence or absence of different ...
17 views

### Different $B_0$ after setting the independent variable columns to factors?

I'm currently working with a dataset in R and my $B_0$ result is different when I run linear regression with & without converting the data into factors. And I want to understand what I'm doing ...
53 views

### Whether to use friedman test to test differences in categories across four topics?

I have collected data where respondents provide on of the following responses ...
50 views

### Is it possible to plot factor scores in a graph?

I have 5 factor scores which were saved out from Mplus6 to SPSS using commands below. Savedata; SAVE=fscores; I have the variables in SPSS and used them in some ...
51 views

### Testing independence on multivariate categorical data

Let $S_1$ = $(X_1, Y_1)$ and $S_2$ = $(X_2, Y_2)$ be two samples from two groups. The broad null hypothesis is that they come from the same distribution. Note $X$ is a matrix here with many columns ...
157 views

### How do I calculate confidence intervals for a linear combination of coefficients of a logistic regression?

I want to test a series of hypotheses on linear combinations of coefficients for logistic regression on categorical count data implemented as a GLM model. I know how to do linear combinations under ...
120 views

### GLM and categorical variable R - remove one category

I am currently running quasipoisson models with a continuous response variable and 13 covariates. I am using glm() and ...
62 views

### Unordered categorical variables and linear regression

I am new to this forum and still quite novice with regards to statistics. In my M.A. thesis I use one binary dependent variable and one unordered categorical dependent variable in separate ...
106 views

### Logistic regression with categorical response variable

I need to find out out how opinion probability (continuous variable varying between 0 and 1) influences clusters (categorical variable - 6 clusters). I am using Stata and I see two possibilities: to ...
52 views

### How to analyze category responses

In a survey questionnaire I asked participants to give a priority ranking to the question "What factor motivates a lot for wringing out loyalty, and productivity?", with the following choices: "Good ...
27 views

### Estimating parameters of categorical distribution from sum-of-outcome data

Let $X$ be a categorical random variable with possible outcomes $o_1,...,o_n \subset [l, u]$ (real numbers with a known lower bound $l>0$ and known upper bound $u$) that occur with probability \$p(X ...
106 views

### glmnet, categorical variable, group lasso?

I am using glmnet for LASSO. My data set contains several continuous variables and one categorical variable (it has four levels). I wondered if I could treat three dummy variables as other continuous ...
71 views

### Event Prediction through Machine Learning

I have a large data set consisting of ca. 40 categorical data items and a few interval data items (real numbers, less than 5 such items). Most categories should have a lot of values that repeat ...
34 views

### Discretizing all attributes vs. discretizing only the class label

I have a numeric dataset and I would like to apply classification algorithms on it. So I am using Weka's Discretize filter to convert the numeric values to discrete. However I wonder what can be the ...