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

Statistics for Survey/Research: N subjects, 4 Rational Numbers, 16 Yes/No questions

I am conducting a survey/test on different people. Let's say I have N subjects I administer them a test with two parts which they are scored as pass or fail (1 or 0) Then I ask them some ...
0
votes
0answers
3 views

Is there a classified corpus to learn similarities in a citation network? [on hold]

I am trying to train an ML algorithm to calculate the topic similarity of scientific papers based on their structural similarity in a citation network (i.e. a graph where vertices are scientific ...
0
votes
0answers
25 views

Q: How to correctly include a categorial control variable in a regression model (in R)?

I'm trying to fit a (logistic) regression model to predict the successful funding of crowdfunding ventures (0/1) based on a series of IV with different level of measurement. One of these IVs is a ...
2
votes
2answers
61 views

Why does an insignificant regressor become significant if I add some significant dummy variables?

I'm doing a linear regression with cluster robust SE and I have the following conceptual problem: I have five regressors, of which four are statistically significant, while the remaining regressor is ...
0
votes
0answers
12 views

How to incorporate characteristics of the object of outcome variables as predictors in model

I'm working with survey data for a social science research topic. The particulars aren't super important, so I'll use a simplified version to make it easier to understand what I'm trying to do. I say ...
3
votes
1answer
31 views

Time dependence and cumulative logit regression question

I'm looking to do some research with the GSS (the General Social Survey; a survey that asks over a 1000 people every year various questions and collects their demographic information as well). I'd ...
3
votes
3answers
117 views

Is nominal, ordinal, & binary for quantitative data, qualitative data, or both?

I'm getting wrapped around data types and I need some help: If you look at the picture above (taken from here), it has the data types like this: Quantitative (Discrete, Continuous) Qualitative ...
0
votes
0answers
31 views

What is the best way to test normality for a very large sample size 15000? [duplicate]

Also do I need to test the normality for the categorical data? Thanks
2
votes
2answers
66 views

Is there something called “mean coding” (like dummy coding & effect coding) in regression models?

When we perform a regression analysis with categorical predictors, we can use (1, 0), called "dummy coding". The coefficients in this case represent the deviation of the groups' means from the mean of ...
0
votes
0answers
16 views

bias of an estimator when the variable is categorical

I want to calculate the bias of the coefficient estimate (beta hat) in Cox regression. But for a categorized variable, for example using quantiles we define a variable with 4 categories, then the ...
1
vote
0answers
21 views

Comparison of categorical percentages

I apologize if this has been asked, but I couldn't seem to find an answer anywhere. I have two sets of data. Each is made up of 5 categories. These categories are ordinal as they are a 5 point ...
-3
votes
0answers
20 views

What are the commands for adding crisis dummies in stata? [closed]

What are the commands for adding crisis dummies in stata? I need to add dummies for financial crisis in panel data regression.
1
vote
0answers
12 views

Multinomial logistic regression on categorical data results in singular matrix

I have a categorical dataset from a biological sampling study consisting of six variables, see http://pastebin.com/ncLzw0Mt for the actual dataset. ...
0
votes
0answers
15 views

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

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
9 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
0answers
29 views

Clustering using gower distance in R [migrated]

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
7 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
17 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
38 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
149 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
13 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
31 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
18 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
47 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
12 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
17 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
36 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
21 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
22 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
45 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
17 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
18 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
21 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
45 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
44 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 ...
1
vote
1answer
279 views

dummy variables, interaction with continuous variable, and variable selection

I want to predict shop sales from a set of independent variables which consists of shop attributes like floor space, no. of stuff of a specific store (continuous variables) and also location of the ...
2
votes
2answers
1k views

Group categorical variables in glmnet

Consider the following fit: fit3a=glmnet(x,g4,family="multinomial",type.multinomial="grouped") How do I indicate which columns in ...