Regression for non-parametric data

조회 수: 4 (최근 30일)
SuzieChan
SuzieChan 2020년 4월 12일
답변: the cyclist 2020년 4월 12일
I have a column of precipitation data.
A normality test indicates the data are non-parametric.
A histogram plot of the data does not resemble a normal curve.
So data violates normality assumption of regression
Question: Is it still possible to do a simple linear regression on the data?
If not, what are my options?
If I log transform the data, the precipitation data takes negative values, which is nonsense in the real world.
Any suggestions?
Thank you.

채택된 답변

the cyclist
the cyclist 2020년 4월 12일
It is a common misconception that the data themselves have to be normally distributed, in order to satisify the assumptions of an ordinary least squares (OLS) regression. They do not.
See, for example, this page or this page for the actual assumptions.
Also, "the data are non-parametric" does not mean "the data are inconsistent with a normal distribution". Usually one would use the non-parametric about a technique that does not assume any underlying distributional properties of the data.
You only mention one variable -- precipitation. I assume you have more than one variable, otherwise a regression isn't even possible.
Please feel free to post your data (ideally in a MAT file, using the paper-clip icon) if you want people to take a look.

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by