macros

  1. P

    Interpreting Mediation results

    Hello, I have a few questions regarding interpretation of my results for Mediation using Hayes' Process macro. The key point for finding significance is to see that the Class Interval does not include zero. However, in my mediation model, although the indirect effect CI doesn't include zero...
  2. P

    interpreting simple slopes even if interaction effect is insignificant?

    Hello, Can we interpret simple slopes or Johnson-Neyman even if our interaction effect is not significant? If yes, then how? Also, what do we do with Data for visualizing conditional effect of X on Y? My results are listed below. Thanks in advance! *********. Model = 1 Y = qoltot...
  3. W

    Macro to quickly update a group of monthly changing macro variables

    Hello all, I'm trying to improve a lot of the SAS code for a monthly updating product the company I'm interning at distributes to a bunch of its clients by more completely automating it. However, I've done very little coding in the past so I'm only basely familiar with how to go about this and...
  4. G

    Conditional macro - substitute variable name depending on condition

    I would like to be able to specify the dataset I'm working with e.g., (compute DataSet = 1), and then conditionally define some macros based on the specified DataSet. Then I can run a bunch of syntax and have it use the appropriate macro definitions. For example, below is how I envision it...
  5. J

    How can I write a macro to execute iterative regressions?

    Hi, I have a group of 10 exposure variables and a group of 10 outcome variables. I would like to write a macro to regress each outcome variable on each exposure variable (a total of 100 regressions) using GEE with logistic regression, but I am unsure of how to code this. Any help would be...
  6. S

    Correlation of questions within the same thematic macro

    As part of my dissertation research, I am eliciting responses to an online questionnaire. In one section of the questionnaire there are a number of questions which correspond to thematic macros (two to three questions per macro). I want to do correlations between the responses to the questions...
  7. K

    Using Proc SQL within a SAS Macro

    Hello, I am an amateur SAS programmer. I just encountered a problem using the Proc SQL statement within a macro. I am using the Proc SQL to connect to the orcle database and pull out a value from a table. I am posting the code that I have written below. Any help will be greatly appreciated...
  8. O

    Creating an Array of Variables

    Hi! I've been struggling with macros to create an array of variables that are based on data from a second dataset (and failing!). My first dataset (data=EXAMINEES) consists of examinee responses (0/1's) to 200 items: Item1 Item2 Item3 ......... Item200 0 1 0...