Programming the statistical procedures from SAS

Can CAUSALMED procedure handle more than one predictor variables?

Reply
Occasional Contributor
Posts: 19

Can CAUSALMED procedure handle more than one predictor variables?

Hi, 

 

I am not sure whether SAS can handle more than one predictor variables in Causalmed procedure. The case is : I got a three level categorical predictor, and created two binary variables on the basis of this three level categorical predictor variable, may I include the two binary predictor variables in Causalmed procedure?

 

All the examples about Causalmed in SAS manual only have one predictor.

 

Thanks,

 

Joe 

SAS Employee
Posts: 97

Re: Can CAUSALMED procedure handle more than one predictor variables?

CAUSALMED can handle more than one predictor variable or covariate in the MODEL statement or as predictors for the mediator variable.  But it can handle only one mediator variable like in this example.

http://go.documentation.sas.com/?docsetId=statug&docsetVersion=14.3&docsetTarget=statug_causalmed_ex...

 

Occasional Contributor
Posts: 19

Re: Can CAUSALMED procedure handle more than one predictor variables?

Thanks!
Occasional Contributor
Posts: 19

Re: Can CAUSALMED procedure handle more than one predictor variables?

Hi Rob,

 

It seems that SAS can not handle more than one treatment variable in Causalmed procedure, as I got the error message "ERROR: You cannot specify more than one treatment (predictor) variable on the right-hand side of the MEDIATOR statement." when I included two treatment variables in model statement and mediator statement. Please advise.

 

Thanks,

 

Joe

Ask a Question
Discussion stats
  • 3 replies
  • 132 views
  • 0 likes
  • 2 in conversation