BookmarkSubscribeRSS Feed
Khalidjoya
Calcite | Level 5

I am doing a research on the title of "Demand for Food Safety attributes for Vegetables" using a discrete choice experiment and conditional logit regression in SAS.

one objective of my study is to identify factors affecting the demand for food safety attributes and these factors are socio-demographic factors. my question is how can I analyse data through SAS (which Proc or code)?

I want to analyse the interaction effects of socio-demographic factors on demand! 

6 REPLIES 6
Cynthia_sas
SAS Super FREQ
Hi:
This may be useful: http://support.sas.com/kb/22/598.html

Cynthia
Reeza
Super User

FYI - I've updated the subject line since 'need help' is not descriptive enough. 

 

For Logit regression with multinomial you can use PROC LOGISTIC. 

If you need conditional logistic regression you can use PROC PHREG. 

 

For looking at choices you can also consider Discriminate modelling

https://documentation.sas.com/?docsetId=statug&docsetTarget=statug_introdisc_sect001.htm&docsetVersi...

 

For categorial data analysis

https://documentation.sas.com/?docsetId=statug&docsetTarget=statug_introcat_sect001.htm&docsetVersio...

 

BCHOICE procedure is also another option

https://documentation.sas.com/?docsetId=statug&docsetVersion=15.1&docsetTarget=statug_bchoice_overvi...

 

The stat's proc are well documented and have examples in the example section of each procedure. 

 

The Introduction Section is an overview of different analysis options and illustrate which procs can be used for each set of problems. 

Then you can look at each specific proc and see the examples. This is a good starting page:

https://documentation.sas.com/?docsetId=statug&docsetTarget=titlepage.htm&docsetVersion=15.1&locale=...

 


@Khalidjoya wrote:

I am doing a research on the title of "Demand for Food Safety attributes for Vegetables" using a discrete choice experiment and conditional logit regression in SAS.

one objective of my study is to identify factors affecting the demand for food safety attributes and these factors are socio-demographic factors. my question is how can I analyse data through SAS (which Proc or code)?

I want to analyse the interaction effects of socio-demographic factors on demand! 


 

Khalidjoya
Calcite | Level 5
thanks for your help but I need to identify the effects of
socio-demographic factors on choices and I do not know how to do that with
SAS.
could you please help me
Reeza
Super User

Did you decide which statistical model you're using? And if so, did you determine which SAS procedure you're using? Once you have that you can check on the documentation for fully worked examples. 

 

You can start with PROC PHREG I suppose which has a conditional logistic regression. 

 


@Khalidjoya wrote:
thanks for your help but I need to identify the effects of
socio-demographic factors on choices and I do not know how to do that with
SAS.
could you please help me

 

Khalidjoya
Calcite | Level 5
Really I want to know how can I use the interactions terms
(socio-demographic factors with attributes of the alternativesl)
conditional logit using SAS.
Could you please help me.
Ksharp
Super User

Two options:

1) proc logistic + strata statement

2) proc glimmix + random statement

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1027 views
  • 0 likes
  • 4 in conversation