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.
Hello,
I am struggling with controlling page breaks in proc report/ods PDF. I already did a post a few months ago (https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-suppress-table-splitting-in-ODS-PDF/m-p/907292#M26446), but I have not found a solution yet. First, I thought I will just use ods rtf with the keepn option, but that brings more problems than it solves. Now, I have just found a paper that kind of describes the problem from Stetz et al. "Controlling Page Breaks when using Proc Report" (https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://support.sas.com/resources/papers/proceedings-archive/SUGI95/Sugi-95-70%2520Stetz.pdf&ved=2ahUKEwjHib_10PuFAxUi_rsIHa0GA9oQFnoECBAQAw&usg=AOvVaw0Z1J0znhm8-SeB_Oxq4tBr). Unfortunately, the paper is quite short and I do not understand how the data in the example code is structured. My question is: Does anyone have further knowledge on using "line counting" to control page breaks with proc report? Or does anyone know other papers that talk about this issue?
@Cynthia_sas did you write the paper? And if so, have you got any tips for the page break control?
If anyone needs code examples I can provide code and data, but for now I thought it would be more useful if I try different approaches before just posting my code where I did not achieve much yet. I am grateful for any help.
Kind regards
... View more
Hi folks,
We have 9.4 M6 installed on Linux server. We use a horizontal web cluster for the middle tier. We need to disable/remove two of the clusters. The main web cluster remains.
There is an easy way to disable or remove a web cluster?
Regards,
... View more
Hello to community, Than you for your time, the problem is following I am doing classical Pavlovian human conditioning which in very general terms is changing of attitude of a person to some stimulus. One of the way to check it is simply to ask the person to rate the attitude to the symbol (in my case : the level of excitement on the scale from one to nine) . It seams rather easy task but due to the complexity of paradigm it becomes a little bit complicated. First we show a person two symbols: one we associate with money the other one is neutral and ask person to rate those symbols. then we switch association and previously neutral symbol becomes associated with money and previously associated with money becomes neutral. Then we do the same, but use pain instead of money. In the end we have ratings for 8 different associations each made by 20 participants. In my model I have 4 categorical predictors. 1. Stimulus : can be associated with pain\money, or not (CS+, CS-). 2. Stage : stimulus before switch (original) and after switch (inverted). 3. Phase: stimulus associated with money (pleasant), associated with pain (unpleasant). 4 Subjects: 20 of them, each makes 8 ratings. My very general question is: what are your advises? More actual question is: Definitely it is a repetitive measurement, but what parameters should be treated as repetitive. Than you for your time.
... View more
Hello, I would like to ask for a clarification. If anyone could help me, I will be very much obliged. I have an experiment with five treatments (diets fed to animals in different parks), the response score was measured everyday, for 35 days. response variable is ordinal with three levels: 0 no effect, 1 mild effect, 2 high effect. I have tried the following approach proc glimmix data=score method=?; class diet score; model score = diet / link=cumlogit dist=multinomial; random time / sub=park type=ar(1); I have tried several 'method=' but would like advice which would best apply. Also, in this paper with a similar approach, authors calculate the probability of score HIGH, which I would also like to apply here. Authors state the following formula but I'm not aware how to obtain the logit values in my case: p = exp(logit)/(1 + exp(logit)) https://www.mdpi.com/2076-2615/13/21/3350 Any ideas appreciated.
... View more
Existe una extensión de SAS para VSCODE que pueden utilizar, especialmente diseñada para usuarios programadores que usan y disfrutan de VSCODE. Pueden descargar la extensión de SAS para VSCODE y luego configurarla para acceder a servidores SAS9, Viya 3.5 y Viya 4.
Aquí les dejo cómo descargarla:
Una vez que hayan instalado la extensión VSCODE para SAS, necesitarán configurar la conexión a su servidor SAS:
Luego, configuren el archivo con la información necesaria. Probablemente necesitarán la ayuda de un administrador SAS de su empresa para realizar esta configuración.
A partir de ahí, podrán utilizar VSCode como interfaz de programación SAS si así lo desean, e incluso existe la opción de crear un SAS Notebook (similar al Jupyter Notebook).
Aquí hay un ejemplo de cómo se vería la interfaz con un código SAS y su registro justo debajo.
Observen que también existe la opción de crear un SAS Notebook:
... View more