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

Can I have only one observation for each combination of factor levels in a regression model / is this model appropriate?

Can I have only one observation for each combination of factor levels in a regression model, or is this model appropriate? I have what I thought was a simple problem. I am working on a problem ...
0
votes
0answers
10 views

Measure of Association in categorical variables

I have a data a labelled data set with mix of categorical and continuous input variables, using which I have to do a predictive modelling. The data has following properties ...
0
votes
3answers
23 views

How to use Random Forest for categorical variables with missing value

I have a labelled dataset of 1M rows and 600 features. I am trying to build a supervised learning model for prediction. I am particularly working with Random forests in R.The data I have has following ...
2
votes
1answer
59 views

How should I implement this interaction between a continuous and categorical predictor?

I have a continuous outcome variable. I understand that if I have a binary predictor, and a continuous predictor, and an interaction, then the model looks like this: $y_{i} = \beta_{0} + ...
0
votes
1answer
10 views

Sample size log linear analysis?

Is there a rule of thumb for the sample size for a log linear analysis? For example, would it be inappropriate to use this analysis for a sample size of 50 with 3 predictors?
1
vote
0answers
41 views

Least squares regression of NPS

I would like to monitor customer satisfaction over time and would ideally like to use NPS for that. Specifically, I would like to see if there's an overall trend over time. Could I regress Net ...
0
votes
1answer
22 views

How to choose contrasts for nominal categorical Independent variable so that it results in uncorrelated dummies

I have a nominal categorical predictor and a continuous dependent variable..I want to perform linear regression using lm in R. If the contrasts are such that the resulting dummy variables are ...
0
votes
0answers
4 views

Finding the differences for nominal data when each participant contributes to more than one cell in the frequency table?

Finding the differences for nominal data when each participant contributes to more than one cell in the frequency table. The point is that I don't have paired nominal data as it is in repeated ...
0
votes
0answers
11 views

how to perform the test for categorical data ( multi-level)

I am very newbie in statistics and I my problem is as follows: A product have different types (D,E,F,G), a process will automatically assign different promo_code to each type. But the process may ...
0
votes
0answers
12 views

Looking at whether two binary variables vary with a third

Suppose we have three binary variables $A,B$ and $C$. I want to see whether the distribution of $A$ and $B$ vary with $C$. Would the Cochran-Mantel-Haenzel test be good to use? So for $C=0$ we have a ...
1
vote
0answers
20 views

Assign the tree species most representitive of a specific size class

I am replicating another study in which trees were assigned to a class based on diameter. The most representative species of each class was identified for each plot sampled. The classes are sapling ...
0
votes
1answer
17 views

Quantitative and categorial predictor in one model

This is what I would like to know, due to some logical problem behind! I have a model as: Crown radius = Diameter at breast height + Location DBH is quantitative, like 30cm, 40cm... Location is ...
0
votes
1answer
29 views

Dummy Variable problem

I am doing a regression project based on this dataset. I wonder whether wouldn't it be better to transform the IV origin from 1,2,3 to three dummy variables like this: When the car would be from ...
1
vote
1answer
29 views

Probit model: marginal effects cannot be estimated because one dummy variable was dropped for predicting failure perfectly

I have a basic question about the -margins- command in Stata: I was wondering if there was a workaround to run marginal effects for a model where one of the dummy ...
1
vote
1answer
26 views

Comparing distributions of categorical data

Suppose that there are four categories: 1,2,3 and 4. The data sets look like this: Data 1: 1,2,4,3,4,1,2,3,4 Data 2: 3,3,4,1,2,3,4,3,2,1,2,3,4 What ...
0
votes
1answer
32 views

Which statistical analysis test can I use when the instances in the sample is not independent?

I am wondering if the data I have here is eligible to do statistical analysis. The problem is: I collected data from 20 person with age less than 20 (Group A), from 21 person with age large than 30 ...
12
votes
8answers
447 views

How can you visualize the relationship between 3 categorical variables?

I have a dataset with three categorical variables and I want to visualize the relationship between all three in one graph. Any ideas? Currently I am using the following three graphs: Each graph is ...
0
votes
0answers
6 views

Using interaction terms to exclude sample members who do not meet certain conditions?

I believe this might be a specific application of the non-compliance problem in experimental design and estimating treatment effects, but I could be wrong. I want to model the impact of certain ...
1
vote
2answers
29 views

How to show that the condition of one hand predicts the condition of the other hand

I have this kind of data: subject hand condition s01 left 1 s01 right 0 s02 left 2 s02 right 2 .. .. .. ...
0
votes
0answers
9 views

Correlation/association for categorical and interval data [duplicate]

I am testing data for correlation. The outcome variable is categorical with 8 categories. There are 20 predictor variables, some are categorical and some are interval. The questions are Is there ...
2
votes
1answer
113 views

Features that correspond to rare events: how rare is “too rare” to be informative?

I am working with 82 binary features constructed from six categorical features. I have about 1,600 observations. Some of these features correspond to extremely rare categories. Some of them have only ...
2
votes
1answer
62 views

Does a factor-by-factor interaction term have any literal interpretation?

Following the explanations in What is the baseline level in a factor-by-factor interaction?, it is my understanding that a factor-by-factor interaction term has no literal interpretation. At the very ...
0
votes
0answers
22 views

Which exact test should I use for my data?

I'm very new to statistical analysis, and I am wondering if I am paying too much attention to unimportant questions. My data consists of about 40 cases involving a particular kind of lawsuit. After ...
1
vote
0answers
15 views

Binomial regression does not give coefficients for all IVs [duplicate]

I have a dataset with the dependent variable presence / absence (0 and 1) for a certain species. I have three categorised IV's (2 IV's with 3 categories and 1 with 2 categories). To test the response ...
0
votes
0answers
30 views

Subsetting dataframe conditions on factor (binary) column (vector in R)

I have a sequence of 1/0's indicating if patient is in remission or not. Assume the records of remission or not were taken at discrete times. How can I check the Markov property for each patient, ...
0
votes
0answers
10 views

Categorical data and different analyses

Why does categorical data have different tests? I know there are many tests for categorical data such as a crosstabs or Chi-Square but why does the data use different tests?
1
vote
0answers
34 views

What test is appropriate for my data set?

So my data is on feedback students receive during their 4 years at university. I sent out a questionnaire and there are 23 questions in total, each question is looking at the perception and value of ...
3
votes
1answer
159 views

What's the right interpretation for parameter estimates in loglinear modelling?

I'm doing a loglinear analysis of the following data. Male is coded as 1, Female as 2. Senior workers are coded as 1, middle level as 2, and shopfloor as 3. A is coded as 1 and is the most ...
0
votes
1answer
20 views

Beta coefficient interpretion with categorical and continuous predictors in a linear regression

I am trying to run a linear regression with both categorical and continuous predictors. I have coded the categorical predictor (with three levels) into three dummy variables, and entered the two dummy ...
1
vote
1answer
11 views

How do you interpret SPSS output for reference groups with multiple levels?

I am using binary logistic regression. My dependent variable is referred or not referred. I have set a reference category for location of subjects. I have chosen to use the largest site with the ...
3
votes
1answer
43 views

Determining $\chi^2 $ for Cramer's $\phi $

I intend to determine Cramer's $\phi$ for two contingency tables of the following form: ...
0
votes
2answers
50 views

Categorical as a dependent variable in regression

I am trying to use a regression model which can predict the category of an object.One object has many variables (these are used in the model as independent variables). My question is what kind of ...
2
votes
1answer
36 views

Model to predict categorical outcome from continuous and categorical variables

I have to fit a model to test whether Learning (1=learned, 0=failed) depends on lizard sex (M or F), Lizard SVL (snout-vent length), or an interaction of the two. I am new to both R and this website. ...
0
votes
0answers
22 views

Logit model - none of the cases vary on one predictor

What do you do with a categorical predictor (e.g. Black-White-Hispanic) in a logistic model when none of the cases are White, but about half the population studied is? You have to drop this predictor ...
1
vote
0answers
7 views

Data frame manoeuvre [migrated]

Suppose I have the following dataframe: ...
2
votes
1answer
46 views

What is the baseline level in a factor-by-factor interaction?

What is the baseline level for a factor-by-factor interaction term in multiple regression? Consider this example from Fox 2003. In the regression below, these two variables are categorical: ...
0
votes
0answers
11 views

Multivariate dichotomous variables against continuous data

I'm trying to establish the relationship, if any, between a series of dichotomous independent variables, and a continuous variable. The data in question relates to the spatial statistics (continuous ...
1
vote
1answer
23 views

ARCH + GARCH sum to more than 1. Dropping the intercept

I am capturing the daily percentage returns of a stock index with dummy variables. I do this both including and excluding the intercept. I get quite different results. If I keep the intercept (image ...
1
vote
0answers
10 views

Principled way of collapsing categorical variables with many categories

What techniques could I use to optimize the collapsing of many categories to a few, for the purpose of using them as an input to a statistical model? Consider a variable like college student major. ...
3
votes
1answer
63 views

Estimation process in OLS with categorical variables and dummy coding

In my question (Cox model on bank customers) regarding the estimation process in regression with categorical variables, @Scortchi write the following: Any coefficient in a multiple regression ...
2
votes
1answer
46 views

12 firms and a total of 204 observations, can I use pooled OLS with firm-dummies or should I use fixed factor?

I am studying the effect of government ownership on firm performance, more specifically I am studying the effect of the government reducing their share in companies which are already partly ...
2
votes
0answers
17 views

Show Pearson Chi-Square Statistic is Score Statistic for Multinomial Data

I've read in many textbooks that the Pearson Chi-Square statistic is a score statistic in the multinomial setting (as well as others). I thought it would be a good exercise to derive this, but I am ...
0
votes
0answers
24 views

How to interpret factor by factor interactions?

I'm a bit confused on how one should interpret factor by factor interactions, and what interpretations can be validly extracted. Consider this example from Fox 2003. In the regression below, these ...
0
votes
0answers
11 views

Visualization of two terciary vectors

Let $x,y\in\{-1,0,1\}^n$ are two tertiary vectors of the same size where $n$ is a large integer such as $n=1000$. I want to see that $y_i=x_i$. Do you have any idea of the visualization of that ...
2
votes
0answers
59 views

How does the presence of factors affect the interpretation of the other coefficients in a regression?

The answer to Interpreting coefficients of an interaction between categorical and continuous variable contains a phrase that seems to have some significant impact on how coefficients are interpreted ...
0
votes
2answers
21 views

How to run regression analysis without extracted factors from factor anlaysis?

I used Oblique Rotation in my Factor Analysis to reduce the dimensions and to extract 4 factors. But Since I was using Oblique rotation, the results of Factor Analysis did not contain the extracted ...
1
vote
1answer
34 views

Categorical variable interpretation in “mixed” regression

I have a linear regression with transformed variables: log(y) = b0 + b1*log(X1) + b2*mid + b3*high where "mid" and "high" are dummies from a 3-level categorical ...
1
vote
2answers
100 views

Regression with categorical predictors - use only some dummy variables [duplicate]

I am working on a regression and I have a factor variable "Marital Status" Marital status has 5 levels: Single, Married, Divored, Widowed, Other (don't ask me what constitutes someone being an ...
0
votes
1answer
45 views

What test should be applied in SPSS?

I have categorical data of drug relapse among the rehabilitated clients of drugs user. Some cell values are less than 5 ie. zero. chi square test can not be applied here. what test must be applied ...
3
votes
1answer
65 views

Effect of categorical interaction terms with random forest machine learning algorithm

Thanks in advance for the help. I have moderately large dataset (around 7000 samples) with numerous categorical predictors and a single binary response. All of the predictors are categorical. ...