BookmarkSubscribeRSS Feed
TomHsiung
Quartz | Level 8

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

6 REPLIES 6
Reeza
Super User

 

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

ballardw
Super User

@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.

TomHsiung
Quartz | Level 8
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.

Reeza
Super User

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.


 

TomHsiung
Quartz | Level 8

I think I need some basic study for SAS programing. I get to read some texts. Thank you.

 

Tom

sas-innovate-2024.png

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.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 6 replies
  • 1179 views
  • 0 likes
  • 3 in conversation