We changed our privacy policy. Read more.

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
0
votes
0answers
14 views

How to account for cardinality in power analyses for categorical data? [closed]

I need to use power analysis to calculate the minimum necessary sample size needed to detect a reasonably small effect (assuming 95% confidence). The data is multivariate with continuous, integer, and ...
0
votes
0answers
2 views

Reporting Heterogeneity in SAH

I am doing research on reporting heterogeneity in self-assessed health between different subpopulation groups of a country. I have one variable (categorical, discreet) that I want to test using ...
0
votes
0answers
23 views

Which model to use for multiple outputs in classification problem

I want to predict roles based on name, experience, soft skills, technical skills . Based on all these variables I want to ...
0
votes
0answers
31 views

Least Squares Estimates of Simple Linear Regression with Three Level Categorical Variable?

For a simple linear regression model with a binary categorical variable: $$y_i = \beta_0 + \beta_1 x_i + \epsilon_i.$$ The least squares estimate are: $$\hat{\beta}_0 = \bar{y}_0 \; \text{and} \; \hat{...
0
votes
0answers
11 views

Simple Linear Regression with Three Level Categorical Variable

Let the following regression equation: $$Y_i = \beta_0 + \beta_1 X_i + \epsilon_i,$$ where $X_i$ is a dummy variable. By setting $X_1$, $X_0$, $Y_1$ and $Y_0$ the variables $X$ and $Y$ when $1$ or $0$ ...
0
votes
1answer
14 views

Intercept of logit vs intercept of multinomial logit

If I simulate the success probability for a Bernoulli random variable $t_{binary}$ conditional on some regressor $x$: ...
4
votes
1answer
227 views

Interpretation of regression coefficients with multiple categorical predictors

This question has an UPDATE further below added after the answer below. There is a nice answer HERE regarding how to interpret regression coefficients when predictors each consist of two categories in ...
0
votes
0answers
25 views

Understanding differences between binomial and multinomial models

I'm attempting to model how 2 predictor variables affect the relative proportions of 3 different categorical groups. I started off by running a binomial model for the proportion of each individual ...
2
votes
1answer
31 views

Can I run a linear regression with a categorial independent variable (treatment) and adjust for gender at the same time?

I'm doing a retrospective study where I want to analyze whether a certain treatment (surgery A vs. surgery B) has an effect on the health status after the surgery measured with different parameters (...
0
votes
0answers
10 views

Analysing responses across different groups - R Studio

I have data from a survey with responses as categorical data (multi-choice answers). I'm trying to find a way to explore if the % who chose each multi-choice answer change across different types of ...
0
votes
0answers
9 views

Discrepancies with SMARTPLS and SPSS Items' Loadings [closed]

Problem: Why are my loadings good in SMARTPLS's report (Outer Loadings) but bad when conducting factor analysis in SPSS? Details: When I conduct Factor Analysis in SPSS and go through all the ...
0
votes
0answers
19 views

Determining Stastically significant difference in sizes of descrete groups

I have data from a experiement involving DNA, where a "random" string of DNA is created. This would look like [ [A,C,T,G],[A,C,T,G],[A,C,T,G]] where the string is any of the combinations of ...
3
votes
1answer
26 views

Is my interpretation correct? - Independence of binary predictors in multiple linear regression

I'm confused about the interaction of binary predictor values in multiple linear regression. Here's an example to illustrate my problem. Say that I want to investigate the relationship between life ...
1
vote
1answer
25 views

Hypothesis Testing for categorical Data?

I was reading a post where the author was conducting hypothesis testing on the incidence of COVID-19 by conducting a poll on their Instagram. She found that while the world prevalence for COVID-19 was ...
0
votes
0answers
5 views

How do I report the results of a multistate unordered categorical variable when there are no reference levels?

I have a dataset in which several of my variables of interest are a multistate categorical variable. These variables are not ordered: they refer to independent categories describing things like ...
3
votes
1answer
29 views

What type of statistical inferences are possible on aggregated tables?

I have a table with the following format CountH SubcountH1 SubcountH2 CountK... VarA SubA1 SubA2 SubA3 VarB SubB1 SubB2 . . . The table is filled with ...
0
votes
0answers
17 views

difficulty in interpreting significance of logistic regression with multiple categorical variables

I am trying to do a logistic regression in order to check for statistical significance among my multiple categorical variables. I have the following independent variables (IV): (1) Beta factor - ...
0
votes
0answers
10 views

Plots for one continous and the rest categorical variables

I have a dataset with the continuous variable Income as dependent, and the rest are the categorical variables Gender, ...
2
votes
0answers
46 views

Why it is not possible to estimate $\beta$ in binary response model with links other than logit? [duplicate]

This is related to an assertion made in Agresti's Categorical Data Analysis pg 169. "With case-control studies, it is not possible to estimate $\beta$ binary response models with links other than ...
0
votes
0answers
11 views

How do I hierarchically cluster column containing multiple categorical variables in r?

I'm trying to do some hierarchical clustering on some movie data and ran into a conceptual issue with a column containing the movie genres. The column will code genres as a string of integers ...
0
votes
0answers
22 views

growth curve modeling for nominal and ordinal dependent variables

Is it possible to conduct growth curve modeling for nominal and ordinal dependent variables instead of a continuous variable? The aim is to investigate the nature of the growth trajectories and to ...
1
vote
1answer
16 views

Blinder-Oaxaca decomposition and Gardeazabal and Ugidos (2004) correction in the presence of more than one categorical variable

I am reading the vignette for the oaxaca R package. At paragraph 2.3 there is written that: The results of Blinder-Oaxaca decompositions have been found to be sensitive to the researcher’s choice of ...
1
vote
0answers
44 views

Diversity index and categorical variables,-

Is it possible to calculate a diversity index (Simpson's or eventually Shannon's index) from ordinal data? As in, we surveyed 50 transects and recorded several species' "abundance" in 4 ...
0
votes
0answers
59 views

Significant variables with insignificant levels and vice versa in logistic regression

I hope all of us get well during the pandemic. I have conducted an analysis using binary logistic regression to investigate the interaction between gender (male, female) and official language ...
0
votes
0answers
16 views

Ordered Categorical Variables

Say I have categorical data where each category falls along the same spectrum. Perhaps a bad example, but stars on Amazon, Lyft, etc. One approach might be using a regression model to predict star ...
1
vote
1answer
28 views

When can we bucket groups together based on groups success rate?

I have a data set with a nominal data feature that has 20 levels. I want to label those levels in a way that I can say "Level A is Good", "Level B is Medium"... The data set is ...
0
votes
1answer
27 views

Difference between dummy and factor variable?

I've just learnt about dummy variables. Say this is my data: Location Nest XXX Yes XXX No ZZZ Yes YYY Yes YYY No And I want to do multicolinearity tests/logistic regression in RStudio, so I don'...
2
votes
2answers
92 views

Count data is numerical or categorical?

I am working on road network data (csv) and my data has 6 features. Two of these features are continues and three of them are categorical. One of the these features is number of lanes of street. This ...
0
votes
0answers
11 views

Hierarchical clustering detection with categorical variables in R with missing data

I am trying to find a hierarchical pattern in categorical data that I have. The data is sort of like this (as I am not allowed to use the actual data, I created a similar problem that follows my own ...
0
votes
0answers
24 views

How to decide n_componets in HashEncoding

I want to predict salary for each person depending on the job_roles, Technical skills. Column job_roles have 1500 unique roles. There is a column Technical skills (which have combination of skills) I ...
1
vote
0answers
28 views

variance of a categorical variable [duplicate]

I have a categorical variable with three levels Cu Cu000 Cu000 Cu035 Cu175 Cu000 Cu175 Cu035 . . . The exact distribution of the three values (Cu000, Cu035, Cu175)...
0
votes
0answers
14 views

Do we check for association between categorical variables before clustering mixed-type data?

I am clustering mixed-type data using hierarchical clustering and the Gower measure. My question is: Do we have to check for association (dependence) between categorical variables (e.g. using chi-...
0
votes
0answers
19 views

Aggregation followed by categorization or vice versa?

For unsupervised classification purposes using several variables, I need to categorize one continuous variable into two classes, particularly, using Z-scores. The issue is that the continuous data ...
1
vote
0answers
39 views

Multinomial Logistic Regression as Measure of Association

I have a dataset with say about 50 variables related to lifestyle risk factors, and I want to measure the association between these lifestyle predictors (e.g. smoking, alcohol consumption, physical ...
0
votes
0answers
14 views

Minimum sample size for comparing groups of nominal data with large number of possible values

I have two groups of samples that are distinguished by a Boolean value A, i.e. group 1 all has A=True and group 2 all has A=false. Each sample also has a nominal value B (i.e. each value is distinct ...
1
vote
0answers
14 views

Suitable test for data with multiple categorical dependent variables?

I have a dataset with multiple independent variables (time being one of them, so repeated measured) and multiple ordinal dependent variables that have 3 grades for each (like grade 2 for being ...
0
votes
0answers
24 views

Linear regression encoding for categorical variable

Suppose we have a variable with $k+1$ categories, which we can decompose it with $k$ binary variables: $$x_i = \begin{cases} 1, & \text{category i occurs} \\ 0, & \text{otherwise} \end{cases}$...
0
votes
0answers
14 views

Should I apply Kruskal Wallis test?

I am doing research about the purchasing behaviour of the population. Therefore, on my online survey, I have questions about the effect of the advertisement on social media on behaviour. So, the ...
2
votes
0answers
42 views

What is the most suitable kernel for categorical features?

I am trying to train a Gaussian process regression model based on some data with a large amount of categorical features. Each data point can be represented by a vector of strings. Right now I am using ...
2
votes
1answer
35 views

Helmert coding for mixed models in R

I am using R to analyse data from an experiment with six conditions. Condition has two dimensions: for cognitive load, I have two levels (load and ...
0
votes
0answers
13 views

Continuous variable coding problem

Good evening, I am working on a chapter of my dissertation, which is on industry trade flows during periods of economic sanctions. One of the variables I have coded, Intra-Industry Trade Share, ...
2
votes
1answer
142 views

GLMM when the dependent variable has three levels

I'm trying to fit mixed models in R for data where the dependent variable is categorical with three levels (choices of True, False, Unsure). My plan was to fit three separate binomial mixed models (...
0
votes
0answers
17 views

Analysing categorical response variables

I have a dataset that i'd like to analyse, but I've only ever analysed data that has response variables as a measurement of something, but my response variable here is categorical - specifically, ...
0
votes
0answers
27 views

How do I apply a regression model to my data with categorical variables and interactions?

I feel crazy stupid for not knowing this but how do I apply a multiple regression model to my data when I have categorical variables, interactions between continuous and categorical variables, and ...
0
votes
0answers
5 views

Actor Partner Interdependence Model (APIM) using Generalized Estimating Equations (GEE) in R

I am trying to analyse an APIM using GEE in R because all of my variables are binary. If using Lavaan::sem(), the code would look something like this: ...
0
votes
0answers
34 views

Choosing random and fixed effects for binomial GLMMs when the dependent variable has three levels

I'm new to statistics, so this might be a basic question. I'm trying to fit generalized linear mixed models for data where the dependent variable is categorical with three levels (True, False, Other). ...
0
votes
0answers
6 views

Query regarding Models in MANCOVA?

This is the query in the area of Mancova in SPSS. There are 8 dichotomous IVs and 7 DVs. IVs are shape components of the bottle like deep curve, slim, parallel etc. and DVs are like sophisticated, ...
1
vote
0answers
18 views

one-hot classify data depending on given classes

I'm trying to figure out if i can make a neural network that is able to match misspelled names together. So for example, Jon Smit and John Smith are probably the same person. I've already gotten the ...

1
2 3 4 5
64