[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Which regression is more accurate

Posted on 2014-08-10
Medium Priority
Last Modified: 2014-08-11
Hi experts,

Please take a look at the attached Excel worksheet.

The two data sets and accompanying graphs represent the same findings. The y values are encoded as yes/No (1/0) in the first data set and as observed probability in the second data set.

The Intercept and slope is displayed on each graph and you will notice they are different.

Why are they different and what graph is the more accurate?


Question by:DColin
  • 2
LVL 27

Accepted Solution

d-glitch earned 2000 total points
ID: 40252059
I think the first case is more accurate.  
The number of observations goes up as the index goes from 28 to 33.

The first plot captures this correctly.
In the second plot, averaging the results for each index value, gives the 28 point the same weight as the 33 point even though there is less data.

The different weighting is also why the plots are different.
LVL 27

Expert Comment

ID: 40252065
If you weight each probability by the number of data points it represents, the graphs should be the same.

But averaging the data and adjusting the weights would actually be the wrong
thing to do since it masks the significant scatter in the measurements.

The correlation coefficient (goodness of fit) in the averaging case will be unjustifiably high.

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question