Recently in the SAS Community Library: SAS' @Sundaresh1 highlights a sometimes overlooked task when applying document embeddings for purposes of similarity-based search. Normalisation of vectors helps obtain relevant matches.
Hi all,
Please help me to code this. This is the dataset below-
I have 2 drugs being used for each ID i.e., SGA and DM. I have multiple start date and end dates for each ID and drug. I want to see if the DM_start falls into any of the SGA_start and SGA_end under each id. That is DM_start of period 3 can fall in the SGA_start and SGA_end of period1.
And also calculate the number of overlapping days for each time period. I want to know the no. of days for each orange period.
Thank you all in advance,
Any help would be appreciated.
... View more
The course references this library:
libname locallib 'home/student/DMML35';
but I am working on my own machine so I don't have access to that library. Where should I save the course materials? I tried saving them my users folder
libname locallib '/Users/Training Materials';
But I get
ERROR: Library locallib does not exist.
I do see it on my list of libraries but I can't open it.
... View more
Hello Community, I'm at a crossroads and would appreciate your insights. I aspire to work as a biostatistician or data scientist in the pharmaceutical sector, where proficiency in SAS is often a prerequisite. While I haven't used SAS in my previous roles, it seems crucial for roles in the pharma industry. Considering this, do you think it's worth investing 1-2 years to learn SAS for my career goals, or do you foresee a shift towards R/Python in these industries in the near future? Your advice and perspectives are highly valued. Thanks in advance!
... View more
I am trying to analyze a dataset that has two dichotomous variables (placstat and hiv) predicting a continuous variable (lplacwbc). The data are unbalanced. I am interested in seeing a matrix for pairwise comparisons, with p values, for all possible comparisons. The following code yields the output provided (not showing the model output, only lsmeans output). I may be missing something simple here, but I cannot figure it out! proc glm; class placstat hiv; model lplacwbc=placstat hiv placstat*hiv/ ss1 ss2 ss3 ss4; lsmeans placstat hiv/pdiff=all adjust=tukey; run;
... View more