Conjoint Utility error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Conjoint Utility error

Janet Ohles
I am trying to save my dependent variables in conjoint to run a regression analysis later 
 
I have the syntax editor open with the following syntax which runs the conjoint successfully:
 
conjoint plan='k:\plancards.sav'
/data= 'k:\conjointthesis.sav'
/score=Med1 to Med27
/factors=cost(linear more) dosing (linear less) benefits (linear less) adverse (linear more).

 
I have the script editor open with the following:
 
Sub Main
/plan='k:\plancards.sav'
/data=*
/score=Med1 To Med27
/factors=cost(linear more) dosing (linear less) benefits (linear less) adverse (linear more)
/utility='k
End Sub

The top line in the script editor with the /plan is in red indicating that something is wrong.  Comparing it to example scripts, I am not seeing anything wrong/different in my syntax.
 
Could someone please tell me what I'm doing wrong.  Also, do I run the utility from the syntax or script editor?  Neither seem to work, but I'm assuming that's the red error.
 
This is my first conjoint analysis and, while interesting, it sure has its frustrations!
 
Many thanks
 
Janet


Bing brings you maps, menus, and reviews organized in one place. Try it now.
Reply | Threaded
Open this post in threaded view
|

Re: Conjoint Utility error

Art Kendall
As a beginner stick with the syntax.

click <help> <topics> <index> type CONJOINT in the edit box.

click <syntax chart>.

use the UTILITY option specifying SUBJECT. 

then use MATCH file to add the utilities to you main file.

Art Kendall
Social Research Consultants


Janet Ohles wrote:
I am trying to save my dependent variables in conjoint to run a regression analysis later 
 
I have the syntax editor open with the following syntax which runs the conjoint successfully:
 
conjoint plan='k:\plancards.sav'
/data= 'k:\conjointthesis.sav'
/score=Med1 to Med27
/factors=cost(linear more) dosing (linear less) benefits (linear less) adverse (linear more).

 
I have the script editor open with the following:
 
Sub Main
/plan='k:\plancards.sav'
/data=*
/score=Med1 To Med27
/factors=cost(linear more) dosing (linear less) benefits (linear less) adverse (linear more)
/utility='k
End Sub

The top line in the script editor with the /plan is in red indicating that something is wrong.  Comparing it to example scripts, I am not seeing anything wrong/different in my syntax.
 
Could someone please tell me what I'm doing wrong.  Also, do I run the utility from the syntax or script editor?  Neither seem to work, but I'm assuming that's the red error.
 
This is my first conjoint analysis and, while interesting, it sure has its frustrations!
 
Many thanks
 
Janet


Bing brings you maps, menus, and reviews organized in one place. Try it now.
===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
Art Kendall
Social Research Consultants