Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: AW: RE: Scatter connection


From   Nick Cox <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: AW: RE: Scatter connection
Date   Tue, 22 Feb 2011 17:39:50 +0000

I think most solutions depend on a previous -reshape-: 

reshape wide Ans, i(Subject) j(Quest) string

Then see -pairplot- (SSC) and 

SJ-4-3  gr0005  . . . . .  Speaking Stata: Graphing agreement and disagreement
        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  N. J. Cox
        Q3/04   SJ 4(3):329--349                                 (no commands)
        how to select the right graph to portray comparison or
        assessment of agreement or disagreement between data
        measured on identical scales

or 

SJ-9-4  gr0041  . . . . . . Speaking Stata: Paired, parallel, or profile plots
        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  N. J. Cox
        Q4/09   SJ 9(4):621--639                                 (no commands)
        explores paired, parallel, and profile plot making for
        changes, correlations, and other comparisons between
        variables

Nick 
[email protected] 

Rilke Rainer Michael

Thank you for your reply. 

One example:

Subject	Quest Answer
1		A	40
1		B	78
2		A	20
2		B	20
...

I now want to create a scatter plot with Quest on the X-Axis and the answer on the Y-Axis. That is what I have done so far. Basically the X-Axis consists only of two Values (A, B). In addition to that I want to connect the dots of ONE individual.

R.

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Nick Cox
Gesendet: Dienstag, 22. Februar 2011 18:27
An: [email protected]
Betreff: st: RE: Scatter connection

I am not clear how what you seek differs from a straightforward scatter plot? On that each individual is one dot. 

It would help to see the structure of your data. 

Nick 
[email protected] 

Rilke Rainer Michael

I have the following data from a questionnaire. A subject has answered
to two different question. The answer to both questions could range from
0 to 100. I want to draw a scatter plot with points for every individual
to both question. This is what I have. Now I want to connect the dots
which correspond to one individual to follow the individual between both
questions.


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index