<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Ksharp Tracker</title>
    <link>https://communities.sas.com/kntur85557/tracker</link>
    <description>Ksharp Tracker</description>
    <pubDate>Sun, 17 May 2026 02:30:43 GMT</pubDate>
    <dc:date>2026-05-17T02:30:43Z</dc:date>
    <item>
      <title>Re: proc pls : saving the model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/988164#M49451</link>
      <description>&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/score-for-PLS-procedure-issue/m-p/676606" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/score-for-PLS-procedure-issue/m-p/676606&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The only thing you need to do is using SOLUTION option to save parameters estimator and score test data as PROC  GLM .</description>
      <pubDate>Sat, 16 May 2026 07:12:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-pls-saving-the-model/m-p/988164#M49451</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-16T07:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: A SAS Macro to Use ODS to Direct Graphics Output to a Specified Folder and Avoid the WARNING: GP</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/A-SAS-Macro-to-Use-ODS-to-Direct-Graphics-Output-to-a-Specified/m-p/988163#M25910</link>
      <description>&lt;P&gt;Did you used:&lt;/P&gt;
&lt;PRE&gt;ods listing gpath='c:\temp';&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sgf/2015/11/20/how-to-increase-the-resolution-of-your-sas-graphics-output/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2015/11/20/how-to-increase-the-resolution-of-your-sas-graphics-output/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2017/06/08/getting-started-output-formats/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2017/06/08/getting-started-output-formats/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And&amp;nbsp;&lt;SPAN&gt;SAS_EXECFILEPATH macro variable is not working in batch mode (I tested), you need to set parameter&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;-set SAS_EXECFILEPATH "c:\temp\"&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;in batch process file.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2026 07:06:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/A-SAS-Macro-to-Use-ODS-to-Direct-Graphics-Output-to-a-Specified/m-p/988163#M25910</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-16T07:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is It Acceptable to Use Different Box-Cox Transformations for Each Variable?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Is-It-Acceptable-to-Use-Different-Box-Cox-Transformations-for/m-p/987843#M5071</link>
      <description>Sorry. Your question is too tough for me.&lt;BR /&gt;If your requirement is regarding FORECASTING , you could post your question at Forecasting Forum:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/bd-p/forecasting_econometrics" target="_blank"&gt;https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/bd-p/forecasting_econometrics&lt;/A&gt;</description>
      <pubDate>Wed, 13 May 2026 06:52:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Is-It-Acceptable-to-Use-Different-Box-Cox-Transformations-for/m-p/987843#M5071</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-13T06:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is It Acceptable to Use Different Box-Cox Transformations for Each Variable?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Is-It-Acceptable-to-Use-Different-Box-Cox-Transformations-for/m-p/987841#M5069</link>
      <description>My two cents:&lt;BR /&gt;I think it is OK.&lt;BR /&gt;Box-Cox Transformations is just to transform non-normal distribution into normal distribution. It has nothing to do with other variables. But the explanation of parameter estimator of that variable is another story !</description>
      <pubDate>Wed, 13 May 2026 06:37:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Is-It-Acceptable-to-Use-Different-Box-Cox-Transformations-for/m-p/987841#M5069</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-13T06:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Separating the same dates in a graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Separating-the-same-dates-in-a-graph/m-p/987777#M25907</link>
      <description>&lt;P&gt;Why are you using VLINE ? why not use SCATTER?&lt;/P&gt;
&lt;P&gt;VLINE would get MEAN of obs which have the same date.&lt;/P&gt;
&lt;P&gt;And you'd post a desired graph to explain what you are looking for ?&lt;/P&gt;
&lt;PRE&gt;libname x  v9 'C:\Users\xiakeshan\Documents\Downloads';

data reset;
 set x.reset;
run;

proc sgplot data=reset ;
&lt;STRONG&gt;scatter&lt;/STRONG&gt; x=Date y=Result/&lt;STRONG&gt;jitter&lt;/STRONG&gt; group=Structure ;
xaxis interval=Auto type=time label='Sampled Date' LABELATTRS=(weight=bold size=9)
VALUEATTRS=(family=arial size=9 style=normal weight=normal );
yaxis values=(0 to 100 by 5) LABELATTRS=(weight=bold size=9)
VALUEATTRS=(family=arial size=9 style=normal weight=normal );;
refline 29 / axis=y label=('Expected Result') lineattrs=(color=red pattern=dash)
labelattrs=(size=12) labelloc=outside;
title1 j=c " design Structure" bold;
run;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1778570043635.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/114953i8588B60A83174745/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1778570043635.png" alt="Ksharp_0-1778570043635.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2026 07:15:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Separating-the-same-dates-in-a-graph/m-p/987777#M25907</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-12T07:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Transposing a long dataset to wide with multiple variable types</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transposing-a-long-dataset-to-wide-with-multiple-variable-types/m-p/987774#M380073</link>
      <description>&lt;P&gt;Check the MERGE skill proposed by me,&amp;nbsp; Arthur.T and Matt :&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings15/2785-2015.pdf" target="_blank" rel="noopener"&gt;http://support.sas.com/resources/papers/proceedings15/2785-2015.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;And could you post your sample data and the desired output to explain this question better?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input id char $ num date :date9. time :time. ;
format date date9. time time.;
cards;
1 ss 23 1jan2010 09:20:21
1 ss 24 2jan2010 09:20:22
1 ss 25 3jan2010 09:20:23
2 ss 26 4jan2010 09:20:24
2 ss 27 5jan2010 09:20:25
;



data temp;
 set have;
 by id;
 if first.id then n=0;
 n+1;
run;
proc sql noprint;
select distinct(catt('temp(where=(n=',n,') rename=(
 char=char_',n,' num=num_',n,' date=date_',n,' time=time_',n,'))'))
 into :merge separated by ' '
   from temp;
quit;
data want;
merge &amp;amp;merge ;
by id;
drop n;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And a more simple and convenient way is using proc summary+idgroup, but it has limit that each group have&amp;nbsp; 100 obs at most.&lt;/P&gt;
&lt;PRE&gt;data have;
input id char $ num date :date9. time :time. ;
format date date9. time time.;
cards;
1 ss 23 1jan2010 09:20:21
1 ss 24 2jan2010 09:20:22
1 ss 25 3jan2010 09:20:23
2 ss 26 4jan2010 09:20:24
2 ss 27 5jan2010 09:20:25
;
proc sql noprint;
select max(n) into :n from
(select count(*) as n  from have group by id);
quit;

proc summary data=have nway;
class id;
output out=want idgroup( out[&amp;amp;n] (char num date time)=);
run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 May 2026 06:23:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transposing-a-long-dataset-to-wide-with-multiple-variable-types/m-p/987774#M380073</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-13T06:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: CV for ridge regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/CV-for-ridge-regression/m-p/987699#M49428</link>
      <description>Rick,&lt;BR /&gt;OP used the method you are mentioned, check the first post.&lt;BR /&gt;OP want " Ridge shrinkage criterion" , but PROC GLMSELECT didn't display it .</description>
      <pubDate>Mon, 11 May 2026 10:01:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/CV-for-ridge-regression/m-p/987699#M49428</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-11T10:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: CV for ridge regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/CV-for-ridge-regression/m-p/987693#M49426</link>
      <description>Sorry. I can't help you. It seems a tough task.&lt;BR /&gt;Maybe &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt; could give you a hint.</description>
      <pubDate>Mon, 11 May 2026 09:22:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/CV-for-ridge-regression/m-p/987693#M49426</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-11T09:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: CV for ridge regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/CV-for-ridge-regression/m-p/987687#M49424</link>
      <description>&lt;P&gt;OK. Check the following code was what you are looking for ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data acetyl;
input x1-x4 @@;
x1x2 = x1 * x2;
x1x1 = x1 * x1;
datalines;
1300  7.5 0.012 49   1300  9   0.012  50.2 1300 11 0.0115 50.5
1300 13.5 0.013 48.5 1300 17   0.0135 47.5 1300 23 0.012  44.5
1200  5.3 0.04  28   1200  7.5 0.038  31.5 1200 11 0.032  34.5
1200 13.5 0.026 35   1200 17   0.034  38   1200 23 0.041  38.5
1100  5.3 0.084 15   1100  7.5 0.098  17   1100 11 0.092  20.5
1100 17   0.086 29.5
;
 


/****** K-Fold CV ****/
%macro k_fold_cv(k=);
filename score temp;

ods select none;

proc surveyselect data=acetyl group=&amp;amp;k out=have seed=123;
run;

%do i=1 %to &amp;amp;k ;
data training;
 set have(where=(groupid ne &amp;amp;i)) ;
run;
data test;
 set have(where=(groupid eq &amp;amp;i));
run;

proc reg data=training outest=b ridge=0.02 noprint;
   model x4=x1 x2 x3 x1x2 x1x1;
   code file=score residual ;
quit;

/*Score test data*/
data score;
set test;
%include score;
run;
/*Calculate PRESS*/
proc sql;
create table press as
select uss(R_x4)/count(*) as press from score;
quit;

data score&amp;amp;i;
 merge b(where=(_TYPE_='RIDGE') keep=_TYPE_ _RIDGE_) press;
 retain id &amp;amp;i ;
run;
%end;
data k_fold_cv;
 set score1-score&amp;amp;k;
run;

ods select all;
%mend;

%k_fold_cv(k=3)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 May 2026 08:33:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/CV-for-ridge-regression/m-p/987687#M49424</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-11T08:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: CV for ridge regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/CV-for-ridge-regression/m-p/987682#M49422</link>
      <description>" I cannot perform automatic Ridge cross-validation in SAS,"&lt;BR /&gt;I think so. But maybe some expert of sas could know something new .&lt;BR /&gt;&lt;BR /&gt;"Is there an existing macro that performs K-folds Ridge cross-validation?"&lt;BR /&gt;You could replace PROC LOGISTIC in my code with PROC REG + RIDGE= option and get what you need .&lt;BR /&gt;</description>
      <pubDate>Mon, 11 May 2026 06:36:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/CV-for-ridge-regression/m-p/987682#M49422</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-11T06:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: CV for ridge regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/CV-for-ridge-regression/m-p/987649#M49420</link>
      <description>You could use RIDGE= option of PROC REG to perform ridge regression, check Rick's blog:&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2013/03/20/compute-ridge-regression.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2013/03/20/compute-ridge-regression.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;About CV you could write your own code , check my code:&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Data-Science/10-fold-corss-validation/m-p/366193" target="_blank"&gt;https://communities.sas.com/t5/SAS-Data-Science/10-fold-corss-validation/m-p/366193&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-do-k-fold-CV-with-replacements-replication/m-p/303938" target="_blank"&gt;https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/How-to-do-k-fold-CV-with-replacements-replication/m-p/303938&lt;/A&gt;</description>
      <pubDate>Sun, 10 May 2026 02:16:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/CV-for-ridge-regression/m-p/987649#M49420</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-10T02:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do organize he data to use ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-organize-he-data-to-use-ANOVA/m-p/987640#M49418</link>
      <description>Post some your sample data to better explain your question.&lt;BR /&gt;ANOVA is only for continuous/consequence variable, for ordinary check WILCOXON test which is non-parameter version of ANOVA (proc npar1way + wilcoxon  option).</description>
      <pubDate>Sat, 09 May 2026 06:07:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-organize-he-data-to-use-ANOVA/m-p/987640#M49418</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-09T06:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cross-validation for 10 groups</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cross-validation-for-10-groups/m-p/987125#M49402</link>
      <description>&lt;P&gt;I think "cv=split(10)" is good enough.&lt;/P&gt;
&lt;P&gt;and I quoted:&lt;/P&gt;
&lt;PRE&gt;CV=TESTSET(SAS-data-set)
specifies a test set of observations to be used for validation (formally, &lt;STRONG&gt;this is called “test set validation”&lt;/STRONG&gt;
&lt;STRONG&gt;rather than “cross validation”&lt;/STRONG&gt;).&lt;/PRE&gt;
&lt;P&gt;or using "CV=ONE" or "CV=BLOCK(10)"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2026 01:40:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cross-validation-for-10-groups/m-p/987125#M49402</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-04T01:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with proc format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-proc-format/m-p/987098#M380039</link>
      <description>Make two version of code, one for varieties (I49L and Hass)  , another for varieties (others), and make a macro to wrap them up .</description>
      <pubDate>Sat, 02 May 2026 03:02:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-proc-format/m-p/987098#M380039</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-02T03:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS fcopy failing to copy .xls file (creates corrupted 1KB file)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-fcopy-failing-to-copy-xls-file-creates-corrupted-1KB-file/m-p/987097#M380038</link>
      <description>&lt;P&gt;You also could try this code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;%let in1=H:\folder1\file1.xls;
%let ou1=H:\folder2\file1.xls;

data _null_;
rc=rename("&amp;amp;in1","&amp;amp;ou1",'file');
run;
&lt;/PRE&gt;</description>
      <pubDate>Sat, 02 May 2026 02:39:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-fcopy-failing-to-copy-xls-file-creates-corrupted-1KB-file/m-p/987097#M380038</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-02T02:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I delete observations with dates occurring within another date for the same ID?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-delete-observations-with-dates-occurring-within-another/m-p/987096#M380037</link>
      <description>&lt;P&gt;You want to keep the obs which have the same&amp;nbsp;&lt;STRONG&gt;AdmitDate&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data have;
infile cards truncover;
input ID	(AdmitDate	DischargeDate) (: mmddyy10.);
format AdmitDate	DischargeDate mmddyy10.;
cards;
&lt;STRONG&gt;1	1/1/2025	2/4/2025
1	1/1/2025	4/4/2025&lt;/STRONG&gt;
1	1/3/2025	1/3/2025
1	1/17/2025	1/17/2025
2	3/4/2025	3/4/2025
3	6/7/2025	6/9/2025
3	6/8/2025	6/8/2025
;
/*keep dates that are the same as the admit date*/
proc sql;
create table dup as
select * from have 
 group by id,AdmitDate
  having count(*)&amp;gt;1;
quit;


data temp;
 set have;
 do date=AdmitDate	to DischargeDate;
  output;
 end;
 keep id date;
 format date mmddyy10.;
run;
proc sort data=temp nodupkey;
by id date;
run;
data temp2;
 set temp;
 by id;
 if first.id or dif(date) ne 1 then group+1;
run;
proc summary data=temp2;
by id group;
var date;
output out=temp3(drop=_: group) min=AdmitDate max=DischargeDate ;
run;


/*combine them together*/
proc sql;
create table want as
select * from dup
union
select * from temp3;
quit;&lt;/PRE&gt;</description>
      <pubDate>Sat, 02 May 2026 01:57:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-delete-observations-with-dates-occurring-within-another/m-p/987096#M380037</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-02T01:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I delete observations with dates occurring within another date for the same ID?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-delete-observations-with-dates-occurring-within-another/m-p/987095#M380036</link>
      <description>Tom,&lt;BR /&gt;As I said , the most important thing I care about is readable for code, not length, not performance . not others ....&lt;BR /&gt;Unless the running time of code is WAY too much I can't accept, in that case I would consider about enhancing  the performance of code . &lt;BR /&gt;Your code is not easy to read than mine, don't you think so ?</description>
      <pubDate>Sat, 02 May 2026 01:39:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-delete-observations-with-dates-occurring-within-another/m-p/987095#M380036</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-02T01:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I delete observations with dates occurring within another date for the same ID?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-delete-observations-with-dates-occurring-within-another/m-p/987054#M380026</link>
      <description>&lt;P&gt;Tom,&lt;BR /&gt;I just want to keep my code simple and readable.&lt;BR /&gt;I really don't care about the code is long or short . &lt;BR /&gt;I think the short code would bring side effect . The readable code is the most important thing.&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2026 13:21:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-delete-observations-with-dates-occurring-within-another/m-p/987054#M380026</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-01T13:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I delete observations with dates occurring within another date for the same ID?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-delete-observations-with-dates-occurring-within-another/m-p/987047#M380023</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile cards truncover;
input ID	(AdmitDate	DischargeDate) (: mmddyy10.);
format AdmitDate	DischargeDate mmddyy10.;
cards;
1	1/1/2025	2/4/2025
1	1/3/2025	1/3/2025
1	1/17/2025	1/17/2025
2	3/4/2025	3/4/2025
3	6/7/2025	6/9/2025
3	6/8/2025	6/8/2025
;

data temp;
 set have;
 do date=AdmitDate	to DischargeDate;
  output;
 end;
 keep id date;
 format date mmddyy10.;
run;
proc sort data=temp nodupkey;
by id date;
run;
data temp2;
 set temp;
 by id;
 if first.id or dif(date) ne 1 then group+1;
run;
proc summary data=temp2;
by id group;
var date;
output out=want(drop=_: group) min=AdmitDate max=DischargeDate ;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 May 2026 02:05:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-delete-observations-with-dates-occurring-within-another/m-p/987047#M380023</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-05-01T02:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot "A" outside of the plotting area in base graphics?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-quot-A-quot-outside-of-the-plotting-area-in-base/m-p/986871#M25899</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*****************************/
%let label1=A(*ESC*){sup 'mw -1'}  ;
data _anno;
length label $ 200;
 drawspace="graphpercent"; function="text"; textweight="normal"; textsize=12;textcolor="black"; width=200;
 x1=5; y1=95;label="&amp;amp;label1."; output;
 run;
proc sgplot data=sashelp.class sganno=_anno;   
scatter x=weight y=height;   
xaxis label=' ';
yaxis label=' ';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1777359202764.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/114486i9961B1FE3F19AF1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1777359202764.png" alt="Ksharp_0-1777359202764.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2026 06:53:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-quot-A-quot-outside-of-the-plotting-area-in-base/m-p/986871#M25899</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-04-28T06:53:40Z</dc:date>
    </item>
  </channel>
</rss>

