ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   One regression line (https://www.excelbanter.com/charts-charting-excel/73768-one-regression-line.html)

Prba

One regression line
 
Hi,
I have two series but I want one (common) regression line for both, not one
for each. Is that possible?

B. R.Ramachandran

One regression line
 
Hi,

In two helper columns, copy the x- and y- data of the first data-set; now
copy the second data-set and paste it below the first data-set in those
helper columns. Make an xy-scatter plot for the combined data (helper
columns) and obtain the trendline.

If you prefer to have the two sets plotted as separate series, maybe for
other purposes, format Series 1 (the combined series) with "None" for "Line"
and "None" for "Marker" (This action would hide the data-points in the
combined plot), and add two more series using the original data.

Regards,
B. R. Ramachandran

"Prba" wrote:

Hi,
I have two series but I want one (common) regression line for both, not one
for each. Is that possible?



All times are GMT +1. The time now is 03:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com