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.
I am a novice using macros. I want to perform mediation analysis and want to use the PROCESS macro by A. Hayes. While using the macro I get the error: use &data; ERROR 22-322: Expecting a name. Line generated by the invoked macro "PROCESS". 43 use &data; ERROR 22-322: Expecting a name. how do I solve this? Thanks, Marij
... View more
Existe uma extensão do SAS para o VSCODE que vocês podem utilizar, ou seja, principalmente para usuários programadores que estão usando e gostam do VSCODE. É possível baixar a extensão do SAS para o VSCODE e depois configurá-la para acessar tanto um servidor SAS9, Viya 3.5 e Viya 4.
Veja como baixar:
Após instalarem a extensão VSCODE para SAS, vocês precisão configurar a conexão ao seu servidor SAS:
Então, configure o arquivo com as informações necessárias. Muito provavelmente você precisará da ajuda de um administrador SAS da sua empresa para realizar essa configuração.
A partir daí você poderá utilizar o VSCode como interface de programação SAS caso desejar, inclusive existe a opção de criar um SAS Notebook (similar ao Jupyter Notebook).
Exemplo de como seria uma interface vendo um código SAS, sua log logo abaixo.
Vejam que existe também a opção de criar um SAS Notebook:
... View more
Hi experts,
I am using SAS Mirror Manager and I am noticing something odd. I am using the "--deployment-assets" parameter to point to the deployment assets file downloaded from my.sas.com but it seems like SAS Mirror Manager is always downloading the latest release and not the release found in the deployment assets file.
According to the doc I expected it to download the same cadence and release found in the deployment assets file and not the latest release. I verified the downloaded release in the downloaded path:
../sas_repos/rel/stable/2024.04
I see there:
relFormatVersion":"0.0.1","name":"stable","version":"2024.04","latest":{"duList":"lod/stable/2024.04/20240511.1715441583768
But my deployment assets file name has a different release:
stable_2024.04_20240423.1713898974806
The command I am using is:
$MIRRORMGRPATH/mirrormgr mirror registry --path ${MIRRORPATH} --deployment-data ${ASSETSPATH}/${CERTSFILE} --deployment-assets ${ASSETSPATH}/${ASSETSFILE}
What am I missing here? Maybe I am looking in the wrong place.. where can I see/verify which release was downloaded by mirror manager?
... View more
Please correct me if I miss something because just right now the example is a typical example showing how graph can make the user mad.
In the example two formats are used; one is assigned to the variable using the format statement ; the other one is set using the option tickvalueformat.
My original thought was that tickvalueformat would have priority over the variable format to set the tickvalues and that the variable format would be used to set the order of the bars.
However, in this example, we can see that the tick values are coming from the format assigned to the variable, but the format width is coming from the format given in the tickvalueformat option. As the default format label with of the sex format is 6, tick values are truncated.
proc format;
value $sex 'M'='Male'
'F'='Female';
value $sexnum 'M'='1-Male'
'F'='2-Female';
run;
proc sgplot data=sashelp.class noborder;
vbarbasic sex;
xaxis discreteorder=formatted tickvalueformat=$sex.;
format sex $sexnum.;
run;
proc sgplot data=sashelp.class noborder;
vbarbasic sex;
xaxis discreteorder=formatted tickvalueformat=$sex20.;
format sex $sexnum.;
run;
... View more
Proc export giving additional quotes to the quoted char values.and if u use data step for that it is giving a space or . To numeric values which is not required . Needs to change nothing.now it is , , but want ,, no space no .for missing numeric value.
... View more