简体   繁体   中英

regression using Data Analysis toolpack throwing up errors [Excel]

I have a table as follows. I'm trying to use the regression feature to get an equation for the data. 我的桌子

Here are my inputs for the regression:

我的输入

But I get the following error when hitting OK:

我的错误

Can anyone help me figure out what I'm doing wrong please?

This is just speculation, but I'm wondering if the error message is misleading? If I try this in Excel 365 I get the following:

在此处输入图像描述

Therefore I try extending the number of rows by 1:

在此处输入图像描述

and get a result, although some stats are missing:

在此处输入图像描述

If I add another row of data, I get all the stats.

So I suggest increasing the number of rows in your data and seeing if it makes any difference.

Can you try updating the Input X any Y ranges? Try following:

Input Y Range: $B$2:$B$4

Input X Range: $C$2:$E$4

As per your screen grab current range includes the column header which is a string and might be the reason for error.

First of all sample set remains too low. So, the reliability of the analysis will be questionable. And that way you are getting error for value.

Your other problem is row and column value is same row must be greater than column.

And you can execute this analysis in SPSS or another program. I'm saying again your data isn't enough for this analysis.

BEST REGARDS...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM