Ask Your Question

kyesledge's profile - activity

2021-03-29 21:11:34 +0200 received badge  Popular Question (source)
2019-01-11 02:12:55 +0200 commented question Expected value of random variables

It’s not homework. I created the toy problem myself and can easily solve it by hand using the poisson equation (and it’s clear to me how to write code to do that in SAGE). I was just under the impression that there’s some library that will do all this for you in SAGE but maybe I’m wrong? Just want to reiterate this is a toy problem that I made to illustrate my question, which was mostly about SAGE’s built in support for reasoning with random variables.

2019-01-10 21:59:23 +0200 asked a question Expected value of random variables

I'm new to SAGE and just getting my feet wet. Would greatly appreciate if someone could point me to how to calculate the following using SAGE:

Say I have an event drawn from a Poisson distribution that happens on average once a year. I'd like to define a random variable and then calculate the following:

  1. Probability the event will occur after 1 month (1/12th of a year)

  2. Probability the event will not occur for 2 years but will occur during the third year.

I've searched unsuccessfully for how to do this and would greatly appreciate any help.

2019-01-10 21:59:23 +0200 asked a question Expected value of Random variable

I'm new to SAGE and just getting my feet wet. Would greatly appreciate if someone could point me to how to calculate the following using SAGE:

Say I have an event drawn from a Poisson distribution that happens on average once a year. I'd like to define a random variable and then calculate the following:

  1. Probability the event will occur after 1 month (1/12th of a year)

  2. Probability the event will not occur for 2 years but will occur during the third year.

I've searched unsuccessfully for how to do this and would greatly appreciate any help.