BookmarkSubscribeRSS Feed
Lauban
Fluorite | Level 6

 Sorry guys,  I am a beginner.

I would like perform a Linear regression with PROC GLM but cannot find out how to find confidence intervals to the parameter estimate. Similar to this https://communities.sas.com/t5/SAS-Statistical-Procedures/How-to-obtain-Confidence-Intervals-for-ind...   but I don't know where to put CLPARM.  Thanks so much in advance

 

This is my code: 

 

proc glmselect data=CORRECT.BASELINE outdesign(addinputvars)=Work.reg_design;
class Ethnicity / param=glm;
model VAT_Difference_Perc_Initial=Ethnicity /showpvalues selection=none;
run;

proc reg data=Work.reg_design alpha=0.05 plots(only)=(diagnostics residuals
observedbypredicted);
where Ethnicity is not missing;
ods select DiagnosticsPanel ResidualPlot ObservedByPredicted;
model VAT_Difference_Perc_Initial=&_GLSMOD /clb ;
run;
quit;

proc delete data=Work.reg_design;
run;

3 REPLIES 3
PaigeMiller
Diamond | Level 26

So your title says PROC GLM, but your code doesn't use PROC GLM?

 

Nevertheless, if you would simply go to SAS HELP, or Google, and search for CLPARM, you would find it. It is an option of the PROC GLM MODEL statement

http://documentation.sas.com/?cdcId=statcdc&cdcVersion=14.2&docsetId=statug&docsetTarget=statug_glm_...

--
Paige Miller
Lauban
Fluorite | Level 6

Sorry about that!  

Paige1
Fluorite | Level 6

proc glm data=......;

model target=predictor predictor predictor CLPARM;

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
  • 3 replies
  • 16621 views
  • 1 like
  • 3 in conversation