Telegram Group & Telegram Channel
مرور یک مساله آماری
آمار زیر بنای علم داده و یکی از اصلی ترین زیرساخت های مدلسازی است.
حتما از دوره دبیرستان یادتون هست که همیشه می گفتیم اگر یک سکه را بی نهایت بار پرتاب کنیم نتیجه به دست آمده برای شیر یا خط دقیقا 50-50 خواهد بود. 🤔
حالا می خواهیم مسئله مشابهی را با پایتون حل کنیم. فرض کنید دو تاس را با هم پرتاب می کنیم و مجموع اعداد به دست آمده از روی تاس ها را ثبت می کنیم. (اعداد به دست آمده حتما بین 2 تا 12 خواهد بود)
حالا فرض کنید این بازی را 1000 بار انجام دهیم. بدیهی است باید به یک نمودار نرمال توزیع فراوانی برسیم.
شبیه سازی این مسئله در پایتون (صرفا با کتابخانه Pandas) و نتیجه حاصله را می توانید در تصویر این پست مشاهده کنید.

#پایتون_مالی
#آمار
#احتمال
#توزیغ_فراوانی
#مثال
#python4finance

پایتون برای مالی در تلگرام
https://www.tg-me.com/joinchat-AAAAAFGMkouqbsb86Vfzug



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

مرور یک مساله آماری
آمار زیر بنای علم داده و یکی از اصلی ترین زیرساخت های مدلسازی است.
حتما از دوره دبیرستان یادتون هست که همیشه می گفتیم اگر یک سکه را بی نهایت بار پرتاب کنیم نتیجه به دست آمده برای شیر یا خط دقیقا 50-50 خواهد بود. 🤔
حالا می خواهیم مسئله مشابهی را با پایتون حل کنیم. فرض کنید دو تاس را با هم پرتاب می کنیم و مجموع اعداد به دست آمده از روی تاس ها را ثبت می کنیم. (اعداد به دست آمده حتما بین 2 تا 12 خواهد بود)
حالا فرض کنید این بازی را 1000 بار انجام دهیم. بدیهی است باید به یک نمودار نرمال توزیع فراوانی برسیم.
شبیه سازی این مسئله در پایتون (صرفا با کتابخانه Pandas) و نتیجه حاصله را می توانید در تصویر این پست مشاهده کنید.

#پایتون_مالی
#آمار
#احتمال
#توزیغ_فراوانی
#مثال
#python4finance

پایتون برای مالی در تلگرام
https://www.tg-me.com/joinchat-AAAAAFGMkouqbsb86Vfzug

BY Python4Finance




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

View MORE
Open in Telegram


Python4Finance Telegram | DID YOU KNOW?

Date: |

Should I buy bitcoin?

“To the extent it is used I fear it’s often for illicit finance. It’s an extremely inefficient way of conducting transactions, and the amount of energy that’s consumed in processing those transactions is staggering,” the former Fed chairwoman said. Yellen’s comments have been cited as a reason for bitcoin’s recent losses. However, Yellen’s assessment of bitcoin as a inefficient medium of exchange is an important point and one that has already been raised in the past by bitcoin bulls. Using a volatile asset in exchange for goods and services makes little sense if the asset can tumble 10% in a day, or surge 80% over the course of a two months as bitcoin has done in 2021, critics argue. To put a finer point on it, over the past 12 months bitcoin has registered 8 corrections, defined as a decline from a recent peak of at least 10% but not more than 20%, and two bear markets, which are defined as falls of 20% or more, according to Dow Jones Market Data.

For some time, Mr. Durov and a few dozen staffers had no fixed headquarters, but rather traveled the world, setting up shop in one city after another, he told the Journal in 2016. The company now has its operational base in Dubai, though it says it doesn’t keep servers there.Mr. Durov maintains a yearslong friendship from his VK days with actor and tech investor Jared Leto, with whom he shares an ascetic lifestyle that eschews meat and alcohol.

Python4Finance from hk


Telegram Python4Finance
FROM USA