Высшая линия тренда

4270
Adam_G

Мои данные в нескольких измерениях, как показано ниже. Вместо трендовой линии, я думаю, мне нужен трендовый самолет . Возможно ли это в Excel или аналогичном инструменте? Высшая линия тренда

1

3 ответа на вопрос

1
Engineer Toast

I don't know if you can do a best fit based on 3D data but you can do a best fit based on each series and then create a 3D surface based on that. Is it acceptable to have it be in a different chart? Smashing a surface on top of an already busy 3D chart would probably be bad UI anyway. First, here's what my final sheet looks like:

Screenshot 1

I used a 3rd degree polynomial fit such that the surface would be of the form y = ax^3 + bx^2 + cx + d. Based on your data, you may want more or less but you can adapt this proof-of-concept to fit your need. Here's the formulas for the cells L2:L6:

=INDEX(LINEST(B$2:B$9,$A$2:$A$9^,1,0),1) =INDEX(LINEST(B$2:B$9,$A$2:$A$9^,1,0),2) =INDEX(LINEST(B$2:B$9,$A$2:$A$9^,1,0),3) =INDEX(LINEST(B$2:B$9,$A$2:$A$9^,1,0),4) =INDEX(LINEST(B$2:B$9,$A$2:$A$9^,1,1),3,1) 

If you wanted a second degree polynomial, the array would be and the row_num parameter for the INDEX function would only go up to 3. These formulas need to be dragged out to the right so that you get a fit for each series. Finally, you can create a second table that calculates this best fit for each point. The formula for cell V2 is:

=L$2*$U2^3+L$3*$U2^2+L$4*$U2+L$5 

... and that gets dragged down and over. Create a 3D surface chart based on that data and you're done.

Интересно. Но это не дает мне двухмерную линию тренда / тренда, не так ли? Adam_G 9 лет назад 0
Он дает вам двухмерную линию тренда для каждой серии, а затем вы представляете эту группу линий тренда как поверхность. Это не идеально, но я не знаю простого способа в Excel, чтобы рассчитать точку наилучшего соответствия на основе точек вокруг нее в трехмерном пространстве, а не только в серии. Engineer Toast 9 лет назад 1
1
Dan

Excel не имеет возможности 3D-подгонки. Но XLSurfFit, стороннее дополнение Excel, может сделать это довольно легко: http://3dexcel.com/excel-3d-surface-equation-fittinng/

0
DavidPostill

Source Change the display of a 3-D chart

Create a 3-D chart

  • On the worksheet, select the cells that contain the data that you want to use for the chart.

  • On the Insert tab, in the Charts group, do one of the following:

    • To create a 3-D column chart, click Column, and then under 3-D Column, click 3-D Column.

    • To create a 3-D cylinder chart, click Column, and then under Cylinder, click 3-D Cylinder.

    • To create a 3-D cone chart, click Column, and then under Cone, click 3-D Cone.

    • To create a 3-D pyramid chart, click Column, and then under Pyramid, click 3-D Pyramid.

    • To create a 3-D line chart, click Line, and then under 3-D Line, click 3-D Line.

    • To create a 3-D area chart, click Area, and then under 3-D Area, click 3-D Area.

    • To create a 3-D surface chart, click Other Charts, and then under Surface, click 3-D Surface or Wireframe 3-D Surface.

Example:

enter image description here

See also XYZ 3D-chart in Excel, 3D-histogram in Excel , 3 axis chart and excel 3d bar chart for more information.

Спасибо, но как мне получить более высокий размерный тренд? Adam_G 9 лет назад 0
Линии тренда не могут быть добавлены в 3D-диаграммы в Excel: / Я не смог найти дополнение для этого ... DavidPostill 9 лет назад 0

Похожие вопросы