dummy coding

  1. S

    Basic doubt - dummy code vs. hierarchical model

    I have a basic doubt on when to use country code as dummy coded control variables in regression and when to model it as a higher level variable within which other independent variables are nested. In my specific study, I have borrowers from several countries using an online P2P portal for...
  2. A

    Expert Help Required - Multiple Regression with Nominal and Scale Variables

    Hi all, I'm having huge issues with the assumptions of multiple regression and determining whether I am running my analysis correctly. First of all, I have eight different predictors and one outcome variable. The idea is to determine whether each variable is a significant predictor of the...
  3. E

    Difference in Difference-SPSS: Creating dummy variable

    I am doing a program evaluation and want to use difference in difference analysis. I calculated the difference in difference by hand and now want to perform a regression. I have made a dummy for 1=treatment and 0=no treatment. But since I have done my pre and post test on the same...
  4. K

    Linear Regression:Controlling for categorical independent variables, WITHOUT dummies?

    Short version: Does including a categorical nominal-level independent variable WITHOUT dummies still work as a simple control for other independent variables? e.g. for P = b0 + b1*Grades + b2*WordCount + b3*Sex + b4*Major With 6 possible categories for Major, I know b4 is meaningless since...
  5. D

    Logistic Regression: To dummy code or not to? Which backward elimination to use?

    I have 10 binary dependent variables (disease prevalence: yes/no, 1/0). I want to do a logistical regression with each of them with the following binary categorical independent variables: - Year (8 levels) - Gender (2 levels) - Age (11 levels) - Season (2 levels) - Location (10 levels)...
  6. S

    Generate large dummy variable

    Hey guys. I'm actually a little depressed that I can't figure this one out myself - mostly because it, instinctly, seems easy. Lets say I want to create a data set from scratch. I have a variable, var1, and I want it to be a dummy variable with a specific amount of each. Let's say I want...
  7. T

    Mediation Analysis with Categorical IV with 4 levels

    Hello all, I would like to do a mediation analysis using the following 3 variables: 1. Integration Strategy: This is the independent variable. It is categorical and has 4 levels 2. Perceived Pressure to Assimilate: This is the mediator variable. It is continuous. 3. Readjustment...