lasso function in graph

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

lasso function in graph

Maguin, Eugene

I’d like some help with this. I ran a basic scatterplot graph (graph command, not GPL.), put in a fit line (be nice if this could be done as part of the syntax rather than editing the chart!). The plot has an outlier and it’d be nice to be able to remove that point and see the fit line recomputed. So, why not “lasso” the point and bulldog it out of the herd? But, lassoing the point doesn’t seem to do anything. I looked at Help “Lasso” but that doesn’t say anything about how the function is useful. Can lasso be used do what I want, i.e., to ‘x’-out that point and recompute the fit line. Or, is there a chart-context command that can do that?

 

Thanks, Gene Maguin

===================== 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
Reply | Threaded
Open this post in threaded view
|

Re: lasso function in graph

Jon K Peck
Open the CE palettes.  Circle the point and apply properties as desired.  But erasing outliers might not be a good idea.


Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
phone: 720-342-5621




From:        "Maguin, Eugene" <[hidden email]>
To:        [hidden email]
Date:        02/27/2015 12:53 PM
Subject:        [SPSSX-L] lasso function in graph
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




I’d like some help with this. I ran a basic scatterplot graph (graph command, not GPL.), put in a fit line (be nice if this could be done as part of the syntax rather than editing the chart!). The plot has an outlier and it’d be nice to be able to remove that point and see the fit line recomputed. So, why not “lasso” the point and bulldog it out of the herd? But, lassoing the point doesn’t seem to do anything. I looked at Help “Lasso” but that doesn’t say anything about how the function is useful. Can lasso be used do what I want, i.e., to ‘x’-out that point and recompute the fit line. Or, is there a chart-context command that can do that?
 
Thanks, Gene Maguin

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

===================== 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

Reply | Threaded
Open this post in threaded view
|

Re: lasso function in graph

David Marso
Administrator
In reply to this post by Maguin, Eugene
Use weighting?

DATA LIST FREE / x y wt.
BEGIN DATA
1 1 1  2 2 1  3 3 1  4 4 1  5 5 1  6 6 1  7 7 1  8 8 1  9 9 1  10 50 .000000001
END DATA.

GRAPH  /SCATTERPLOT(BIVAR)=x WITH y  /MISSING=LISTWISE.
WEIGHT BY wt.
GRAPH  /SCATTERPLOT(BIVAR)=x WITH y  /MISSING=LISTWISE.

Maguin, Eugene wrote
I'd like some help with this. I ran a basic scatterplot graph (graph command, not GPL.), put in a fit line (be nice if this could be done as part of the syntax rather than editing the chart!). The plot has an outlier and it'd be nice to be able to remove that point and see the fit line recomputed. So, why not "lasso" the point and bulldog it out of the herd? But, lassoing the point doesn't seem to do anything. I looked at Help "Lasso" but that doesn't say anything about how the function is useful. Can lasso be used do what I want, i.e., to 'x'-out that point and recompute the fit line. Or, is there a chart-context command that can do that?

Thanks, Gene Maguin

=====================
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
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"