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
1answer
15 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 ...
5
votes
4answers
106 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
3 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 ...
-1
votes
0answers
11 views

How will apply log likelihood test for categorical data? [on hold]

How can we apply Log likelihood measure for categorical data? to do clustering? the variables are: Gender, Age, Marital status, email provider .......coded as 0,1,2,3...? Will you tell me how can i ...
2
votes
1answer
106 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 ...
1
vote
1answer
24 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
13 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
14 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
23 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
9 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
33 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 ...
1
vote
1answer
122 views
+100

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
18 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
10 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
48 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
35 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: ...
1
vote
1answer
40 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
19 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
9 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
62 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
44 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
21 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
48 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
17 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
31 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
94 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
57 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. ...
1
vote
0answers
9 views

how to code and use many categorical variables together

I have data on SNP genotype data from patients and control and would like to know which SNPs can predict the disease outcome. Each SNP has three genotypes and the disease outcome is continuous as the ...
1
vote
1answer
42 views

Dummy variable trap in survival models

I am familiar with the dummy variable trap in normal OLS, in which we should include one less dummy variable than the total of categories to avoid the problem of multicollinearity. However, I was ...
3
votes
2answers
86 views

Interpretation of continuous variable in dummy-continuous interaction

Similar questions have been asked before, but all of them focus on the dummy or interaction term. Say run an OLS regression on the model: $\ln( housePrice )= \beta_1 \times pollutionLevel + \beta_2 ...
0
votes
0answers
19 views

Interpreting dummy variable in semi-log model

There are numerous theories on how to interpret the coefficients of dummy variables in a semi-log model but I still am not sure about it. Do we multiply the coefficient by 100 to get the change like ...
0
votes
0answers
32 views

Dummy Interactions

To find what determines wages, I have dummy variables female, degree, Alevel etc. 1) What do I do to so see if there is any structural difference between male and female observed wages against ...
0
votes
0answers
25 views

PCA on nominal-ordinal data

I am trying to "decorrelate" two variables: one is binary categorical (cluster assignments) and the other one is ordinal (0 to 4 ratings). I have browsed around and came across Nonlinear principal ...
0
votes
1answer
36 views

3 categorical IV and 1 categorical DV — what test to use?

Here's my setup: Independent Variables (IV): (A) Task -- values 0 - 6 (order doesn't matter) (B) Viewpoint -- values 0 - 26 (order doesn't matter) (C) Input-device -- values {touchscreen, mouse, ...
1
vote
1answer
21 views

Using both treatment and sum coding in a single model?

I am running a regression with two independent variables. The dependent variable is accuracy. I am looking to see if being at Level 1 of Factor A makes you more likely to be correct than being at ...
1
vote
0answers
69 views

Can you leave out more than one dummy variable to have more than one variables in the reference category?

For example, in the simple OLS regression: $y = a + b_1x_1 + ... + b_kx_k + \varepsilon$ if your dummy variable $d$ has 10 categories, could you include just one dummy variable for instance: $y ...
1
vote
1answer
42 views

How to analyse categorical data?

First off I would like to apologise for the ill-defined nature of the question, I have very little background in statistics and am currently taking a post-grad stats paper. My variable of interest ...
1
vote
0answers
26 views

Intercept-Only Model

In this example, the model is $$Y_{ij}=\beta_{oj}+\beta_{1j}X_{1ij}+\beta_{2j}X_{2ij}+e_{ij}\ldots(1)$$ A class with a high intercept is predicted to have more popular pupils than a class with a ...
0
votes
0answers
23 views

How to use GLM to decide between three factors based on binary data?

I have some problems with the interpretation of my glm results. I measured the disturbance of differently cultivated/ used site on a binary scale. 1 being influenced by the land use and 0 being not ...
2
votes
2answers
47 views

Is recoding a categorical variable into a continuous variable possible?

I'm trying to see if it's possible to recode a categorical variable into a continuous variable. The data would probably not permit it but what if I really needed to find the mean and SD? Is there ...
0
votes
0answers
15 views

Appropriateness of Using Dummy Variables To Select Quantitative Variables

I have inherited a model specification where the values of dummy variables are being used to decide the usage or omission of other quantitative variables for a given observation. This is something ...