Recent content by greg6363

  1. G

    Multivariate regression in SAS Viya

    I am attempting to build a multivariate regression model in SAS Viya with two dependent variables and numerous independent variables but the Data Roles section only allows for the entry on one response variable. Is there a different area within SAS Viya (SAS Visual Analytics) where I should be...
  2. G

    Formatting in proc freq and proc sgplot

    This isn't my graph but let me use this illustration to explain my request. The Frequency is on the y-axis. In my case, the unit intervals are in thousands so I want to format that axis with the values in the form of 1,000, 2,000, 3,000, 4,000, 5,000 et al with the comma. Since Frequency...
  3. G

    Formatting in proc freq and proc sgplot

    I want to format the numeric units in the frequency charts and graphs generated in proc freq and proc sgplot with commas so they can be more presentable (i.e., 1000 as 1,000). Can I use a format statement? Where would it go? Any assistance would be greatly appreciated. Thanks.
  4. G

    Selecting the first record for a particular variable based on a condition

    I have a data set with time series data for the respective account numbers. I'm trying to select the first record for an account number (and the corresponding month field) that meets a particular condition. I was trying to achieve this objective with a proc sort statement but I was still...
  5. G

    %INCLUDE statement error

  6. G

    %INCLUDE statement error

    I am using an %INCLUDE macro statement to read in and run a libraries macro program into my current code in the following way: %include libs(&; %include “/location path/” / source2; Unfortunately, I receive the following error message: ERROR 22-322...