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, I am running the following macro %macro geomeans (data=, outcome=);
%let total_vars = %sysfunc (countw (&outcome) );
%do i = 1 %to &total_vars;
%let selected_var=%scan (&outcome, &i);
ods output estimates=geomeans&i;
proc genmod data=&data;
class brinda15 / param = glm;
model &outcome = brinda15 / type3 dist=normal ;
estimate "Overall estimate &outcome brinda15 =0" intercept 1 brinda15 1 0 /exp;
estimate "Overall estimate &outcome brinda15 =1 " intercept 1 brinda15 0 1 /exp;
run;
ods output close; I call the macro with the following code: %geomeans (data=db, outcome=var1 var2 var3) It works only for the first variable (it doesn't matter which one it is), but for the other variables I the error message below In case it matters, my outcomes are continuous and ln transformed. Any tips of how to fix this are welcome! Thank you
... View more
Hello folks! Together with a friend, we're looking into concurrency & parallelism, but beforehand we want to understand what kind of resource would be best for the Graphics field. Her work is more Mesh oriented while mine is related to Rendering. The aspect that's shared is that we both work in C++. With this in mind, any good pointers? All help and guidance is very much appreciated.
... View more
i have a data s follows: there are only 2 variables, age group (age) and survival time (time). there is no censoring observations. input age $ time ; cards; "<=40" 2 "<=40" 3 "<=40" 6 "<=40" 6 "<=40" 7 "<=40" 10 "<=40" 15 "<=40" 15 "<=40" 16 "<=40" 27 "<=40" 30 "<=40" 32 ">40" 1 ">40" 1 ">40" 1 ">40" 1 ">40" 2 ">40" 3 ">40" 3 ">40" 9 ">40" 22 ; i have two questions: 1) did i enter the data correctly? 2) how do i conduct a log-rank test to compare survival curves between 2 age groups?
... View more
Hello, I want to create just Xbar chart for LOS(hours) quartely with 8 subgroups using SAS.,
I used XSCHART , it will give me both both X-bar and S charts together. Same for XR chart.
but I only want to have X-bar chart.
I also cannot use only xchart in my SAS code as xchart is used for individual data not for subgroup data.
How can I adjust my SAS code to see only the X-bar chart in my output?
proc shewhart data=MIS; xSchart LOS*AdmitYYQ / Markers outtable=outtable ; run;
Attached is the output to see both are in the same frame.
Thanks
... View more
is it possible to output predicted individual-level slopes from proc mixed? Here is my current code. Thanks!
proc mixed data=all covtest cl;
class ptID;
model value=visitYr / s residual outp=pred;
random int visitYr / type=un subject=ptID g gcorr v;
ods output CovParms=covout solutionr=slopes;;
run;
... View more