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

Mediation with two categorial IV - Dummy Variable?

I want to calculate a mediation model with SEM (AMOS). I have two categorial IV - low/high status and public/private behavior. I have no clue how to build a dummy variable to check the relationship ...
0
votes
1answer
24 views

Multiple binary logit regressions vs multinomial logit regressions? [duplicate]

Lets assume we have a dependent varible which can take on three values: 1, 2 and 3. Is there any differences in running multiple binary logit regressions(ie. 1 vs 2 and 2 vs 3) or the multinomial ...
0
votes
0answers
9 views

Propensity score matching - Force full match on specific categorical variable

I'm trying to perform propensity score matching using R MatchIt pacakage, and I have a question: I have tried the nearest neigbor method, and I understand that it tries to find the nearest match, in ...
1
vote
0answers
23 views

Regression modelling with mixed data set: categorical and numerical predictor variables

There are thirteen predictor variables which are a combination of 8 continuous, 4 binary and 1 categorical variables. The dependent variable is again categorical. I understand that I need to use dummy ...
1
vote
1answer
13 views

Categorical variable as control variable in MatchIt

I'm kind of new to R and trying to run propensity score matching using the MatchIt module. Some of my control variables are continous but some of them are categorical. For example, I have a "currency" ...
0
votes
1answer
15 views

What is the method to follow [closed]

i have the following kind of sample data Date=(9/1/2013,9/2/2013,9/3/2013,9/4/2013,9/5/2013,9/6/2013,9/7/2013,9/8/2013) Dept=(Finance,Sales,marketing,HR,IT consulting,Travel,Facility management) ...
0
votes
1answer
29 views

Exploring the relationships between discrete and categorical data

When you want to test the relationship (correlation) between two continuous variables, the main methods are easily learnt and very well documented. Scatterplots with regression lines, pearsons ...
1
vote
0answers
37 views

Dummy coding: code two values $a$ & $b$ instead of $0$ & $1$?

I know there are a lot of questions and answers related to dummy coding. But I still wonder if it matters to code a dichotomous variable d in this regression model $$y = \beta_1 + \beta_2 \cdot d + ...
0
votes
1answer
45 views

R: Change variables in column from letters (categorical data) to numbers [closed]

I have a data set with 6 columns. Two of them columns have variable concisting of letter: A, B, ...
1
vote
1answer
15 views

Regression with multiple dummy variables and dummy interactions

I have a model measuring Click through rates using 3 dummy variables. Placement location (PL1 vs. PL2) Ad type (Text vs. RM) Device type (Mob vs. Desk) Additionally I want to measure the ...
0
votes
2answers
25 views

Methods for modeling discrete dependent variables and categorical independent variables

I need to determine if there are relationships between discrete dependent variables and categorical independent variables. To give some examples, one discrete dependent variable would be salary and ...
2
votes
1answer
44 views

Agresti's Categorical Data Analysis equivalent for non-statisticians?

I am looking to do some categorical data analysis, but I am having a hard time following Agresti's Categorical Data Analysis. Does anyone know of good alternatives written specifically for ...
0
votes
0answers
21 views

Multiple categorical outcomes in R

I am trying to associate clinical signs with three disease outcomes. I have a list of 30 signs, each of which are a binary factor (present or absent, 1 or 0) as well as a few patient demographic ...
1
vote
0answers
18 views

Should categorical data be normalised in linear regression?

I have data similar to the following: [ [0, 4, 15] [0, 3, 7] [1, 5, 9] [2, 4, 15] ] I used One Hot Encoder to preprocess this data so it is suitable ...
0
votes
0answers
16 views

Categorical data in SEM using AMOS. How to code and interpret results?

I'm using AMOS for carrying out a SEM in which I have a categorical variable measuring a latent construct. Do I have to code different variables with 0-1 (dummy) in order to find which one affects the ...
1
vote
0answers
22 views

G test with small observed counts (~zero)

I have an experiments that counts how many events happened during a certain period of time. The experiments is repeated many times in different "runs" (I have 65 runs). Here for example the list of ...
0
votes
0answers
12 views

Can I input a categorical variable (2 levels) as a covariate in an ANCOVA?

In my study I have two groups that were tested on different days. One of the groups received an additional behavioural test that the other did not and I want to ensure that this does not have a ...
0
votes
0answers
10 views

Test to compare categorical distrubutions?

I have data on the number of soldiers in each US military occupation code by home state (also by month for each month over ten years, but let's ignore that). I'd like to test if the distributions of ...
1
vote
0answers
10 views

Is it acceptable to combine factorised variables with quantitative variables together in a logistic regression

In an attempt to reduce my variables to fit the sample size ratio in logistic regression. I used factor analysis to reduce the some of the variables under study. I have two sets of variables in a ...
0
votes
0answers
24 views

How to analyze repeated measurements with categorical/ordered outcomes

I have the following dataset: 100 indiviuals (id) Each individual with 4 measurements at 4 timepoints time1,time2,time3 and time4 Outcome is a categorical or ordered variable 1,2,3,4. I simulated ...
1
vote
0answers
20 views

Multiple regression - A question about dependent variable

I have a doubt about hierarchical regression analysis. My dependent variable is Presenteeism (the act of attending work while sick). Originally that variable has 4 levels (Has it happened to you ...
0
votes
0answers
37 views

Categorical regression with dummy variables. significant or insignificant that is the question

I'm working on the similarity of categorical regression with exclusively dummy variables and ANOVA. There are lots of references, like Gujarati & Porter (2009), which have mentioned that those ...
1
vote
0answers
43 views

How should I calculate performance with 3 kinds of response (yes, no and not applicable)?

I am having trouble calculating employee performance. I have an observation form with 34 behaviours, but not all of the behaviours are observed at one given time because it depends on the topic being ...
0
votes
0answers
25 views

CATPCA Missing values

I have posted a question on stackexchange and you answered me very well before. Thank you. I have another CATPCA question and I want to ask to find out how missing values are used if you select ...
0
votes
0answers
30 views

What happens to multi-category variables in algorithms like Random Forest that sample the feature space?

Suppose I have a multi-level categorical variable like color (say, with 7 levels). Some software libraries only allow numeric matrices to train models, so we need ...
0
votes
1answer
57 views

How to implement a LSTM based classifier to classify speech files using Keras? [closed]

I am trying to implement a LSTM based classifier to recognize speech. I have a dataset of speech samples which contain spoken utterences of numbers from 0 to 9. Each file contains only one number. I ...
0
votes
0answers
9 views

Combine insights from linear regressions on multiple datasets with different outcome ranges

I have a number of datasets with the same (categorical) features/predictors and the same numerical outcome variable. I am studying the effect of each of these features on the outcome. The difference ...
0
votes
1answer
33 views

How to calculate categorical distribution?

Suppose I have 150 records with continuous and categorical values.In which only one column has categorical values with three categories namely setosa, versicolor and virginica. How to calculate ...
0
votes
0answers
10 views

Correcting for categorical differences in a correlation between descriptive groups and another variable

What I want to do it work out the effect of method of assessment on different students marks. So for example Module 1 has 70% exams. Students with qual type A got marks 1,2,3,6 while students with ...
0
votes
1answer
15 views

Trying to get predicted values from the estimate linear regression model but getting error message regarding dichotomous variable

please see my data below. Math: Centered math score (used for assigning students to treatment/control group) Assignment: whether the subjects are assigned to treatment group or control group (1 = ...
0
votes
1answer
16 views

Hypothesis Testing Multiple regression with dummys and interaction

I have a model $$Y_i = \beta_{0} + \beta_{1} *P_i + \beta_{2}*B_i + \beta_{3}*E_i + \beta_{4}*B_i*E_i+u_i$$ where Y is a Rating, P is the price, E is the educationional level ( 0 no higher education; ...
0
votes
1answer
32 views

Multinomial logistic regression in R returns fewer categories

My dependent variable has 4 categories, but when I run the multinomial logistic regression using the package nnet with function ...
0
votes
1answer
27 views

Split dataset by categorical variable or use as a dummy/factor variable?

I'm looking for any sort of best practice or ways to go about this situation. Often I come across datasets that have a categorical variable that I am tempted to split off the main dataset into ...
0
votes
0answers
16 views

K-means on categorical and numeric data [duplicate]

I've seen people use K-means on mixed categorical and numeric data before, however I'm not sure this should be done. Additionally, I've read on this forum that this shouldn't be done. Folks have ...
1
vote
1answer
26 views

SEM: Combining latent and manifest variables

I did a survey, using many intervall-scaled items representing several constructs. I want to use these constructs to predict an outcome (decision: yes/no). Thus, I got (latent) predictors to explain ...
0
votes
1answer
25 views

How to preserve order of factor levels in R [closed]

I have an unbalanced longitudinal data for glucose levels of some patients coming to a hospital. My data looks like id, date, glucose_level. As I want to find the ...
4
votes
1answer
103 views

Where in Elements of Statistical Learning does it talk of a “trick” to deal with categorical variables for binary classification?

I've struggled to deal with categorical variables in Random Forests, for binary classification. Between 8:15 and 9:30 in this instructional video, it talks of a "clever trick". It says the trick ...
0
votes
0answers
6 views

Can I treat my ordinal data as categorical, and use those results to corellate with a 5 point likert scale?

I have recently been reading about business ethics and have undertaken a research project concerning interest in ethical consumption. I am rusty on my stats so I am desperate to get to the bottom of ...
0
votes
1answer
20 views

Measuring statistical significance for NYC restaurant inspection grades

I recently had a timed interview question on the following data set: https://data.cityofnewyork.us/Health/DOHMH-New-York_City-Restaurant-Inspection-Results/xx67-kt59/about The question was: is there a ...
0
votes
0answers
9 views

different directions of the dimensions of multiple correspondance analysis

I have done a mca. My focus is about supplementary variable, that I want to see their behavior. This variable is significant (v.test) with the dimension 2 and 3. Both for the dimension 2 and dimension ...
0
votes
0answers
10 views

Reason for Sci-kit DecisionTree very poor performance on UCI SoyBean compared to Weka J48

I am applying Sci-kit DecisionTreeClassifier classifier on the commonly used UCI soybean dataset. The resulting accuracy is only 0.49, which is very low compared to 0.93 I am getting for Weka's J48 on ...
0
votes
0answers
13 views

Building interaction terms with dummy coded categorical predictors with more than 2 categories

I would like to perform a linear regression on a data set with a continuous DV (score). I do not understand how to interpret interactions made with the dummy coded variables that have a reference ...
0
votes
0answers
9 views

Bayesian categorical-logistic model in R2OpenBUGS [migrated]

I'm trying to fit a categorical-logistic model using the painters dataset contained in the MASS library. I divided the dataset in two parts, so i can predict in the future the values of School ...
0
votes
0answers
10 views

Changes signs of coefficients and categorical covariates

I built a conditional logistic regression with the function clogit (package survival) in R and in which I included one categorical independent variable (habitat type) with 15 levels. I noted that the ...
1
vote
0answers
17 views

Time-series analysis of categorical data

I am attempting to look at nest attendance patterns in birds. I have a dataset looking at 5 nests, every 5 minutes I assessed whether the male=1, female=2, both birds=3 or no birds=4 were at each ...
1
vote
0answers
21 views

Determining the number of operators (random effect) for a two-way chi-square test

I am designing a study to benchmark a new measurement technique with two traditional measurement techniques. Let's call the new technique N and the two traditional techniques T1 and T2. It is believed ...
0
votes
0answers
8 views

Determine association between/reliability of two series of frequencies

I have received two sets of data, both contain usage frequencies of different newspapers during 44 days. I don’t have any data on respondent level. The samples questioned in both datasets are ...
0
votes
0answers
7 views

What stats test to use with multi-level categorical dependent variable?

Using camera traps I got multiple pictures of about 20 different species in different places. Now I would like to test whether there is a significant difference in species occurrence regarding the ...
0
votes
0answers
17 views

Test of independence for categorical and discrete variables

First time writing question on stack. Mostly, I could find the answer needed from previous questions. This time couldn't find such a. Lets say I have categorical variable y(dependent) which can have ...