BookmarkSubscribeRSS Feed
chrisronaldo
Calcite | Level 5

Hi

I would like to plot the selected variable in my regression model   in their importance with their coefficient. To be clear check the picture abowe to see what I mean.Can sommeone please help me  by writing the code . Thanx

 

 

 

 

Variable_order.png

4 REPLIES 4
Reeza
Super User

@chrisronaldo wrote:

Hi

I would like to plot the selected variable in my regression model   in their importance with their coefficient. To be clear check the picture abowe to see what I mean.Can sommeone please help me  by writing the code . Thanx

 

Welcome to the SAS forums. 

Writing code isn't help, it's doing your work/homework. 

If you need assistance we're happy to help however. 

 

Please post more details, specifically, what procedure are you using for your regression, and is that the VIF values you're plotting, the ParameterEstimates, the P-Values?  Standardized Estimate is unclear. Have you checked the plots produced by default by the PROC you're using as well? A lot of procedures have default diagnostic plots that are quite useful. 

 

Since this is a graphing question, I'll move this to the graphing forum, but you should also specify your SAS version, since the options for graphing have changed a lot between the versions. 

 

 

chrisronaldo
Calcite | Level 5

Hi Reeza,

Thank you for Help in advance.I just take the picture sommewhere and I would like to Plot the same for the selected varaible in my regression model.The software is SAS  EG  7.1  oder  SAS 9.4  for the programming.

 

I Think the VIF option in SGPLOT  have been used to generate the graphic. but I don't know how to  do it . I just guess that the standardized estimate coefficients are ploting  in their importance rank and the colors are for the signs. the blue for the positif coefficients and the red for the negative's one .Abowe are the variable use in the model.

 

 

pax_totalonboard*price_pax_weighted2015Anzahl*price_mov_yearAnzahl*price_noi_yearAnzahlpax_totalonboardschall_grpk_dowk_monthk_seasoncode
251615,9294228661,1746640,556426127660381031W
285723,9498220776,3065618,468273123268566071W
277785,5529232424,4071651,098499129766661051W
250103,2585230632,3916646,078464128760018031W
230301,0211210741,0199590,356079117655266061W
258024,9869226510,756634,532384126461919041W
256895,6926222926,7251624,492315124461648011W
255191,3334227406,7638637,042402126961239031W
231651,1736224539,539629,010346125355590011W
274160,1433225435,5468631,520364125865791071W
235672,4613225256,3452631,01836125756555031W
226417,2489226689,9576635,034388126554334021W
277802,2214198734,5162556,721847110966665021W
249861,5645226869,1591635,536391126659960041W
240685,5277223643,5313626,500329124857758071W
241543,9581213429,0431597,886131119157964061W
266550,9502208590,6013584,332038116463965061W
250174,0998224001,9344627,504336125060035021W
244019,2377224001,9344627,504336125058558021W
267413,5477203035,3533568,76993113364172031W
213553,2955193358,4698541,661743107951247041W
268709,5274223464,3297625,998325124764483071W
271914,0562228481,9731640,054423127565252051W
279310,7252232603,6087651,600502129867027051W
248382,2307203393,7564569,773937113559605041W
259858,5274224718,7406629,51235125462359011W
228959,2028221313,9112619,974284123554944021W
196584,7116156801,3541439,25303587547175011W
264154,8461212712,2369595,878117118763390051W

 

 

Reeza
Super User

I don't think SGPLOT has a VIF option - that's for regression procedures. I didn't see answers to the relevant questions:

 

1. What procedure are you using for your regression?

2. Is that the VIF values you're plotting, the ParameterEstimates, or the P-Values?

 

 

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1298 views
  • 0 likes
  • 2 in conversation