Hello,
I need to do some regression, including multiple linear regression, logistic regression, and Cox-proportional regression. The post estimation confidence intervals of conditional mean and prediction intervals of the response are of interest. I am new to SAS and I use the University Edition. I just don't if I could get these output.
PS: Seems that the University Edition could not do survival analysis.
Tom
Seems that the University Edition could not do survival analysis
or
It seems that the University Edition cannot do survival analysis.
No and No.
Copy and paste this code into SAS UE to see an example of Survival Analysis.
http://documentation.sas.com/api/docsets/statug/14.3/content/statug_code_phrex1.htm?locale=en
@TomHsiung wrote:
Hello,
I need to do some regression, including multiple linear regression, logistic regression, and Cox-proportional regression. The post estimation confidence intervals of conditional mean and prediction intervals of the response are of interest. I am new to SAS and I use the University Edition. I just don't if I could get these output.
PS: Seems that the University Edition could not do survival analysis.
Tom
The procedures LIFEREG LIFETEST ICLIFETEST QUANTLIF PHREG and SURVEYPHREG should be available and are the survival regression procedures.
It will help to show the code you are using and at least a description of the specific output you need for each that you are not currently getting and whether you need the results in a data set or only the results window.
You can use OUTPUT or ODS OUTPUT to capture statistics for each procedure.
https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
72
73 PROCEDURE PHREG DATA = work.d201
74 MODEl Time_to_first_therapeutic_INR__d*First_therapeutic_INR_reached_(0)=gender ;;
_____
22
76
ERROR 22-322: Syntax error, expecting one of the following: ;, (, ALPHA, ATRISK, BRIEF, BRIEFSUMMARY, CONCORDANCE, COVM, COVOUT,
COVS, DATA, DETAILS, EV, EXPLVAR, FAST, IN, INEST, MULTIPASS, NAMELEN, NOPRINT, NOSUMMARY, OUT, OUTEST, PLOT, PLOTS,
PRINT, ROCOPTIONS, SIMPLE, SUREV, TAU, TRACE, ZPH.
ERROR 76-322: Syntax error, statement will be ignored.
75 run;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE PHREG used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
76
77 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
90
Just always got this error, I don't know what was wrong.
It’s PROC PHREG and in general PROC not PROedure
@TomHsiung wrote:
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; 72 73 PROCEDURE PHREG DATA = work.d201 74 MODEl Time_to_first_therapeutic_INR__d*First_therapeutic_INR_reached_(0)=gender ;; _____ 22 76 ERROR 22-322: Syntax error, expecting one of the following: ;, (, ALPHA, ATRISK, BRIEF, BRIEFSUMMARY, CONCORDANCE, COVM, COVOUT, COVS, DATA, DETAILS, EV, EXPLVAR, FAST, IN, INEST, MULTIPASS, NAMELEN, NOPRINT, NOSUMMARY, OUT, OUTEST, PLOT, PLOTS, PRINT, ROCOPTIONS, SIMPLE, SUREV, TAU, TRACE, ZPH. ERROR 76-322: Syntax error, statement will be ignored. 75 run; NOTE: The SAS System stopped processing this step because of errors. NOTE: PROCEDURE PHREG used (Total process time): real time 0.00 seconds cpu time 0.00 seconds 76 77 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; 90
Just always got this error, I don't know what was wrong.
I think I need some basic study for SAS programing. I get to read some texts. Thank you.
Tom
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.