Skip to content
Discussion options

You must be logged in to vote

Ok, so I've coded this up and for the following call, the generated code is below it. Note that I used a list for both Class and Estimate, but Class just concatenates the values w/in one statement (like it already did), while estimate builds a statement for each value in the list (like you need).

res = stat.mixed(data='sashelp.cars', 
                 model='horsepower = cylinders', 
                 estimate=['"what" cylinders -1 0 0', '"when" cylinders 1 0 0', '"where" cylinders 0 0 -1'], 
                 cls=['horsepower', 'cylinders'])


258        %macro proccall(d);
259        proc mixed data=sashelp.'cars'n  plots=all  ;
260        class horsepower cylinders;
261        model hors…

Replies: 6 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Robaina
Comment options

You must be logged in to vote
4 replies
@tomweber-sas
Comment options

@Robaina
Comment options

@tomweber-sas
Comment options

@Robaina
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants