Recent Activity
An update is available for SAS Viya 3.5.
Published 06Jan2025
Issue(s) addressed:
SAS Note 70709: A memory corruption vulnerability exists in Base SAS® and SAS/STAT®
SAS Note 70985: Running PROC REPORT might cause a segmentation violation or stack corruption
For a complete list of SAS Viya updates available, visit the SAS Viya Updates Page.
... View more
Labels:
0
0
Hello Community, I recently started learning SAS, completed my certification, But never exposed to the Graphs before. I got little familar with SGPLOT/ SGPANEL. I am looking to learn proc template. I googled alot and looked on the SAS website I did not got much luck. My professor said, try this website. I am new here , forgive for my mistakes. My questions is How to display the counts inside the Graph? How to display '0' when there is no count? My case make 'custom' is zero count. I have the following Graph, I want to display the counts Inside the graph for each make. I see on SAS website to use the Inner margin and axistable options When I tried I am getting Errors. Can you please help how I can achieve this using Proc template. I am not sure how this website work. if I posted in wrong place please forgive me and guide me to right place. Thank you. Reference Code for inner margin :https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatgraph/p0v5nj3waz75w4n1s2y70echq6im.htm#p08pr1slkds374n14ysbxx1lr3uq data cars;
set sashelp.cars;
where origin = 'USA' and make in ('Saturn' 'Jeep' 'Mercury');
output;
run;
data xx;
make = 'custom';
origin = 'USA';
Run;
data cars1;
set cars xx;
run;
proc freq data = cars;
table make/out = freq;
run;
proc template;
define statgraph boxplot;
begingraph;
entrytitle "City Mileage for Vehicle Types";
layout overlay /
xaxisopts=(offsetmin=0.1 offsetmax=0.1);
boxplot y=mpg_city x=make /
datalabel=make spread=true;
/* Wrong in my code what to enter?*/
innermargin / align=bottom opaque=true backgroundcolor=cxf5f5f5;
axistable x= @@@ value=@@@ /
stat=Sum display=(label)
headerlabel="Counts"
headerlabelattrs=GraphLabelText
valueattrs=(size=9pt weight=bold)
;
endinnermargin;
endlayout;
endgraph;
end;
run;
proc sgrender data=cars1 template=boxplot;
label type="Vehicle Type";
run;
... View more
0
2
I am trying to locate the data "divpremmonth_jaz_20210111.sas" for a University study, but I can't find it available. Specifically, I am trying to replicate the Investor Sentiment Index following Baker and Wurgler (2004), where they say they got the data for value-weighted dividend premium from SAS program divpremmonth_jaz_20210111.sas. Can anyone help me?
... View more
0
4
I am new to SAS and have a question for help. Here is the simplified question. I am looking X effect on Lagged Y, let's say Lag1_Y=k*X +c. There are total 6 observations of "X" and "Y". Obs X Y Lag1_Y 1 x1 y1 2 x2 y2 y2 3 x3 y3 y3 4 x4 y4 y4 5 x5 y5 y5 6 x6 y6 y6 I lagged variable "Y" and get 5 observations for "Lag1_Y". Now the effective observation pairs are 5: 1 x1 y2 2 x2 y3 3 x3 y4 4 x4 y5 5 x5 y6 How should I use the lagged variable in model? Do the original dates need to be modified as the dates shown in lower portion before regression analysis? I appreciate your help in advance
... View more
0
2
The purpose of this post is to learn how to detect anomalous time periods in continuous sensor data using support vector data description (SVDD). We learn how to extract time series features from selected windows in the data and then we use these extracted features as inputs to a model to detect anomalies in the sensor data. In this post we focus on using the unsupervised SVDD algorithm to detect anomalies in the sensor data, but if we had labels indicating when anomalies or failures occurred in the devices monitored by the sensor, we could also use the extracted features as inputs for supervised learning algorithm.
... View more
- Find more articles tagged with:
- anomaly detection
- GEL
- Python Integration with SAS Viya
0
0
Unanswered topics
These topics from the past 30 days have no replies. Can you help?