BookmarkSubscribeRSS Feed
LABRADOR
Obsidian | Level 7

 

  1. Build a model using Debt as the dependent variable and test the effect of Interest and Relative Interest after controlling for Year and Budget. What is the unique variance explained by Interest and Relative Interest? For this problem use the GDP data.

     

    3.7%

     

    64.7%

     

    12.8%

     

    99.2%

 

        Interest         BEST12.
        'Relative Interest'n BEST12. ;
    INFORMAT
        Year             BEST12.
        GDP              BEST12.
        Budget           BEST12.
        Surplus          BEST12.
        'Relative Surplus'n BEST12.
        Debt             BEST12.
        Interest         BEST12.
        'Relative Interest'n BEST12. ;
    INFILE 'C:\Users\ssd506\AppData\Roaming\SAS\EnterpriseGuide\EGTEMP\SEG-5828-49c58181\contents\GDP-a3d169860cb14d7da79cda1e8cfaaaee.txt'
        LRECL=36
        ENCODING="WLATIN1"
        TERMSTR=CRLF
        DLM='7F'x
        MISSOVER
        DSD ;
    INPUT
        Year             : BEST32.
        GDP              : BEST32.
        Budget           : BEST32.
        Surplus          : BEST32.
        'Relative Surplus'n : BEST32.
        Debt             : BEST32.
        Interest         : BEST32.
        'Relative Interest'n : BEST32. ;
RUN;

What test should I run to do this?

 

 

1 REPLY 1
PaigeMiller
Diamond | Level 26

What test should I run to do this?

 

First you have to decide what model to build and what algorithm to use to fit the model.

 

Tests are meaningless until you have fit the model, and the idea of testing requires an hypothesis to be clearly stated, which has not happened. (For example, you might want to test that the effect of Interest is zero or some other number ... but as I said, this has not been stated)

 

So how are you going to fit this model (what algorithm or what PROC)? What hypothesis are you going to test?

 

 

--
Paige Miller

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 316 views
  • 0 likes
  • 2 in conversation