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

Categorical variable in WinBUGS, OpenBUGS [migrated]

I am using a script from the following paper (Zipkin, E.F., Royle, J.A., Dawson, D.K., Bates, S., 2010. Multi-species occurrence models to evaluate the effects of conservation and management actions. ...
0
votes
0answers
9 views

Low Correlations in Principal Axis Factor Analysis

I have a questionnaire with 51 items that I've given to a sample of 238 educators and have run in SPSS. I'm trying to use exploratory factor analysis to identify the key factors in school data-driven ...
1
vote
2answers
37 views

Beta distribution GLM with categorical independents and proportional response

My data is percentage disease data of different varieties of plants that had been inoculated with disease from several different sources. having conducted two-way ANOVA in SPSS (using the log10+1 of ...
0
votes
1answer
22 views

centering and scaling dummy variables

I have a data set that contains both categorical variables and continuous variables. I was advised to transform the categorical variables as binary variables for each level (ie, A_level1:{0,1}, ...
0
votes
0answers
21 views
+50

How to compare categorical data

I have the information for 7500 positions in the genome of 750 cases and 720 controls. The response for every individual and each SNP position is 0, 1 or 2 (these represent the number of ancestry ...
5
votes
3answers
106 views

Monty Hall (goat) problem w. elementary events

I am trying to solve the Monty Hall problem with elementary events, but I just can't seem to get it right: I define four sets: Actual door ($R$) User's first selected door ($S$) Moderator pick ...
0
votes
0answers
19 views

Could Use Assistance On A Work Project [closed]

This might be a little unorthodox, but I could use some assistance on a work project. I work for a small company. We don't have any formal data sciences or analytics department. I was tasked with a ...
0
votes
0answers
12 views

Decision criteria in decision trees

I'm not so familiar with statistical models, so sorry if this is a naive question. In training a decision tree with datasets that include categorical variables, the rules are always in from of x = y. ...
0
votes
1answer
20 views

categorial variables in LASSO regression

i just built a logistic regression model via Lasso Penalization. Now i'm trying to interpret the coefficients. One is "days". I have a coefficient for "days". when i do a normal logistic regression ...
2
votes
0answers
70 views

Structuring Many-Factor Data for Linear Regression in R

I have a fairly large dataset of the following form, and I want to run a linear regression returning coefficients for each factor: ...
0
votes
0answers
11 views

When would one pre-specify thresholds in SEM/CFA for limited dependent variables?

I'm working on a structural equation model with limited dependent (discrete) variables using lavaan (0.5-17) in R (3.1.2). I have found that if I define the thresholds for the categorical variables, ...
1
vote
0answers
16 views

Multinomial response with repeated measures

I'm studying how sex influences habitat use. I'm looking for suggestions on how to analyze a repeated measure design with a multinomial response variable. I should note that the number of repeated ...
0
votes
0answers
10 views

How to analyze categorical dependent variable which can have multiple values for each participant?

I have a data set where people are asked to choose 0 or more options from a set of available options. About 2/3 of the sample select none of the options; most of the remaining participants choose one ...
1
vote
0answers
12 views

Test like ANOVA but allowing for multiple group membership

I have data where each individual tested has a score on a single common outcome variable, but may belong to multiple groups (in this case, sports teams - some only play football, others play soccer ...
0
votes
0answers
11 views

Can factor analysis identify factor structure if only 5-15% of my sample give positive responses?

Looking to do EFA and CFA with different versions of the same data; 3 to 4 thousand participants, 50 symptoms with a 4-point Likert scale. I would expect most of the participants to endorse 5-10 out ...
0
votes
0answers
27 views

Predicting categorical dependent with multiple categorical variables

I have a data set in which i have multiple descriptive columns. Things like annual income (which have been bucketed into 100k groups, years of experience, and age) as well as a string that indicates ...
1
vote
0answers
27 views

Ordinal logistic regression in Python

I would like to run an ordinal logistic regression in Python - for a response variable with three levels and with a few explanatory factors. The statsmodels package ...
0
votes
1answer
14 views

Evaluating which factors influences a questionnaire scores

i have this problem to solve. I have a questionnaire of 19 questions, each one has 3 options, and only one for each is correct and it scores 1, while the others scores 0. Thus the max score will be ...
1
vote
1answer
32 views

Identity of residual distribution, and identification of correct model in multiple categorical linear regression

I am using R for this analysis, and so examples and graphics will be produced in this language. I am willing to provide equivalent examples in similar languages if it will help someone, and am willing ...
0
votes
0answers
5 views

Can all the independent variables be categorical in nature for binary logistic regression? [duplicate]

I am studying on the determinants of agricultural credit repayment performance in context of a state of india. I propose to use binary logistic regression where my dependent variable is dichotomous. ...
0
votes
0answers
6 views

How to fill in the missing labels which have more than 1500 levels

I have a question regarding "classification". I have a data set with the target label of more than 1500 nominal categories (there is no way to bucket them as they are just individual strings). The ...
0
votes
0answers
9 views

Classify users by the pages they liked

I have a data set of users, and a list of pages each users liked. My goal is to derive k classes of users. I was thinking of applying ...
0
votes
0answers
9 views

Is it possible to use a categorical covariate/regressor to predict (classify)?

I am working on constructing models in which the response variable is binary, and so I use the logit link function. For my first model, my covariates were continuous values and using the ...
0
votes
1answer
24 views

Same result for post-hoc test and probit regression

I am getting the exact same results for a probit regression and post-hoc tests (simultaneous tests for linear hypotheses) - is this because I have used a dummy variable in the probit model and so it ...
0
votes
1answer
16 views

What is an alternative way to tabulate several categorical variables when Stata says there are too many values? [closed]

I have 15 categorical variables that refer to 15 different classes of antibiotics. Each variable has the prefix ab_ (This was done because each patient took usually more than 5 abx so I wasn't sure ...
1
vote
0answers
15 views

What is the general procedure or general rules for grouping factor levels?

I am attempting to build a predictive (machine-learning) logistic regression model that contains mostly categorical (non-ordinal) variables. As part of a variable selection process I run a Pearson ...
0
votes
0answers
10 views

Regressing multiple categorical variables with a continuous variable

For some research I'm doing, I want to see if fish color variation correlates with vegetation type across lakes. I have frequency data for vegetation type (16 levels) at each lake (8 lakes). I have ...
0
votes
0answers
14 views

controlling for a fixed factor

n the model below, I am looking at the effects of language (2 levels) and cognitive control (scaled continuous factor) on picture naming latencies (DV). However, I need to do this while controlling ...
1
vote
0answers
13 views

Creating a Histogram from data that is already binned [closed]

I am new to using R, and was hoping to get some help. I was given data that is already binned, and bins are not of equal length. I have summarized the data as follows ...
0
votes
1answer
7 views

Why is CART in R not using my factor variables?

I have data which looks like ...
0
votes
0answers
8 views

Testing groups with categorical observable for significant difference

I am looking for a suitable statistical procedure to find groups of variables that are not statistically significantly between them when I have several dependent variables. I have a table containing N ...
0
votes
0answers
44 views

Regression with two dummy variables: city and state in which one is implicitly included in the other: multicollinearity?

I am new to statistics and am really struggling with something that is probably easy for a statistics expert to answer. I am currently working on my dissertation in which I am trying to see whether ...
1
vote
0answers
17 views

Using the weight output of factor.scores function in R to index latent variable

I have a questionnaire with 8 correlated items, containing negative and positive items. I want to know the weight of each question or item on latent variable or factor. I ran factor analysis and ...
0
votes
0answers
29 views

Generalized linear mixed model (different F-statistics dependent on formation of fixed model)

I am doing a GLMM on the number of days between two events in wheat development. I did it once in Genstat with the fixed model like factor 1*factor 2 and got a ...
0
votes
1answer
75 views

How to use multiple regression when I have several levels for categorical variables? How do I code for this?

My data is from a cross sectional study looking at pathogen status among 300 patients along with other clinical parameters. There is no control group. I am using Stata. (edit: This is a ...
2
votes
2answers
134 views

Why should one do a WOE transformation of categorical predictors in logistic regression?

When is weight of evidence (WOE) transformation of categorical variables useful? The example can be seen in WOE transformation (So for a response $y$, & a categorical predictor with $k$ ...
0
votes
0answers
35 views

What statistical test should I use for binary data?

I am a slightly complex dataset, so I'll describe, I looked at medical visits from 2013 to 2014 and compared them to medical visits from 2013 - 2014. I documented each visit as a unique encounter. ...
0
votes
0answers
21 views

Choosing a reference group among categorical fixed variables in a linear mixed effects model

I am working on a project that uses a linear mixed effects model for its main analysis. I am looking at the impact of situations on 'trait' and the random effects variables are participant ids (pID) ...
2
votes
1answer
96 views

How to create a data partition in R using categorical and numerical columns?

I'm using the createDataPartition method of the caret package as following: ...
1
vote
1answer
33 views

What statistical method to analyze relationship between ordinal and categorical variables?

I am working in my dissertation proposal and need to identify what is the best statistical method to analyze my research idea. I am analyzing a company that sells gps services for vehicles. The ...
5
votes
0answers
73 views

Regression on large samples: can aggregation of the dependent variable by covariate pattern increase speed of estimation?

Is there a way to build a regression model for continuous output using aggregate data instead of individual data points when all input variables are categorical? I have a moderately large dataset ...
0
votes
0answers
14 views

Can you make 1 dichotomous variable out of 5 different dichotomous variables?

So for my thesis, I asked five questions in two conditions (multitasking or not multitasking) that asked about recall of an advertisement. The goal is to find out if multitasking has an impact on ...
0
votes
0answers
17 views

R Creating binary variables for each factor of a categorical variable - For assessing the importance and information gain from each predictor [migrated]

I have a data frame that contains a categorical variable with 6 levels. x$response <- data.frame(rep(1:6,10)) x I would like to create 6 different binary ...
1
vote
0answers
40 views

converting continous variable to discrete while maximizing gini

I have a continuous independent variable which is used to explain the dependent binary variable in logistic regression. The model user's requirement is to group this continuous variable to 6 bins. I ...
1
vote
1answer
26 views

Which is the best technique to identify from which category a sample belongs

I'm a software developer and I'm facing a problem that I think should be solved through statistical techniques. We are developing software to classify some data. At the beginning of the project the ...
0
votes
0answers
19 views

how to find an association between nominal and ordinal data? [duplicate]

I have a data of diabetic patient and i want to find any association between their their knowledge, attitude and practice with other variables (around 50) like their gender(dichotomy), type of ...
0
votes
2answers
33 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 ...
1
vote
3answers
132 views

Is time in linear regression a categorical or continuous variable?

I am trying to perform multiple regression. One of the feature variables is time of the day, represented by 0 to 23. I am confused as to whether I need to use dummy coding or not. Is this a ...
0
votes
0answers
15 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
99 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 ...