LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2010)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 23 Jul 2010 08:28:18 -0400
Reply-To:     Art@DrKendall.org
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Art Kendall <Art@DrKendall.org>
Organization: Social Research Consultants
Subject:      Re: Fw: R-matrix
Comments: To: jacqueline london <jackieblon@yahoo.com>
In-Reply-To:  <667007.22320.qm@web31005.mail.mud.yahoo.com>
Content-type: text/html; charset=ISO-8859-1

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> On the simplest scatterplots, cases would be exactly at the same point.&nbsp; See "jitter" in &lt;help&gt;. Jittering moves points out from behind one another.<br> <br> The syntax below simulates throwing 2 dice. (values are 1 to 6 rather than 1 to 5.)<br> A crosstab is analogous to a scatter plot except that the points are counts rather than simple elements.<br> Then there are 3 scatterplots of the same data with no jitter, and with 2 kinds of collision modifiers.<br> <br> <tt>* throw 2 dice.<br> SET SEED=20100723.<br> NEW FILE.<br> INPUT PROGRAM&nbsp; .<br> LOOP id=1 to 155.<br> COMPUTE die1=RND(RV.UNIFORM(.5,6.5)).<br> COMPUTE die2=RND(RV.UNIFORM(.5,6.5)).<br> END CASE.<br> END LOOP.<br> END FILE.<br> END INPUT PROGRAM.<br> FORMATS DIE1 DIE2 (F1).<br> VARIABLE LEVEL die1 die2 (nominal).<br> CROSSTAB TABLES= DIE1 BY DIE2 /CELLS=count.<br> CROSSTAB TABLES= DIE1 BY DIE2 /CELLS=ALL.<br> * scatterplot without jitter.<br> GGRAPH<br> &nbsp; /GRAPHDATASET NAME="graphdataset"<br> &nbsp;&nbsp;&nbsp; VARIABLES=die2[LEVEL=ratio] die1[LEVEL=ratio]<br> &nbsp;&nbsp;&nbsp; MISSING=LISTWISE REPORTMISSING=NO<br> &nbsp; /GRAPHSPEC SOURCE=VIZTEMPLATE(NAME="Scatterplot"[LOCATION=LOCAL]<br> &nbsp;&nbsp;&nbsp; MAPPING( "y"="die2"[DATASET="graphdataset"] "x"="die1"[DATASET="graphdataset"]))<br> &nbsp;&nbsp;&nbsp; VIZSTYLESHEET="Traditional"[LOCATION=LOCAL]<br> &nbsp;&nbsp;&nbsp; LABEL="Scatterplot: die1-die2"<br> &nbsp;&nbsp;&nbsp; DEFAULTTEMPLATE=NO.<br> *scatterplot with dodge.symmetric jitter.<br> * Chart Builder.<br> GGRAPH<br> &nbsp; /GRAPHDATASET NAME="graphdataset" VARIABLES=die1 die2 MISSING=LISTWISE REPORTMISSING=NO<br> &nbsp; /GRAPHSPEC SOURCE=INLINE.<br> BEGIN GPL<br> &nbsp; SOURCE: s=userSource(id("graphdataset"))<br> &nbsp; DATA: die1=col(source(s), name("die1"), unit.category())<br> &nbsp; DATA: die2=col(source(s), name("die2"), unit.category())<br> &nbsp; GUIDE: axis(dim(1), label("die1"))<br> &nbsp; GUIDE: axis(dim(2), label("die2"))<br> &nbsp; ELEMENT: point.dodge.symmetric(position(die1*die2))<br> END GPL.<br> *scatterplot with jitter.normal.<br> * Chart Builder.<br> GGRAPH<br> &nbsp; /GRAPHDATASET NAME="graphdataset" VARIABLES=die1 die2 MISSING=LISTWISE REPORTMISSING=NO<br> &nbsp; /GRAPHSPEC SOURCE=INLINE.<br> BEGIN GPL<br> &nbsp; SOURCE: s=userSource(id("graphdataset"))<br> &nbsp; DATA: die1=col(source(s), name("die1"), unit.category())<br> &nbsp; DATA: die2=col(source(s), name("die2"), unit.category())<br> &nbsp; GUIDE: axis(dim(1), label("die1"))<br> &nbsp; GUIDE: axis(dim(2), label("die2"))<br> &nbsp; ELEMENT: point.jitter.normal(position(die1*die2))<br> END GPL.<br> </tt><br> Art Kendall<br> Social Research Consultants<br> <br> <br> On 7/22/2010 11:49 PM, jacqueline london wrote: <blockquote cite="mid:667007.22320.qm@web31005.mail.mud.yahoo.com" type="cite"> <style type="text/css"><!-- DIV {margin:0px;} --></style> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">The range of values is 1 to 5 : <span style="font-style: italic;">strongly agree, agree, neutral, disagree and strongly disagree.</span> Yes I believe from 155 there would be a significant number of cases that would have a particular pair of values. Yes there were some points with no cases, but what puzzled me is that all had single plots, how come not even 1 had 2 plots. But I think I understand what you are saying with only 25 possible locations and the 2 items that I chose it is quite possible. I guess the simple scatterplot is just to give you an idea.&nbsp; I will try other pairs and see what happens. Thanks.<br> <div><br> </div> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"> <hr size="1"><b><span style="font-weight: bold;">From:</span></b> Art Kendall <a class="moz-txt-link-rfc2396E" href="mailto:Art@DrKendall.org">&lt;Art@DrKendall.org&gt;</a><br> <b><span style="font-weight: bold;">To:</span></b> jacqueline london <a class="moz-txt-link-rfc2396E" href="mailto:jackieblon@yahoo.com">&lt;jackieblon@yahoo.com&gt;</a><br> <b><span style="font-weight: bold;">Cc:</span></b> <a class="moz-txt-link-abbreviated" href="mailto:SPSSX-L@LISTSERV.UGA.EDU">SPSSX-L@LISTSERV.UGA.EDU</a><br> <b><span style="font-weight: bold;">Sent:</span></b> Thu, July 22, 2010 4:14:03 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [SPSSX-L] Fw: R-matrix<br> </font><br> <title></title> What is the range of legitimate values for the variables? Are there likely to be many cases that have a particular pair of values?<br> For example, if you have items that have a 1 to 5 response scale,&nbsp; the are only 25 possible locations in a scatterplot that cases can be located at. Also with 25 possible locations it is possible that some of the 25 possible locations have no cases.<br> <br> Please describe the variables more fully.<br> <br> Also some of the scatterplot graphics allow you to "Jitter".&nbsp; <br> &lt;help&gt; &lt;search&gt; "jitter"<br> <br> Art Kendall<br> Social Research Consultants<br> <br> <br> <br> On 7/21/2010 10:06 PM, jacqueline london wrote: <blockquote type="cite"> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div><br> </div> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma">----- <br> <b><span style="font-weight: bold;">Subject:</span></b> R-matrix<br> </font><br> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div>Hi all.<br> I would like to do factor analysis of a questionnaire that I have. I want to plot a scatterplot graph first to see how things are, before I do the matrix. There are 30 items in the questionnaire and I have 155 subjects. However I tried to plot a simple scatterplot using only the ist and 2nd items. I got a graph with only about 22 point with no clusters or even 2 point close. I do not know what to do. Shouldn't I see the correlation between item 1 and item 2 for all 155 participants? Would someone please help?<br> </div> </div> <br> </div> </div> </div> <br> </blockquote> </div> </div> </div> <br> </blockquote> </body> </html>

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (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


Back to: Top of message | Previous page | Main SPSSX-L page