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.

learn more… | top users | synonyms (3)

0
votes
0answers
6 views

Mixing Categorical and Continuous variables where cardinality of categorical can surpass data points

Suppose we have a dataset of people that can be described with a mix of some continuous variables (eg height, age) some ordinal (eg social status) and some categorical (eg city, car brand, favourite ...
1
vote
1answer
48 views

Comparing large categorical data sets with low or zero counts

I'm dealing with a biological feature which can be classified into $2^{20}$ categories. I also have two pretty large data sets of 1 and 3 million entries. Actually, only around 30 thousand categories ...
2
votes
1answer
27 views

conducting multi-level regression on ordinal DVs with imputed data in R

Do you know of an approach/package that facilitates mixed model regression of ordinal dependent variables on multiply imputed datasets in R? Ideally, the function takes: a list of multiply imputed ...
0
votes
0answers
4 views

After ordering data, sorting the other variables ascending [migrated]

I'm still at a beginning level of R, so I'm having difficulty to make a certain plot called a "lasagna plot". for this I need to first order my data by a categorical value. but after this i have no ...
0
votes
0answers
10 views

Analysis of full factorial with categorical dependent variable and blocking?

I'm working on a research project for which there is some proprietary information that I can't provide here. However, I will do my best to lay out as much information as I can. In this project we ...
1
vote
0answers
7 views

Modification of categorical outcomes in small samples

I have a set of abnormal lab findings and a set of tenderness outcomes in a small sample of "cases" and "positive controls". We hypothesize there may be some lab findings which differentially affect ...
2
votes
2answers
65 views

Capturing Seasonality in Multiple Regression for daily data

I have a daily sales data for a product which is highly seasonal. I want to capture the seasonality in the regression model. How I can do it? I have read that if you have quarterly or monthly data, in ...
0
votes
2answers
29 views

Dealing with Categorical variables in Multiple Regression

I have a data having 2 continuous and 4 categorical variables. Each categorical variable has 3 levels. I want to know how to include the variables in the model. I am using SPSS Variables: Sales - ...
0
votes
0answers
30 views

Simplifying numerous dummy variables

I'm looking into a regression analysis to compare the time it takes to award public contracts across different countries but holding some other variables constant is proving challenging. The set of ...
0
votes
1answer
26 views

Correlations within Factor in a pscyhometric instrument

I am working with results of a psychometric test. There are twelve factors and each have three subfactors. My problem is that one of the subfactors correlates very highly 0.3 to 0.7 with subfactors of ...
1
vote
1answer
11 views

Help with determining model for cross-sectional data where all variables are dummies

I am currently working on my dissertation project where my data are essentially all dummies. From my dependent to my independent variables, everything is a dummy variable (0,1), at least for the ...
0
votes
1answer
7 views

How to interpret factor coefficients regarding unobserved values?

I am presented with a linear regression result that yields the following coefficients: ...
1
vote
1answer
28 views

Why does SAS Enterprise Miner keep all dummy variables for a coded categorical variable in stepwise logistic regression?

SAS Enterprise Miner nicely creates coded dummy variables for any categorical variables used in a logistic regression model. When it performs a variable selection using stepwise sequential selection ...
2
votes
0answers
32 views

Catagorical variables with very uneven distributions? Removal/modify/leave?

In my current dataset I have quite a few categorical variables. Most have decent distributions between the categories. 30:40:30 splits etc. where these are percentage of dataset members per category ...
0
votes
0answers
31 views

Pricing Model with Multiple Variables and not Enough Data

We are modelling the prices of foobars. All foobars have value x which ranges from 0 to infinity. In addition foobars can have multiple characteristics. In order to price foobars we use linear ...
1
vote
2answers
44 views

Singular covariance matrix in exploratory Factor Analysis

I'm kind of a noob to EFA and am trying to use the FANode object in Python. This is from the MDP library. I am using it on survey data to see which variables are tied together. Whenever I run it on my ...
1
vote
0answers
20 views

Setting up feature vectors

I am working on a classification project and I want to use SVM's and/or Clustering Algs. What I am having trouble with is deciding how to set up my feature vectors. I have already decided what my ...
0
votes
0answers
29 views

How to convert Spearman's $\rho$, and Cramér's V to Cohen's $d$?

Is there a way to convert both, Spearman's $\rho$, and Cramér's V into the same effect size (f.e. Cohen's $d$), in order to have an information about which of the underlying relationships ...
0
votes
2answers
36 views

Correlation between unordered categorical variable and numerical variables

I have a dataframe with many observations and many variables. Some of them are categorical (unordered) and the others are numerical. I'm looking for associations between these variables. I've been ...
1
vote
1answer
91 views

Is there a name for the following coding scheme?

Suppose, that we have a categorical variable say color which can take one of three values: Red, Green and Yellow. We can code then using dummy coding or effects coding. But, suppose, we were to code ...
0
votes
0answers
17 views

Adaboost and factor variables

My dataset contains both numerical and categorical features like education level, region etc (i use factor variable type for them). I think these variables are important for predicting the outcome of ...
1
vote
2answers
41 views

Is it important to convert “integer” variables (with 0 or 1 values) to factors?

I am working on a high-dimensional dataset (1776 variables). When I read the csv file, R loads variables (with 0 or 1 values) as class of "integer". Is it important to convert these variables to ...
3
votes
0answers
36 views

Sample size calculation for paired ordinal data

What formula to use for sample size calculation for paired ordinal data? Imagine we have an intervention and we want to measure the effect based on before and after measurements of an ordered outcome ...
0
votes
1answer
23 views

Partial least squares regression for categorical factor in R

I adjust the partial least squares regression for one categorical factor (2 levels – be or nottobe) with with the ...
6
votes
4answers
177 views

Help creating a chart to show categorical data over time

The scenario: Over a course of 10 minutes 2 security guards patrol a floor and have their movement tracked. They can either be on the left or the right side of the floor, and within each side of the ...
0
votes
1answer
35 views

using cluster information in multiple imputation

i need to impute a dataset all categorical variables before doing analysis. I can just simply impute with mode of all data or a variable. I belief that better option will be to classify the subjects ...
2
votes
0answers
15 views

Anonymizing survey data, plus an ethics question

This is a fairly simple question about raw data in Excel. I have a survey asking respondents to rate 17 questions on a rating scale from 1 to 5. The goal is for individuals who answer the survey to be ...
1
vote
0answers
13 views

Chi-squared test where observations can have multiple categories

I am investigating patterns in click-order on images. A user is asked to click on an image in 5 places (can be the same place). This sequence of 5 clicks makes up a graphical password. I am looking ...
0
votes
0answers
8 views

Nested factor variable: How to balance the number of observations with number of levels of a factor?

I am building a regression model and I'm having an issue with how to incorporate geographical information into the model as a predictor in the model. I have multiple geographical levels of ...
1
vote
0answers
16 views

How to obtain estimates for all levels in a mixed effects model that uses effect (deviation) coding?

I am running a binomial mixed effects logistic regression in R using glmer for a sociolinguistics project. I was asked to used deviation (effect) coding. From what ...
3
votes
1answer
59 views

How do you create variables reflecting the lead and lag impact of holidays / calendar effects in a time-series analysis?

I am working on a time-series project in which I am forecasting the daily activity of something (let's call it 'Y') based on three years of historical data. I know that Y is affected by calendar ...
0
votes
0answers
12 views

Follow up a significant interaction in ANOVA with dichotomous variables

Hopefully this is an easily answerable question, though I've been searching for an answer without any luck. I've run a 2x2x2x2 mixed-design ANOVA with two within-subjects and two between-subjects ...
2
votes
0answers
33 views

category selection with LASSO

Suppose one has two features: color = {R, G, B} and t-shirt size = {S, M, L} and wants to regress these features on the probability of a sale, call it p. So the model is p ~ color + size. Now, the ...
0
votes
0answers
8 views

logistic regression with nominal clustered responses

If we would like to study the admission rate with gender as explanatory variables in certain university, we generally cluster the result within each independent department. We would generally assume ...
0
votes
0answers
9 views

Importing csv file: factors instead of numbers. Retrieving a string vector from a list [migrated]

i) I was importing as csv file of numbers, which is now available as a list L. From applying sapply(L, class) I know that my numbers are now factors. Why is ...
1
vote
0answers
24 views

How to report log linear models of contigency tables

I am using log linear models (loglm function, library MASS of R) to evaluate if 3 variables ...
2
votes
4answers
233 views

Clustering binary categorical data

I have some data where I have certain classes (c1, c2, c3, c4 ...) and the data comprises of binary vectors where 1 and 0 denote that an entry belongs to a class or not. The number of classes will be ...
1
vote
1answer
30 views

Multiple regression analysis with spatial data as independent variable

In my PhD thesis I am working on spatial modeling of different chemical parameters in groundwater, and for spatial modeling I am also using the multiple statistical approach. I have a question about ...
0
votes
0answers
16 views

categorical variables in regression analysis and interaction terms

I am learning multiple regression with categorical variables and in a book I came across this problem. For yield of corn suppose there are two factors affecting, nitrogen level and depth of ...
0
votes
0answers
31 views

Linear model with categorical dependent variable

I need to identify relationships between multiple 'counting' independent variables (representing numbers of amino acids in a protein sequence) and one ordered categorical dependent variable (an ...
0
votes
0answers
8 views

How to test multiple group mean different than unconditonal mean using regression?

Let's say we have N apples from multiple vendors (A, B, C, D) and want to test if mean weight of each vendor group different than unconditional mean weight. I know I can use cross sectional dummy ...
0
votes
0answers
19 views

Interaction terms in regression-theory

I am learning categorical variables and interaction terms in the regression course and there few things I don't understand. Suppose a salary data set with predictors experience $X$ in years ...
0
votes
0answers
13 views

Test if Two Categorical Samples Have the Same Joint

It seems to me that the standard way to deal with the problem of testing wether two multivariate samples of categorical data have the same joint probability distribution is to employ a goodness-of-fit ...
0
votes
0answers
26 views

Updating a Dirichlet distribution with partial data

I've got some categorical data where each observation has multiple attributes, and I want to make a probabilistic model of this using Dirichlet distributions. For example, in the two dimensional case ...
0
votes
1answer
32 views

Data preparation and machine algo for ad click prediction

I am an ml noob. I have a task at hand of predicting click probability given user information like city, state, os version, os family, device, browser family browser version, city, etc. I have been ...
0
votes
0answers
10 views

How to check mediating effect of categorical data

Kindly suggest a statistical test in SPSS for the following type of model: X = dependent variable (categorical with 3 categories) Y = dependent variable (scale) M1 = mediating (categorical with 3 ...
2
votes
0answers
53 views

Factor analysis - CATPCA combined with conventional PCA

I have some concerns regarding factor analysis and especially about combining the factor analysis for an ordinal scale (categorical data) - CATPCA with conventional PCA. Basically, I need to enter my ...
0
votes
0answers
18 views

Validating a manual classification

I am classifying some political articles by their bias w.r.t. a particular issue into 5 categories (strongly in favour, mildly in favour, neutral, mildly against, strongly against). For most cases, ...
0
votes
1answer
31 views

Difference between skewed continuous variable and/ or ordinal variable by their binary group allocation

I need to select the most appropriate hypothesis test to answer: "whether there is any difference between variable 1 (ordinal) and/or variable 2 (continuous) by group (binary)". This is a randomised ...
0
votes
0answers
15 views

What are some basic ways to build a binary classifier based on questionaire data?

I apologize if this is a basic question - I'm a complete beginner with machine learning & stats. I am working on a website where signing up for a premium feature requires the user to fill out a ...