Telegram Group & Telegram Channel
سنجش نرمال بودن داده ها 1 (normality test)
در اقتصاد و مالی نرمال بودن داده های یک توزیع به سه دلیل بسیار حائز اهمیت است.
اول اینکه فرض می شود بسیاری از داده ها (مانند نرخ بازده) از توزیع نرمال پیروی می کنند.
دوم اینکه جزء خطا در بسیاری از مدل های اقتصاد سنجی نرمال در نظر گرفته می شود.
سوم اینکه برای کار با داده های نرمال، مدلهای بسیار زیادی وجود دارد.
یکی از متداولترین آزمون ها برای سنجش نرمال بودن یک توزیع آزمون شاپیرو -ویلک (Shapiro-Wilk) است. این آزمون دو مقدار w و p را باز می گرداند. فرض null این است که داده نرمال است بنابراین اگر مقدار P-Value بزرگتر از 0.05 باشد فرضیه صفر یعنی نرمال بودن تایید می شود.
در مثال این پست دو توزیع تصادفی ایجاد می شود و نرمال بودن در آنها بررسی می شود.
#نرمال
#شاپیرو -ویلک
#scipy
#normality_test
#Shapiro-Wilk

پایتون برای مالی
@python4finance
18



tg-me.com/python4finance/828
Create:
Last Update:

سنجش نرمال بودن داده ها 1 (normality test)
در اقتصاد و مالی نرمال بودن داده های یک توزیع به سه دلیل بسیار حائز اهمیت است.
اول اینکه فرض می شود بسیاری از داده ها (مانند نرخ بازده) از توزیع نرمال پیروی می کنند.
دوم اینکه جزء خطا در بسیاری از مدل های اقتصاد سنجی نرمال در نظر گرفته می شود.
سوم اینکه برای کار با داده های نرمال، مدلهای بسیار زیادی وجود دارد.
یکی از متداولترین آزمون ها برای سنجش نرمال بودن یک توزیع آزمون شاپیرو -ویلک (Shapiro-Wilk) است. این آزمون دو مقدار w و p را باز می گرداند. فرض null این است که داده نرمال است بنابراین اگر مقدار P-Value بزرگتر از 0.05 باشد فرضیه صفر یعنی نرمال بودن تایید می شود.
در مثال این پست دو توزیع تصادفی ایجاد می شود و نرمال بودن در آنها بررسی می شود.
#نرمال
#شاپیرو -ویلک
#scipy
#normality_test
#Shapiro-Wilk

پایتون برای مالی
@python4finance

BY Python4Finance




Share with your friend now:
tg-me.com/python4finance/828

View MORE
Open in Telegram


Python4Finance Telegram | DID YOU KNOW?

Date: |

How Does Telegram Make Money?

Telegram is a free app and runs on donations. According to a blog on the telegram: We believe in fast and secure messaging that is also 100% free. Pavel Durov, who shares our vision, supplied Telegram with a generous donation, so we have quite enough money for the time being. If Telegram runs out, we will introduce non-essential paid options to support the infrastructure and finance developer salaries. But making profits will never be an end-goal for Telegram.

How to Use Bitcoin?

n the U.S. people generally use Bitcoin as an alternative investment, helping diversify a portfolio apart from stocks and bonds. You can also use Bitcoin to make purchases, but the number of vendors that accept the cryptocurrency is still limited. Big companies that accept Bitcoin include Overstock, AT&T and Twitch. You may also find that some small local retailers or certain websites take Bitcoin, but you’ll have to do some digging. That said, PayPal has announced that it will enable cryptocurrency as a funding source for purchases this year, financing purchases by automatically converting crypto holdings to fiat currency for users. “They have 346 million users and they’re connected to 26 million merchants,” says Spencer Montgomery, founder of Uinta Crypto Consulting. “It’s huge.”

Python4Finance from ms


Telegram Python4Finance
FROM USA