필터 지우기
필터 지우기

Plotting Confidence Band on plotted regression line.

조회 수: 3 (최근 30일)
Ugur Sahin
Ugur Sahin 2021년 6월 8일
편집: Jonas 2021년 6월 8일
Hi guys, I have stacked on my homework question step ; Step is d)On a new figure, plot scatter diagram fitted curve. Compute and plot 95% confidence band in blue color. Compute and plot 99.9% confidence band in red color. I am trying to add 95% (Blue) and 99.9%(Red) Confidence Bands to my plot which have regression line. Can anyone help me ? My data set consist of 20 y value that corresponds their x values and I generate regression line which refers these values.
I need your help immeadiately :/

답변 (1개)

Jonas
Jonas 2021년 6월 8일
편집: Jonas 2021년 6월 8일
you should be able to solve your problem using polyfit and polyval function, this example of the polyval function should be pretty everything you may want to know

카테고리

Help CenterFile Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by