generate

  1. T

    Logistic regression in Stata with binomial dependent variable 3-level categorical predictor variable

    Hi, I'm doing a logistic regression analysis with a binomial outcome variable (Yes / No). My main predictor variable is categorical and has 3 levels. I'm also including categorical and continuous confounding variables as predictors. What is the best way to convert my outcome variable from...
  2. M

    Generate variable that shows the question with the highest correct answers

    hi friends, I asked 25 questions in a test. q1 1=correct 0=incorrect q2 1=correct 0=incorrect So on, I would like to know which of the 25 question has the most correct responses. I could tab each variable and know the answer but is there a way to create a new variable with this info...