- SAP Community
- Products and Technology
- Product Lifecycle Management
- PLM Q&A
- Problem on XY Regression Chart

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content

Problem on XY Regression Chart

Former Member

- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content

on 04-21-2008 10:56 AM

Hi All,

I created an XY Regression Chart which shows a straight line extrapolating the points plotted. Now for this line of type Y=mX + C, I want slope(m) and y-intercept(C) to be displayed on Applet. Does XY Regression Chart provide this facility.If so, could you please explain how to accomplish this?

Regards,

Ravi Kumar

- SAP Managed Tags:
- SAP Manufacturing Integration and Intelligence

Former Member

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Report Inappropriate Content

04-21-2008
2:53 PM

Hi All,

This is just an addition to above post. Does xMII used Method of Least Squares for Curve fitting the Regression straight line in XY graph. I had searched in xMII help file but did n't get any break through.

Any suggestions on above really appreciated.Thanks.

Regards,

Ravi kumar.

Former Member

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Report Inappropriate Content

04-21-2008
6:09 PM

Right Clicking on the chart and navigating to Data--->Statistics would give you some idea on the behaviour of the chart.

Other than that I am not sure how one can extract the calculated values and use them further.

For example the BL Services have actions defined for SPC Analysis which helps applications to further make use of the calculated values but I could not find anything similar for regression statistics.There definitely would exist (hidden)ways of accomplishing this.

As far as "Least Squares " is concerned , I would think because linear regression is based on this concept /rule, even MII would follow that.

Is there any other method, that you are aware of, that is used for linear regression?

Former Member

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Report Inappropriate Content

04-22-2008
1:16 PM

Former Member

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Report Inappropriate Content

04-22-2008
1:28 PM

Hi Rick,

Thanks for that info.

My query sometimes gives me null values but even then xy chart is getting developed which is OK as it is not showing the point on the plot.

But can you tell me how xMII does the slope and intercept calculation for plotting **if in case query output has null values.**

**Does xMII provide any method for getting slope and intercept of XY Chart?**

This is just to make sure that if in case we need to go for writing a procedure for slope and intercept calculation it is on par with xMII calculation.

Regards,

Ravi Kumar

Former Member

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Report Inappropriate Content

11-12-2009
9:27 PM

jcgood25

Active Contributor

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Report Inappropriate Content

11-12-2009
9:37 PM

The Data Statistics is really only relevant for a tag query. It will do a Tag Query Statistics query to an iChart image with MIN,MAX,TWA methods. This is the 'statistics' similar to 'current' that you can get from the iChart at runtime when viewing the typical Tag based line trend.

This is not the same as statistics will give you on an SPC Chart.

The XY Chart is what it is u2013 it either draws the regression line or not based upon the chart type, but the values or column of data is not accessible via script. The Linear Regression action inside BLS (misc. function category - http://help.sap.com/saphelp_xmii120/helpdata/en/45/a3cbb8c3b50cefe10000000a114a6b/frameset.htm) does give you access to the numbers for the line (adds a column called Predicted). It also gives you access to summary stat numbers for Intercept, Slope, R, and RSquared. This resultset could be charted as well because the output looks just like a tag query with a calculated column for the regression line.

Ask a Question

Related Content

- PPM report solution in Product Lifecycle Management Q&A
- The ABAP Detective Takes The Summer Heat in Product Lifecycle Management Blogs by Members
- SPC Chart Display In SAP ME Error: Missing Chart Template in Product Lifecycle Management Q&A
- Custom Horizontal Stacked Bar aligned with Table Data in Product Lifecycle Management Blogs by Members
- Indexing for table J_3ABSSI helped to improve /AFS/MD04 performance in Product Lifecycle Management Blogs by Members

Top Q&A Solution Author

User | Count |
---|---|

2 | |

2 | |

1 | |

1 | |

1 | |

1 | |

1 | |

1 |

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.