Questions tagged [categorical-data]

Categorical (also called nominal) data can take on a limited number of possible values called categories. Categorical values "label", they do not "measure". Please use [ordinal-data] tag for discrete but ordered data types.

Filter by
Sorted by
Tagged with
2
votes
0answers
28 views

Is it valid to treat Categorical Ordinal Data as Numerical?

I have a column with values 1-5 that correspond to happiness levels. I understand that this is considered as categorical-ordinal data, but is it possible to interpret values such as average or ...
0
votes
0answers
5 views

GLM- weight and factors in R [closed]

I am an ecologist student, and I am studying the interactions between tick populations and rodent populations using GLM in R. Right now I am trying to understand how the availability of rodents might ...
0
votes
0answers
4 views

How to compare groups that might have some dependency?

I am working with a convenience sample. Basically it is a questionnaire that is being asked to people on multiple time points. Not the same people are targeted every time but it is very likely that ...
0
votes
1answer
17 views

what is the recommended smallest value of AIC or BIC? [duplicate]

to now how small it is! in addition what value of AIC and BIC are the minimum value it get manly for categorical data analysis
1
vote
1answer
16 views

What is the minimum size a category/group should have for unbiased predictions? skewed distributions

I am trying to find out if there is a correlation between a specific category and age. For example: if being a vegetarian has any relationship with age. The purpose is to use this information to ...
2
votes
0answers
19 views

How to plot binary vs. categorical (nominal) data?

I am building a machine learning model for a binary classification task in Python/ Jupyter Notebook. I am currently in the "Exploratory data analysis" phase and try to create multiple plots/ ...
0
votes
2answers
19 views

How to interpret categorical covariates for Cox regression

I am using Cox regression to model the deterioration of bridges using covariates such as salt (tons/mile), average daily traffic (ADT), average daily truck traffic (ADTT), span length, snow day per ...
1
vote
1answer
27 views

Optimal setup with Categorical/Discrete data using Neural Network

I need to implement a neural network whose dataset and response are composed of only 0,1, -1 values. For those with experience, which setup would you recommend (activation function, loss, neurons, etc)...
0
votes
0answers
11 views

Is it valid to calculate Spearman/Cramér's V with duplicate values?

I have a dataset that I want to analyze using statistic measures. Because of the nature of the data, it seems like Cramér's V is the correct method (For cases involving (school) grades only, Spearman ...
0
votes
1answer
33 views

Which statistical test should be used for comparing frequencies of a categorical variable levels by another categorical variable (figure provided)

I would like to show that marital statuses differ between different educational levels. Which statistical test should be used for this purpose? And how should I write it under my methods? METHODS: ...
1
vote
1answer
22 views

Nominal data with large sample being separate out into 3 categories. What type of statistical test can be used?

So im working on a research proposal for a college class. I have a large sample of about 300-500. The objects in the sample will separated into 3 categories. I'm looking for some type of test that ...
0
votes
0answers
17 views

Using the Hat Matrix to detect influential observations in logistic regression

I'm currently running residual diagnostics for a logistic regression model, aiming to identify possible influential record could influence the parameters estimate. I wonder about if it is possible to ...
0
votes
0answers
6 views

To achieve a higher predictive capability when encoding, is a binary or multi-class categorical variable preferable?

I'm a data science student and while encoding some categorical data, I was wondering what would be a better approach to maximize the predictive capacity of a given variable: Collapse categories so ...
2
votes
1answer
33 views

Should you still report or interpret odds ratios on levels of a factor if the likelihood ratio test is not significant?

I am running a logistic regression to study the association between a three-level factor and a binary outcome, after controlling for covariates. My sample is small to medium (~800). The likelihood ...
1
vote
0answers
18 views

How do we calculate Standard Errors for effect-coded variables?

I'm a beginner following this UCLA tutorial to figure out how to interpret coefficients for effect-coded categorical predictors and have a couple of questions regarding their regression table below, ...
0
votes
2answers
53 views

How to combine a Machine learning model and an NLP model? [closed]

I have a dataset with categorical columns and one text column. As it is a Classification problem. I wanted to perform NLP based modelling on the text column and another ML model on the categorical ...
1
vote
1answer
28 views

Correlation between nominal and ordinal variables

In my survey data I have two variables: One is an ordinal variable with 5-scale scoring from Agree to Disagree. My second variable is an nominal variable where the participants had to choose from 7 ...
1
vote
0answers
9 views

Encode categorical variables with many labels

I am trying to predict a multiclass categorical outcome variable by comparing different classifier algorithms. I've got a dataset that includes two categorical variables that have many labels (>...
0
votes
0answers
15 views

Post-hoc test to check for direction of association between two categorical (nominal) variables

I am working with two nominal variables for the first time and am looking for an appropriate test for the same. In the example below, I want to know if there is an association between gender and ...
0
votes
0answers
17 views

Dimensionality Reduction on Mixed Data

If you have a dataset with not only numerical data, but also categorical and boolean. How do you approach doing dimensionality reduction to this dataset. The standard algorithms only work with ...
0
votes
0answers
5 views

Advice on how to analyze effectiveness of two categorizations of the same data set

I have a set of samples that were categorized based on two different sets criteria. (Low vs High), and (Mild, Moderate, Severe). These categories are supposed to predict the likelihood of becoming ...
0
votes
0answers
5 views

How to analyze time spent in mutually exclusive but related categories?

I have a question about the appropriate statistical analysis. I feel like this is one of those simple questions that I missed the class on! We study dogs in animal shelters, and our research question ...
0
votes
0answers
9 views

What is “categorical target variable” in SAS EM

"A categorical target variable that has exactly two categories (i.e., a binary or dichotomous variable)." What is "categorical target variable" in the SAS EM space? Is this ...
0
votes
1answer
24 views

Am I coding dummy variables for disease groups correctly in logistic regression?

Normally I would code my dummy variables as follows: Original variable levels Dummy_disease1 Dummy_disease2 Dummy_disease3 Disease 1 1 0 0 Disease 2 0 1 0 Disease 3 0 0 1 However, I dont want to ...
0
votes
0answers
11 views

Which statistical test for two subgroups of a same survey with categorical variables?

I have a survey with 20 questions (mix nominal, ordinal, Likert scale, yes / no questions). The respondents are professors from the Maritime studies. The hypothesis is that there is a significant ...
0
votes
0answers
6 views

Average variance extracted (AVE) with correlated error terms

after conducting a CFA I did some modifications to include correlated error terms (Error covariances) in my measurement models. Now I am wondering whether I need to apply a different formula für AVE / ...
0
votes
2answers
49 views

Which regression model is appropriate for this kind of data?

I am wondering what regression model or otherwise I could use to determine the predictors of school performance using examination results data that is structured as below. The variables are: school ...
0
votes
0answers
28 views

Outliers in binary columns

Is it possible to exist outliers in binary columns? At first I thought it was impossible based on this Outlier detection for a univariate categorical variable? , assuming that binary columns also mean ...
0
votes
0answers
29 views

Which statistical tests do I use for two categorical variables with more than two subgroups?

I have two variables. The first (will call it X) is X=(morning, afternoon, evening, night). So, 4 categorical times of day. The other (called Y) is another categorical variable, i.e., Y=(cat 1, cat 2, ...
0
votes
0answers
5 views

Can I run the same model more than once with different levels in a categorical variable?

I plan to restructure some of the variables; so, for example, if one categorical variable has 5 levels, I want to combine the last 2 together. I was wondering though if I can (or if it would be a good ...
0
votes
0answers
10 views

Rankings transition matrix

I have heard of ratings transition matrices in finance, where it is possible to derive the probability of moving from one rating to another in a Markov chain process. If I have N individuals who are ...
1
vote
0answers
15 views

Dummy Coding Multiple-Select Race/Ethnicity

I'm performing some survey research and am looking to include race/ethnicity as an independent variable in a regression model. Normally, race/ethnicity would be added to the model as a set of dummy ...
1
vote
0answers
10 views

Why is sum of squared PCA column loadings equal to corresponding Eigenvalue?

I'm wondering why or how is the sum of squared PCA loadings in the column equal to Eigenvalue. I understood that the sum of squared PCA loadings in the row is equal to 1 or 100% because original ...
1
vote
0answers
12 views

How to measure agreement with categorical labels, and with multiple binary labels?

I have a dataset in which 7 coders have given a categorical label to each of 152 objects. The same 8 categories are selected between for all objects. I would like to measure the agreement between ...
0
votes
1answer
18 views

Which model to use when data comes from a questionaire? 0

I have a categorical dependent variable and several nominal and ordinal independent variables. These independent variables are questions from a questionaire. But some of the questions are only ...
0
votes
0answers
19 views

Can I still use logistic regression if some variables are not applied to all the observational units?

Some of the variables are questions that are not being asked to every single person in the questionaire depending on how they answered previous question(s). So would I still be able to use a logistic ...
0
votes
1answer
17 views

Testing a significance of a specific coefficient in a linear regression with dummy variables and interaction

Consider the following model: $$Y_i = \alpha + \beta X_{i1} + \gamma_1D_{i1} + \gamma_2{D_{i2}} + \delta_{11}(D_{i1}X_{i1}) + \delta_{i2}(D_{i2}X_{i1}) + E_i$$ where $X_{i1}$ is a continuous regressor,...
1
vote
0answers
23 views

Statistical test for comparing directional data

I have a dataset with number of bats flying out in 8 directions from their home site (i.e) I studied a bat colony with N individuals and I have counted the number of bats (from that colony) that flew ...
0
votes
0answers
5 views

Analysis of correlation for individuals' answers to repeated questions

My situation is this: I have collected data in a user study where I asked people to play through and rate multiple (20) Super Mario levels in sequence. I generated these levels using an AI powered ...
0
votes
0answers
25 views

Maximum information in dichotomous variables?

I have a number of dichotomous variables from a number of study participants, and I want to do some exploratory factor analyses and other things. However, my sample is too small to include all the ...
0
votes
0answers
9 views

Exploratory factor analysis and multiple regression

I am conducting an exploratory factor analysis on 62 variables, from which I have extracted 5 factors. I would now like to understand how gender (1= male, 2=female, 3=other), drug use (0=never, 1=...
0
votes
0answers
25 views

Performing Naive Bayes Calculations with Continuous Features

I am working on this homework problem and am not sure how to handle continuous features in a Naive Bayes classifier. I know the outputs for the categorical variables are simple to compute, for example:...
0
votes
0answers
11 views

What does 'one unit increase' mean if my IV categories are nominal in a multinomial logistic regression?

How do I interpret log odds in a multinomial logistic regression, for nominal independent variables (IVs)? The dependent variable (DV) values are nominal (yes/no/don't know). The IV values are ordinal ...
0
votes
1answer
24 views

Interpreting regression coefficient for categorical outcome variables

I have a linear regression model, where the outcome variable diagnosis is a categorical variable representing a tumor being either "malignant" or "...
0
votes
0answers
32 views

How can I generate synthetic data that fits with population statistics from multiple two-way tables?

I have a set of statistical tables (from the Northern Ireland House Condition Survey 2016), each containing counts of homes in each category. Central Heating type by Home Age Band Dwelling Type by ...
1
vote
0answers
63 views

What does it mean to train a Naive Bayes classifier for categorical features?

I know that Naive Bayes classifiers can be trained for both categorical and continuous (using a Gaussian distribution) features. I am less certain of how these two classifiers would differ. What does ...
1
vote
0answers
11 views

How MeanDecreaseGini is calculated for categorical predictors?

I'm implementing a random forest algorithm but I noticed that the categorical variable in the database is not selected among the important variables. So I want to know how RF calculates ...
0
votes
1answer
43 views

lmer in R variable types

I'm new to both R and using lmes, and just struggling to work out how I should be preparing my data for the model. I have a data set (dataRT): ...
2
votes
0answers
34 views

Can I use compositional data in a GLM?

I have landing data (kg) of five species where I try to identify which factors may be contributing most strongly to the high catch. Before, I had 4 predictor variables (Depth, Chlorophyll, Temperature ...
0
votes
1answer
22 views
+100

Generalized Cochran's Q Test

I have two groups of experimental data samples that are categorical, and my goal is similar to Pearson's chi-squared test (${ \chi ^{2}}$), to evaluate how likely it is that any observed difference ...

1
2 3 4 5
62