comp.soft-sys.sas - The SAS statistics package.
Dear all, There are two treatments say A and B. I have to create the block such that each of the first six investigator would randomly get one of the following possible blocks. I have never used Proc Plan and i am sure this could be done using proc plan. I would appreicate if someone can help me on this. A A B B A B A B A B B A B B A A B A B A B A A B There are all together around 36 patients per center and there are 60 centers. So the above sequence which is for the 6 centers and 4 patients needs to be created for 36 patients and 60 centers. So i guess there would be total 10 set of 6 blocks each for each site. And there would be 9 sets of vertical blocks for 36 patients per site. Correct me if i am wrong. Do you mind helping me out generating this randomization file? Awating your reply,
hi friends, I am new to groups.I need some help in the randomization schedule programming. there are 200 patients divided among 3 sites and 2 treatment groups and block size of 4 menas there should be 4 patients per block.How can I do this usin proc pla.your help is really appreciated. Thanks sm
Hi guys, I have a rectangular matrix, approximately 2000x500, of response times to test questions (actually the residuals after removing the row and column effects). I want to permute the rows and columns of the matrix so similar rows are adjacent and similar columns are adjacent. I don't have access to SAS/IML (I almost wanted to call it Proc Matrix, talk about old!). Does anyone have any suggestion for accomplishing my goals? I'm thinking of first clustering the rows and then the columns and somehow using the ordering of the tree diagram, but a) I'm not sure that's the best way and b) if it is the best way, I'm not sure which clustering procedure and method to use. Having removed the main effects, I have no reason to suspect the data are unidimensional. Any suggestions, ideas or hints? As always, thanks a lot for any help! Barry Grau
Hi sas-list, I want to suppress the output when using Proc Plan ods output Plan=Combinations; proc plan; factors Block=&m ordered Treat= &k of &n comb; run; I only want to create the data set Combinations which lists all combinations n choose k. Here n=9, k=5: Block Treat1 Treat2 Treat3 Treat4 Treat5 1 1 2 3 4 5 ... *ods output Plan=Combinations; proc plan; factors Block=&m ordered Treat= &k of &n comb /noprint; output out=Combinations; run; produces only Block Treat 1 1 ... What can I do? Stefan.