08-03-2018
darb
Calcite | Level 5
Member since
06-26-2017
- 20 Posts
- 0 Likes Given
- 0 Solutions
- 0 Likes Received
-
Latest posts by darb
Subject Views Posted 1314 07-24-2018 10:48 AM 670 06-27-2018 01:23 PM 1824 04-18-2018 09:50 AM 20076 04-18-2018 09:27 AM 20081 04-18-2018 09:22 AM 20092 04-18-2018 09:17 AM 20094 04-18-2018 09:10 AM 20096 04-18-2018 09:05 AM 20101 04-18-2018 09:00 AM 20114 04-18-2018 08:44 AM -
Activity Feed for darb
- Posted Proc Genmod on Statistical Procedures. 07-24-2018 10:48 AM
- Posted Cubic Spline on SAS Programming. 06-27-2018 01:23 PM
- Posted Re: Convert Program to TXT file on SAS Programming. 04-18-2018 09:50 AM
- Posted Re: Convert Program to TXT file on SAS Programming. 04-18-2018 09:27 AM
- Posted Re: Convert Program to TXT file on SAS Programming. 04-18-2018 09:22 AM
- Posted Re: Convert Program to TXT file on SAS Programming. 04-18-2018 09:17 AM
- Posted Re: Convert Program to TXT file on SAS Programming. 04-18-2018 09:10 AM
- Posted Re: Convert Program to TXT file on SAS Programming. 04-18-2018 09:05 AM
- Posted Re: Convert Program to TXT file on SAS Programming. 04-18-2018 09:00 AM
- Posted Convert Program to TXT file on SAS Programming. 04-18-2018 08:44 AM
- Posted Re: Kappa coefficient on SAS Procedures. 02-01-2018 01:36 PM
- Posted Kappa coefficient on SAS Procedures. 02-01-2018 12:33 PM
- Posted 1-sided CMH on Statistical Procedures. 07-12-2017 11:11 AM
- Posted Re: flagging previous events on SAS Programming. 06-26-2017 03:10 PM
- Posted Re: flagging previous events on SAS Programming. 06-26-2017 12:35 PM
- Posted Re: flagging previous events on SAS Programming. 06-26-2017 12:28 PM
- Posted Re: flagging previous events on SAS Programming. 06-26-2017 12:20 PM
- Posted Re: flagging previous events on SAS Programming. 06-26-2017 12:16 PM
- Posted Re: flagging previous events on SAS Programming. 06-26-2017 12:14 PM
- Posted flagging previous events on SAS Programming. 06-26-2017 11:29 AM
07-24-2018
10:48 AM
Hi all, I am trying to understand why in the example for GEE (page 3) the Type 1 option is being used rather than the Type 3 option. https://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_genmod_sect064.htm Also it seems to contradict with what is described here: https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_genmod_sect034.htm Which says "This type of analysis is not available for GEE models, since the deviance is not computed for this type of model." Thanks, Doug
... View more
06-27-2018
01:23 PM
Hi All, So I have data as follows: Time = X Result = Y Time (Months) Result 0 7.17 3 5.98 6 7.31 12 73.87 18 80.92 30 39.11 36 37.93 42 33.3 48 35.2 78 33.26 I need to fit a cubic spline to the data, and then find Y-values for 8 equal time points between 19.2 and 44.4 months. And then do a regression on those 8 data points to find a slope. I have been playing around with proc glmselect, and I get 5 knots and their parameters...but I can't seem to apply the equation correctly after the first knot, I am not sure how to get SAS to show me the other parts of the predictive equation (i.e. the second intercept) This is how far I got: ods select ANOVA ParameterEstimates SplineKnots TPFSplineDeatils; ods output ParameterEstimates=param SplineKnots=spline ; proc glmselect data=patient1; effect spl = spline( time/ details naturalcubic basis=tpf(noint) knotmethod=percentiles(5) ); model result = spl / selection=none ; /* fit model by using spline effects */ output out=SplineOut predicted=fit ; /* output predicted values for graphing */ quit;
... View more
04-18-2018
09:50 AM
Well I don't know how many drug submissions you have partook in, but for every single one I have been a part of, the FDA has specifically requested from us .TXT files. And this has been consistent for me across multiple companies. So it would be appreciated if rather questioning the reason I need help, to just providing the help needed. Thanks.
... View more
04-18-2018
09:22 AM
Ok. I have several hundred SAS programs with .SAS extensions. The FDA requires for submissions that SAS program files be submitted with .TXT extensions. So I am looking for a more efficient way to convert all of the .SAS programs in Folder A to .TXT programs in Folder B.
... View more
04-18-2018
09:17 AM
Oh crap - I thought what I was looking at was someone trying to do the same. I now realize they were converting datasets. Womp. Ok thank you. So I should use command to copy from .sas to .txt?
... View more
04-18-2018
09:10 AM
I am trying to do something like this - but the below code won't work: libname rna "C:\data"; %macro export_data (file=); proc export data=rna.&file. outfile="C:\data.&file..txt" dbms= tab replace; run; %mend export_data; %export_data (file= t-14-1-1a-ds);
... View more
04-18-2018
09:00 AM
I have hundreds of programs - and the only way I knew how to do it was to open each one and do SAVE AS. I am not really following the code you provided - if you could provide example paths that'd be helpful...thanks!
... View more
04-18-2018
08:44 AM
Does anyone have code that can pull in a bunch of SAS programs from location A and output them as .txt files in location B? Would save hours of work. Thanks!
... View more
02-01-2018
01:36 PM
I can print the weights Sas is using: ods html; proc freq data = test5 ; table xrorres1*bestresp1/agree printkwts ; test kappa; weight count; run; ods html close; Data looks like this: xrorres1 bestresp1 count CR CR 5 CR CRi 3 CR CRc 2 CR PR 0 CR SD 0 CRi PD 0 etc etc etc
... View more
02-01-2018
12:33 PM
So currently I am assessing agreement between two evaluators. They are assessing disease response and the table would like below: Evaluater 2 CR CRc CRi PR SD PD Evaluater 1 CR CRc CRi PR SD PD To calculate a weighted Kappa is assigned an Ordinal value to each response: 1, 2, 3, 4, 5, 6. Which sas that uses the following weights as default: 1.00, 0.8, 0.6, 0.4, 0.2. However, I would really like for CRc and CRi to have the same weights for distance from CR. Does anyone know how I should reorder the ordinal values if even possible, my issue is that they can't have the same ordinal value --- is the only way to combine CRc & CRi? I don't know if that would be clinically meaningful.
... View more
07-12-2017
11:11 AM
Looking for general information about 1-sided CMH tests. Also if anyone has any code with regards to this test that would be helpful. can use variables strata*treatment*outcome.
... View more
06-26-2017
12:35 PM
that worked as well, just my only problem is that sometimes there are multiple projects on the same date with no prior projects (so it logs the first date as N, but then the next ones on the same date as Y, when in fact they should all be N
... View more