SPSS Statistics

SPSS Statistics

Your hub for statistical analysis, data management, and data documentation. Connect, learn, and share with your peers! 


#Analytics
#SPSSStatistics
#Analyticstools
 View Only
  • 1.  Multiple regression in splitted variable

    Posted 10/10/22 11:40 AM
    Hello everybody.
    I have a very difficult problem for me to solve.

    I have to do a multiple regression between a group of independent variables and a dependent variable "y". my problem lies in the definition of independent variables. I'll explain:
    the independent variable "x" must be divided into 3 subsets "x1" "x2" "x3", this division must be made on the basis of two other variables "z" and "k", that is, according to the value of z, k and x, the variable x is divided into the 3 subsets. finally, as I said at the beginning, I have to do the multiple regression between the independent variables x1, x2, x3 and the dependent variable y.

    Is it possible to do such a thing?
    Thanks so much for the help.

    Federico.

    ------------------------------
    Federico Mariotti
    ------------------------------

    #SPSSStatistics


  • 2.  RE: Multiple regression in splitted variable

    Posted 10/10/22 01:18 PM
    Hi. You will need to look at the IF command, perhaps DO IF, to accomplish this.

    See: 
    DO IF
    IF
    Recode into Same Variables
    and/or
    Recode into Different Variables










    ------------------------------
    Rick Marcantonio
    Quality Assurance
    IBM
    ------------------------------