IBM Support

PI69984: ON PANELED SCATTERPLOTS THE REGRESSION FIT LINE LABEL IS THE SAME FOR ALL SECTIONS OF THE CHART, BUT EXPECTED TO BE DIFFERENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You work with IBM SPSS Statistics 24 FP1 or earlier versions.
    You create 2 panel Scatterplots with either GRAPH or with GGRAPH
    command as on example syntax below:
    
    GRAPH
      /SCATTERPLOT(BIVAR)=v1 WITH v2
     /Panel COLVAR=year COLOP=CROSS
      /MISSING=LISTWISE .
    
    
    GGRAPH
      /GRAPHDATASET NAME="graphdataset" VARIABLES=v1 v2
    year[LEVEL=NOMINAL]
        MISSING=LISTWISE REPORTMISSING=NO
      /GRAPHSPEC SOURCE=INLINE.
    BEGIN GPL
      SOURCE: s=userSource(id("graphdataset"))
      DATA:v1=col(source(s), name("v1"))
      DATA: v2=col(source(s), name("v2"))
      DATA: year=col(source(s), name("year"), unit.category())
      GUIDE: axis(dim(1), label(""))
      GUIDE: axis(dim(2), label(""))
      GUIDE: axis(dim(3), label("year"), opposite())
      ELEMENT: point(position(v1*v2*year))
    END GPL.
    
    On output Viewer you get 2 panel charts with 4 sections (as the
    panel variable year has 4 years as dara values)
    You double click on the first chart, select the dot cloud and
    click on icon 'Add fit Line at Total'
    Do the same for the second chart.
    
    You see the labels for all 4 parts of the chart having the same
    label for the regression fit line for each year 2002, 2003,
    2004, 2005. The regression equation shows the same for all
    panels:
    GRAPH: y=0.19 + 0.86*x
    GGRAPH: y=0.16 + 0.85*x
    
    However, you expect as R² is different for each panel also the
    fit line regression label should show a different equation for
    each year. You would like to have Regression line labels
    different for each year of the paneled chart.
    

Local fix

  • This is currently functioning as designed.
    The labels on fitlines are implemented by calling the Viz code
    to return the equation for the fitline, then adding an invisible
    reference line by equation, and adding this label to the
    invisible line.  This reference line and label is repeated
    identically for all panels.
    
    Viz code has no method currently to query the fitline equation
    for each panel. This issue is investigated by develoment to see
    if there is a code possibility to have another method used on
    Viz code or to disable the "add label" checkbox for paneled
    charts in a future release.
    As a workaround just disable the box 'Attach label to line' on
    Properties dialog - Reference Line tab.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * see APAR text                                                *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * As mentioned on local fix section this is functioning  as    *
    * designed.                                                    *
    * With IBM SPSS Statistics 24 Fixpack 2 the ability to add     *
    * Total and Subgroup Fit Lines on paneled scatter plots has    *
    * been disabled at all.                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * As mentioned on local fix section this is functioning  as    *
    * designed.                                                    *
    * With IBM SPSS Statistics 24 Fixpack 2 the ability to add     *
    * Total and Subgroup Fit Lines on paneled scatter plots has    *
    * been disabled at all.                                        *
    ****************************************************************
    

Problem conclusion

  • As mentioned on local fix section this is functioning  as
    designed.
    With IBM SPSS Statistics 24 Fixpack 2 the ability to add Total
    and Subgroup Fit Lines on paneled scatter plots has been
    disabled at all.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI69984

  • Reported component name

    SPSS STATISTICS

  • Reported component ID

    5725A54ST

  • Reported release

    O00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-09-30

  • Closed date

    2017-05-10

  • Last modified date

    2017-05-10

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    SPSS STATISTICS

  • Fixed component ID

    5725A54ST

Applicable component levels

  • RO00 PSN

       UP

  • RO00 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCQ88K","label":"Statistics Desktop"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"O00","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
10 May 2017