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
2answers
27 views

Unequal distribution of dependent variable

I performed a logistic regression on my data where the dependent binary variable $Y$ have $0$ & $1$ values and the independent variables $X$ being binary as well as continuous. The regression ...
0
votes
0answers
13 views

Is there a way to use categorical outcome variables in train function in caret package? [on hold]

I'd like to use categorical variables for outcome in train function in caret package. However, the code below generates an ...
0
votes
3answers
77 views

Is time in linear regression a categorical or continuous variable?

I am try to perform multiple regression. One of the feature variable is time of the day represented by 0 to 23. I am confused whether I need to used dummy coding or not. Is this a categorical variable ...
0
votes
0answers
7 views

Disadvantages of hierarchical regressions with factor or sum scores for latent variables?

One general question: To test for mediator effects, I am using hierarchical linear regression. The response variable is latent, there are 2 continuous control variables, one categorical explanatory ...
1
vote
1answer
80 views

Who invented dummy variables?

A long time ago I surfed the web and I look a piece of information about the inventors of dummy variables. I recall they were two american economists (father and son). I have tried to find that ...
0
votes
0answers
9 views

Categorical Variable Importance: chi-square vs regression model selection techniques

My observations consist of the list of marks students get in various disciplines during the final year exam in university. The only features I know for each student are what books he have read during ...
1
vote
1answer
32 views

Model selection for linear regression with categorical variables

I regressed the dependent variable Rating (numeric) on Judge which is categorical. The output of the first model is given at the end of the question. Only Judge John Foy and Linda Murphy came out to ...
0
votes
0answers
7 views

Model selection for linear regression with categorical variables [duplicate]

I regressed the dependent variable Rating (numeric) on Judge which is categorical. The output of the first model is given at the ...
0
votes
1answer
14 views

Coding factors with non-numeric settings

For my role as a TA I am assisting the instructor in developing curriculum based on DOE and statistics. We have a set of failure strengths (the output/dependent variable) for several glass rods. The ...
0
votes
0answers
13 views

How to Find the Correlation in Time Series of Categorical Variables in R?

I have a data set of categorical variables occurring weekly. A sample dataset can be found in my previous post. I want to check the co-existence of these categorical variables over time. I want to ...
0
votes
0answers
31 views

When removing outlier is right? Removing techniques for outliers in R [duplicate]

I was searching outlier removal in R and I saw some comments related to almost never you should remove outlier from dataset. I wonder when we should remove outlier? I have a dataset consisting ...
0
votes
0answers
6 views

create interaction term between binary variables in path analysis use R lavaan package

I am using R lavaan package to do a path analysis. In my model: X ~ A + B Y ~ A + B + X Both A and B are binary factors. So, in lavaan they will be treated with dummy coding. That is, A (0, 1) and B ...
0
votes
0answers
15 views

SVMs with Dummy Variables in Matlab [closed]

Context: I have a cell array with 19 features that are all categorical (nominal) (as columns) and ~1500 data entries (as rows). I've looped through all the columns and used ...
0
votes
0answers
8 views

What are word components in IAM db3 for xml

I'm using the IAM handwritten database and for the answer keys I get the hierarchy, however I'm confused about word components in the the handwritten section. Specifically seeing something like this ...
0
votes
0answers
11 views

advice in identifying populations of overlapping groups

I just finished collecting details from a survey for my MSc thesis. In total I got about 40 multiple questions. All of the captured variables are categorical. That is, there are no quantitative data. ...
0
votes
1answer
14 views

Confidence measure/statistic for inferring a category with random independent sampling

Suppose there's a group of dogs and a set of people A,B,C,D. If I know that, in this hypothetical scenario, the person who owns the dog is the person who walks it ...
1
vote
1answer
23 views

Coefficients of Categorical P-Values in Regression - Condense or Apply 0?

This analysis is part of a much larger research project, but I've extracted a simple example that will fit the question I have. Y = B0 + B1 * [Day of Week] + E Day of Week is coded as 1 (Sunday)-7 ...
1
vote
0answers
21 views

Sampling correlated categorical variables

I am looking for a way to sample correlated categorical (non-binary) variables, and in particular I am interested in the category counts: I have a set of $n$ correlated categorical random variables ...
8
votes
4answers
581 views

What is this diagram called

Can anyone tell me what is the name of this type of diagram ( if any )? Also can anyone suggest any tools, however simple, to plot such a diagram?
1
vote
1answer
36 views

How can I check whether multicolinearity exist between categorical variables or numerical and categorical variables?

I did a linear regression with 10 variables, including categorical and numeric variables. But although my $R^2$ was 0.8 there were only 2 variables that were statistically significant. Am I correct ...
0
votes
0answers
13 views

scaling coefficients in a regression

this might be a relatively beginner question: Using a multiple regression, say I was testing the explanatory power of a model that had a normal coefficient but also a scaling coefficient based on ...
2
votes
1answer
19 views

Linear regression with interaction SPSS

I have to run a linear regression analysis with an interaction effect of two categorical variables: Modality (audio, visual and audio-visual) Repetition (1x, 2x and 4x) I have already dummified ...
0
votes
1answer
40 views

Comparing mean difference of categorical variables

I want to check if attrition is a problem. So I want to check if the mean of people who dropped out from a survey is significantly different from the mean of those people who took part. However, the ...
0
votes
1answer
27 views

Proportional odds logistic regression with nominal (unordered) categories

Suppose that you've got a logistic regression with multiple nominal outcomes that cannot be ordered in a theoretically meaningful way. Assume further, however, that the proportional odds assumption ...
0
votes
0answers
10 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 ...
1
vote
0answers
11 views

How to test whether correlate personality ratings with behavioural observations

I'm running a study to test whether personality (Big Five) predicts problem-solving in children ($N=200$), and was wondering whether anyone could help with the best approach for analysis. I've ...
-1
votes
0answers
28 views

Automatic identification of numeric vs categorical variable

I am trying to build an automatic data preparation pipeline. One of the capability which I want to include is the ability to tag a variable as Numerical or categorical. Currently the idea I have is to ...
0
votes
0answers
14 views

Matching data in excel based on certain words [migrated]

I am compiling a data base on Tennis players for a college project. I have two spreadsheets with lots of relevant information, one with performance related statistics for every ATP match played over ...
1
vote
0answers
45 views

What statistical approach to use for this kind of analysis?

I have 1 dependent (continuous) variable, 3 explanatory (continuous) variables and a bunch of control variables. The explanatory variables are my interest variables.I want to do a categorical ...
1
vote
0answers
14 views

Classifying treatment levels as categorical or continuous

I am running a GLMM where one of the independent variables is treatment in terms of pesticide concentration, with four levels: 0ppb, 4.8ppb, 20ppb and 133ppb. I am unsure whether to class this ...
0
votes
0answers
12 views

removing the effect of a categorical variable in a linear model

I would like to remove the effect of a categorical variable from a linear regression model. A simple example could be the following: outcome ~ beta0 + beta1 * dummyIsFemale + beta2 * ...
0
votes
1answer
24 views

can I use age and year fixed effects at the same time?

I have an unbalanced panel dataset. I want to know the effect of the RS on log income. I put year dummies and PMSA dummies in the regression. Should I also control age here? (Different individuals ...
0
votes
1answer
18 views

Simple effects of categorical interaction

I have two two-level categorical variables, IV1 and IV2. I want to fit a linear model in R and find out the simple effect of IV1 on the DV at each level of IV2, separately. I'm not interested in the ...
0
votes
0answers
10 views

3 categorical variables (2 are repeated measure variables) and 1 continuous variable - what analysis?

I originally ran a 2(inclusionary condition)x2(interaction with close other vs stranger)x2(time of pain measurement-repeated variable) mixed manova with 2 dependent variables(physical pain ...
2
votes
2answers
56 views

Logistic Regression - Dummy and Numeric variables together

I am trying to build a logistic regression model. I have some categorical variables for which I have created dummy variables (eg. Department). I also have some numeric variables like Age and Tenure. ...
0
votes
0answers
10 views

Sparse Categorical predictors with Categorical Response

I have a huge set of sparse Categorical predictors (500+) and a binary response variable, Dataset is mostly sparse. I tried using Random Forrest with very little success. Any suggestions?
0
votes
0answers
3 views

Profiling survey respondents with both categorical and ordinal variables

I have a mixture of categorical and ordinal variables from a survey that I am trying to use to create "profiles" or segments that differ from one another with respect to a dependent variable (the ...
0
votes
0answers
19 views

What is an alternative to Regression Discontinuity if the forcing variable is dichotomous?

We conducted a pilot study where we used a validated scoring instrument to test for self-reported depression. The instrument does not have a quantitative cut-off, though- it's more to the effect of ...
1
vote
0answers
37 views

Applying logit transformation to the predictor variables in multiple linear regression [closed]

I want to do multiple linear regression (Not a logistic regression) with continuous response, and a mixed of continuous and categorical variables in the predictors / regressors. I know that we can do ...
0
votes
1answer
72 views

Train a Neural Network to distinguish between even and odd numbers

Question: is it possible to train a NN to distinguish between odd and even numbers only using as input the numbers themselves? I have the following dataset: ...
1
vote
0answers
31 views

marginal effect of dummy variable in tobit model

I have a tobit regression model in hand and I want to calculate the marginal effects at means for the dummy variables in the reg equation. There are two dummy variables in the regression equation and ...
0
votes
0answers
24 views

Test for differences in frequencies of categorical variable with multiple responses

Background Interviews with two groups of therapists were conducted: experienced therapists and inexperienced therapists. Each statement of the interview was classified into 9 different categories. ...
0
votes
1answer
26 views

Interpretation of regression output with multiple binary IVs

I'm confused about the output for a multiple regression model that uses ONLY binary independent variables. The dependent variable is continuous. The data looks like this (first 6 rows): ...
0
votes
0answers
15 views

Regression with several dummies VS one variable with several d.f

I am running a GLM model regressing a score of innovative agricultural practices using a sample of 1200 farmers. Data has been collected in 18 site, so it seems important to include 17 dummies as ...
0
votes
0answers
14 views

Logarithmic offset + Scaling Counts + Multiplying by Scalar + Poisson Regression

I am working with a contingency table where I know that the population sizes from which the counts are derived are very different. From what I have been able to gather, an appropriate way to adjust ...
0
votes
1answer
49 views

How to interpret the output of Generalised Linear Mixed Model using glmer in R with a categorical fixed variable?

I have computed GLMM using glmer in R. My response variable is species richness and my explanatory variable is grazing treatment (with three categories: cattle, sheep and ungrazed). In the model I ...
0
votes
0answers
22 views

How to test the correlation between categorical and continuous variables? [duplicate]

What test do I need to use if I want to know if there is association between a categorical and a continuous variable?
0
votes
0answers
10 views

Regression with many discrete and continuous predictors and few rows

I want to do regression on a dataset. It has one continuous dependent variable that I want to predict. It has many categorical and some continuous predictors. It only has a few rows. A simplified ...
0
votes
0answers
19 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
35 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 ...