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
11 views

R and MATLAB: Line Plot with Layered Categorical Variables [on hold]

I'd like to reproduce the graph in the attached figure in R and MATLAB. Note that the x-axis contains categorical variables (hour and day). There could be multiple lines in the y-axis (e.g., the ...
0
votes
0answers
6 views

Feature selection for all categorical classifiers

This is my first question on Cross Validated. I am trying to reduce the dimensionality of my high-dimensional (m = 1.5M) but small-sample size dataset (n = 7K). Characteristic is that all ...
0
votes
1answer
27 views

Clustering using gower distance in R

I have a dataframe which has categorical and numeric variables. I want to cluster this data using gower distance and get cluster values as a vector as in kmeans function. How can i achieve that?
1
vote
0answers
6 views

Binomial Logistic regression to Compare results of multiple methods to a known value

I have a "known value" (recorded by a field observer) which I want to compare several methods of data collection with to test for significant differences between methods. Methods: 2 points along a ...
1
vote
0answers
15 views

Summary chart for three categorical variables

Can a single chart be used to summarize three categorical variables, much like a Marimekko Chart can be used to summarize two? Obviously, a set of Marimekko Charts could be displayed in a small ...
0
votes
0answers
32 views

Running Multiple Linear Regression in R with 3 Factors and 1 Continuous Variable

I am running a Multiple Linear Regression model using R. I am looking at travel behavior and most of the variables are factors with YES or NO as responses. However, I am concerned about using 3 ...
3
votes
2answers
133 views

Can we use categorical independent variable in discriminant analysis?

In discriminant analysis, the dependent variable is categorical, but can I use a categorical variable (e.g residential status: rural, urban) along with some other continuous variable as independent ...
0
votes
0answers
11 views

Dropping dummies from regression by putting them into the reference group [duplicate]

I have the following result of a logistic regression: ...
0
votes
1answer
30 views

How to calculate the effect size of differences in groups using dummies in multiple regression?

I am running a multiple regression analyses on a sample of 1800 respondents. The dependent variable is the mean of a 5-point likert scale and I have 6 predictors (antecedents) also using mean of ...
2
votes
0answers
16 views

What is equivalent of pairwise t-test for categorical variables?

I am doing some analysis where I have two monthly snapshot data (containing both numeric and categorical variable). Now I am trying to see which variable changed significantly from the first month in ...
2
votes
1answer
44 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 ...
0
votes
0answers
10 views

What method(s) exist(s) for the classification and reliability (Cohen's kappa) analysis of partial data?

I'm trying to set up a study in which I have many (about 700) images to classify. I need to measure expert judgements on this data set. Based on literature on the same subject, I am setting up a study ...
0
votes
1answer
13 views

How to interpret simple effect of a variable interacted with several others?

I am sure this has been asked before (similar here but no answer). But I have not found an answer yet. To give you a short frame: I am researching firm level data and I am ivestigating several ...
1
vote
1answer
29 views

Dummy Data & Regression Analysis

I've been doing some analysis projects at work and I've been supplied with some dummy data regarding whether an applicant has applied on a weekday or weekend (I have set this as 0 for weekend and 1 ...
1
vote
1answer
40 views

Explanation of the different variable types in statistics?

One thing that has always tripped me up when trying to learn new methods in statistics is understanding what type of features/variables can this method be applied to. The variable types that ...
0
votes
0answers
13 views

Determining significance of change in a categorical variable following intervention

I'm currently stuck and could do with some help. I'm designing a study to assess change in a categorical variable following intervention. Specifically I'm looking at change in attachment style (AS) ...
1
vote
2answers
28 views

Categorical Predictors and categorical responses

I have a dataset consisting of 5 categorical predictors and a categorical response (class). I want to find out which predictor has an effect on the response. Additionally, I can't guarantee whether ...
3
votes
1answer
20 views

Common approaches to illustrating “central” responsiveness in linear regression predictions when including categorical variables?

Consider the simple linear regression framework: $y=\beta_0+\beta_T T+X\beta_X+\varepsilon$ Where $T$ is an indicator for treatment in an RCT and $X$ is a vector of controls. One common approach I ...
0
votes
0answers
11 views

Correlations for Categorical, Dichotomous, and Interval Data

My non-parametric data consists of a categorical criterion variable with 7 levels (one that has a frequency <5) and 24 predictor variables, 7 of which are categorical (some with frequencies < 5, ...
1
vote
0answers
20 views

In Stata, how do I test for interaction of categorical variables in multilevel models?

I'm trying to figure out a way to test for interaction between variables in three level model. Using example Stat dataset we can have a dummy model with states nested into regions: ...
0
votes
0answers
28 views

What is the activation function, label and loss function for Hierachical Softmax [migrated]

Several papers([1],[2], [3]) suggest the use of Hierachical Softmax instead of softmax for classification where the number of classes is large (eg many thousand). I haven't been able to get clear in ...
4
votes
2answers
44 views

How to interpret a two-dimensional contingency table?

I am trying to understand how to interpret log-linear models for contingency tables, fitted by way of Poisson GLMs. Consider this example from CAR (Fox and Weisberg, 2011, p. 252). ...
2
votes
1answer
41 views

Using a Dummy Variable to Control for Great Recession data

I am looking to produce a forecast with a quarterly dataset of sales. I only have so many year's worth of data post-recession and I want to investigate including more datapoints, which would mean ...
0
votes
0answers
21 views

Multifactor Covariance Matrix

hanks for taking a look. I am struggling to understand a rather simple concept. I ran a simple linear regression of the form $$A= \alpha+ \beta X + E$$ $$C = \alpha +\beta X + E$$ Then i ...
1
vote
2answers
60 views

Approaches to modeling data like this in R

A couple years ago I performed a linear regression on data that looked like this: ...
0
votes
1answer
10 views

Intra-rater reliability for categorical (non-binary) data with variable observations

Here's what my data look like: From a mark-recapture study on a population of birds, I have data on the coloration score for each individual bird. The coloration score is a simple visual score that ...
0
votes
0answers
15 views

Tobit and Categorical Independent Variables

I am using Stata 13 to estimate a Tobit model with a endogenous variable which is bounded from above. My research is focused on firm level data. I have numerous moderators. Among these is a ...
0
votes
0answers
14 views

Dummy regression, reference group selection, Mallows' $C_p$ criterion, correlation

I am using glm (target, formula = target~.,family=binomial) to predict binary outcome. I have 9 grouped predictors. I convert them into factors so that I can test ...
0
votes
0answers
20 views

What is the equivalent of ANOVA for repeated measures/mixed between-within subjects for categorial variables?

I would like to test the effect of an intervention on physical activity measured by self-report (IPAQ, International Physical Activity Questionnaire) which has categorial scores. So what is the ...
0
votes
0answers
5 views

SPSS Cochran-Mantel-Haenszel test for comparison of the response of two groups in different time points [migrated]

I want to analyze in SPSS a data set that contains dichotomous responses in multiple time points of two groups of patients that have been given a different treatment. The respective publications ...
1
vote
0answers
32 views

correlation between categorical variable and itself (multiple categories)

I've got a categorical variable that people can be in more than one category of—think something like "choose your favorite color or colors". What can test for correlation between the categories? I ...
1
vote
2answers
44 views

Multicollinearity and the intercept term with categorial variables

We're given a regression equation with two dummy variables which are perfectly collinear. $$ y_i = \beta_1 D1_i + \beta_2 D2_i + e_i$$ where $ D2_i = 1-D1_i$. Can we estimate this model using least ...
0
votes
0answers
8 views

Disentangling two variables which happen at the same time

I am studying regulatory influences on disclosure by a firm using the model: $Y = a + b_1X_1 + b_2X_2 + bnControlsit + e_i$ where $X_1$ and $X_2$ measure the regulatory influences. However, the two ...
2
votes
2answers
42 views

Covariance of Categorical variables

I know that the following is true for one categorical variable $X \in \{1,...,k\}$ $cov(X=i, X=j) = -p_i p_j$ However, I don't have intuition behind this and cannot find a proof for this. Is there a ...
0
votes
1answer
28 views

Coding categorical variable

Let's say I have a dataset where a data point contains information about a group of people. The group can consist of MALE, FEMALE, or BOTH - a variable group_gender. Should I code this as a factor ...
0
votes
0answers
25 views

Categorical and Numerical Variable analysis

If I have a set of data of 9 predictor variables (2 are numerical and 7 are categorical) and one numerical response variable. How can I find the correlation between the different variables and what ...
0
votes
1answer
41 views

When should I use contrast coding?

I have a - so I guess - a simple question: I am using Stata 13 and I am running a Tobit model to understand differences in firm performance. Among others, I am controling for firm types $T_i$- i.e. ...
0
votes
0answers
20 views

Is gravity a viable confounding variable in this scenario?

The two variables are: The width of an elevator door The brake force of an elevator The width of an elevator door is associated with its emergency brake force. What are some possible confounding ...
0
votes
0answers
14 views

How to Analyze Categorical Data in a Repeated Measures Design?

First post. I've read through similar posts and no one's quite answered it already, so I thought I'd throw my hat in the ring. Here goes: I have a repeated-measures design planned proposes to ask a ...
0
votes
0answers
17 views

Factor scores for EFA with binary data

I am conducting an exploratory study which investigates goal progress predictors. The list of potential predictors is long (42) and I am attempting to reduce the number of predictors using factor ...
1
vote
1answer
26 views

Interaction effect in a multiple regression vs split sample

Until now I thought I understand an interaction effect. I interpreted it always as the change of slope conditional on some dummy=1. Perhaps I am wrong. I have a model and add an interaction dummy D, ...
1
vote
2answers
101 views

Model for comparison of two subsets of the same data

I am looking to perform an analysis on a subset of the data and compare it to a larger subset. My data is primarily categorical and the dependent variable is binary. I want to compare $y^*= \beta ...
0
votes
0answers
15 views

Multiple dummy variables and hierarchical models: interpretation of intercept

I have two variables, race and marriage, that I have created dummy coding for. I know that typically the intercept ($\beta_0$) is interpreted as the default level (level 1) for one variable. How do ...
-1
votes
1answer
15 views

How to statistically categorize a list of reasons?

I am working with call center data, one of the variables available is "Reason" which is a description of the reason the customer called. There is 40 different reasons that the agent can choose from. ...
0
votes
1answer
25 views

Using standardized coefficients for relative importance with factor predictors

I have following dataset which is modified from birthwt dataset of MASS. ...
2
votes
1answer
22 views

Using dummy variables when variable has been standardized

I was wondering if someone can help me with the following. I am using an investor sentiment index that has been standardized to yield a mean of 0 and a standard deviation of 1. This index has been ...
2
votes
0answers
25 views

Nominal/Categorical Data Set

I have a nominal data set of a sample(species) floating characteristic(vertical floating, horizontal floating, bottom horizontal, and etc.) over a period of time. im interested to study the most ...
0
votes
0answers
11 views

problems related with higher frequency in the high risk group

I am running a univariate ANOVA with a categorical variable that reflect low medium and high risk factors of an x scale. A friend of mine pointed out that having an higher frequency in the high risk ...
0
votes
0answers
34 views

Need a method for determining variable groupings in R

I am using R and trying to group one of my variables into larger groups so they have credibility. I have been manually setting each factor of the variable as the reference level, looking at all other ...
0
votes
1answer
37 views

Should I include interactions on the log-scale when I'm only interested in the probability effects?

I want to fit an unordered categorical (multinomial) regression model in which I have two categorical predictor variables. It makes sense that these two variables interact with each other. However, ...