+ Reply to Thread
Results 1 to 2 of 2

Thread: Macros?

  1. #1
    Points: 4, Level: 1
    Level completed: 7%, Points required for next Level: 46

    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Macros?




    Hello,

    I am relatively new here and trying to work on some homework. I've been doing rather well in my SAS class, however I just do not seem to understand macros. We have problem given to us and I honestly have no idea on where to begin.

    Write a macro to fit a multiple regression model where Y is identified as one macro variable, and each X is identified as another macro variable. Your macro should do the following:

    a.Fit the model.

    b.Plot the residuals versus each X.

    c.Plot the residuals versus Y.

    The macro parameters should include the data set name, the response variable, the predictor variables, and a title.


    The book I'm using is utterly useless in this regard, so any help would be greatly appreciated.

  2. #2
    Test of Gnomality
    Points: 15,350, Level: 79
    Level completed: 50%, Points required for next Level: 500
    hlsmith's Avatar
    Posts
    2,915
    Thanks
    183
    Thanked 479 Times in 466 Posts

    Re: Macros?


    If you have not figure this out yet, let us know.

    First write the general code to just perform all of these procedures, forget about the macro. If you want, then post it and we can work on adding the macro component.
    Disregard the number of posts I have on this forum => I likely have no idea what I am writing about!

+ 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