+ Reply to Thread
Results 1 to 3 of 3

Thread: Syntax command for dropping single cases

  1. #1
    Points: 15, Level: 1
    Level completed: 29%, Points required for next Level: 35

    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Syntax command for dropping single cases




    Hello,

    I hope someone could help me regarding single cases, which have been identified as outliers during regression analysis (st.residuals > 2; > 3).

    Is there a practical syntax command for this. And if there is one where to include it? Simply adding at the end of commands for regression in the syntax?

    Thanks in advance!

    Kind regard

    Daniel

  2. #2
    TS Contributor
    Points: 3,294, Level: 35
    Level completed: 63%, Points required for next Level: 56

    Location
    Sweden
    Posts
    376
    Thanks
    30
    Thanked 89 Times in 79 Posts

    Re: Syntax command for dropping single cases

    What software do you use? In STATA you just write:

    drop if residual>3

    That code drops the whole row. I suppose that is what you want?!

  3. #3
    Points: 15, Level: 1
    Level completed: 29%, Points required for next Level: 35

    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Syntax command for dropping single cases


    Thanks for the reply.

    I use SPSS20. Actually that is not quiet what I mean.

    I would like to drop the specific respondent or case. Because I dont want to save the variables for the residuals all the time and then analyze them seperately...that is quiet cumbersome if you use up to 10 predictors..

    Kind regards

    daniel

+ Reply to Thread

           




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts






Advertise on Talk Stats