Open in app
Home
Notifications
Lists
Stories

Write
Oscar Nieves
Oscar Nieves

Home

About

Published in Cantor’s Paradise

·Pinned

An Actual Introduction to Bayesian Statistics

With all the details and none of the super-technical stuff — Bayesian statistics is fun. But it is also very hard. What is the probability that it is a hard subject, given that it is already fun? This may not be a very useful question to ask, but it gets to the heart of what Bayesian statistics (and inference) is all…

Data Science

10 min read

An Actual Introduction to Bayesian Statistics
An Actual Introduction to Bayesian Statistics

Jul 1

Improving Monte Carlo efficiency with a simple trick

An implementation in Python, Monte Carlo simulations encompass a broad range of algorithms that make use of statistical sampling to obtain useful information about something which is random in nature. A perfect example of this is the simulation of stock prices using stochastic models, which often require the numerical solution…

Data Science

5 min read

Improving Monte Carlo efficiency with a simple trick
Improving Monte Carlo efficiency with a simple trick

Published in Cantor’s Paradise

·Mar 15

Einstein’s Brownian Motion

When people hear the name “Albert Einstein”, the first thing that comes to mind is the equation E = mc². Of course, this was made very popular back in the 1900s as it related to many more discoveries that would be made in that century, most notably things like nuclear…

Mathematics

7 min read

Einstein’s Brownian Motion
Einstein’s Brownian Motion

Aug 10, 2021

Programming a Connect-4 game on Python

Done from scratch using less than 200 lines of code. The other day I was working with some Python and functions, and it occurred to me that it would be a fun task to program a Connect-4 game from scratch using a few functions and a data structure known as…

Programming

12 min read

Programming a Connect-4 game on Python
Programming a Connect-4 game on Python

Jul 31, 2021

Sampling random numbers from any probability distribution you want

A guide using simple Python code. In my previous story (https://oscarnieves100.medium.com/simulating-correlated-random-variables-in-python-c3947f2dbb10) I discussed how to simulate correlated random numbers from a normal probability distribution. We focused on a normal distribution because it is well known, and standard methods of sampling exist. But what if you wanted to create your own…

Education

4 min read

Sampling random numbers from any probability distribution you want
Sampling random numbers from any probability distribution you want

Jul 30, 2021

Simulating correlated random variables in Python

In my previous Medium story (https://oscarnieves100.medium.com/simulating-normal-random-numbers-in-python-18a2a21a1329) I discussed how to simulate normal random numbers with specific mean and variance properties by using something called the Box-Muller method. …

Data Science

6 min read

Simulating correlated random variables in Python
Simulating correlated random variables in Python

Jul 29, 2021

Simulating normal random numbers in Python

Using the Box-Muller method In my previous Medium story: https://oscarnieves100.medium.com/how-to-simulate-random-numbers-dad35905ecdb I discussed how to simulate random numbers in Python by using a little mathematical method known as “the inverse sampling theorem”. In it, I demonstrated how using nothing but uniformly distributed random numbers in the interval [0, 1] we could…

Education

5 min read

Simulating normal random numbers in Python
Simulating normal random numbers in Python

Jul 29, 2021

How to simulate random numbers in Python

A gentle introduction Random numbers are used in a lot of applications. They are more predominantly used in areas like statistics, probability theory, data science, signal processing, statistical physics, machine learning, actuarial science, quantitative finance, and more. …

Mathematics

6 min read

How to simulate random numbers in Python
How to simulate random numbers in Python

Jul 25, 2021

Excel for Science and Engineering 1 — Matrices

Overview Students of science and engineering often only learn a bit of Excel in the context of doing simple data analysis, plotting and calculations involving single cells or scalar values (e.g. basic statistics). However, there are many ways in which Excel can be used for a lot of other calculations, including…

Science

7 min read

Excel for Science and Engineering 1 — Matrices
Excel for Science and Engineering 1 — Matrices

Jul 22, 2021

How to learn statistics from scratch

And understand it properly. Statistics is a huge field of study. Most people only come across some statistics in school, and perhaps at university. Unless you have done a dedicated degree in data science, mathematics/statistics, quantitative finance or actuarial science; chances are you probably know very little. …

Statistics

5 min read

How to learn statistics from scratch
How to learn statistics from scratch
Oscar Nieves

Oscar Nieves

Theoretical Physicist | Software Developer

Following
  • Russell Lim

    Russell Lim

  • Benjamin Obi Tayo Ph.D.

    Benjamin Obi Tayo Ph.D.

  • Sunil Sandhu

    Sunil Sandhu

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable