Skip to content

[Markov Chains] Update Notations - #107

Merged
jstac merged 5 commits into
mainfrom
mc-notation
Feb 27, 2023
Merged

jstac merged 5 commits into
mainfrom
mc-notation

Conversation

@HumphreyYang

@HumphreyYang HumphreyYang commented Feb 27, 2023 •

Copy link
Copy Markdown
Member

Hi @jstac,

Thanks for pointing out the inconsistency in the notations. I will keep this in mind in future lectures.

The length of the simulation is now denoted as ts_length consistent with the notation in the mc.simulate in the quantecon library, and the size of the state space is now denoted as n. This resolves #106.

@HumphreyYang
HumphreyYang requested a review from jstac February 27, 2023 02:48
@netlify

netlify Bot commented Feb 27, 2023 •

Copy link
Copy Markdown

✅ Deploy Preview for taupe-gaufre-c4e660 ready!

Name Link
🔨 Latest commit b04c0ab
🔍 Latest deploy log https://app.netlify.com/sites/taupe-gaufre-c4e660/deploys/63fc23a9ae1d0200080c41a2
😎 Deploy Preview https://deploy-preview-107--taupe-gaufre-c4e660.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions
github-actions Bot temporarily deployed to commit February 27, 2023 02:58 Inactive
@jstac

jstac commented Feb 27, 2023

Copy link
Copy Markdown
Contributor

Many thanks @HumphreyYang . These are good choices.

One more small thing: In generate_initial_values(ts_length, n), I wonder if ts_length is the right choice here?

In the following function you iterate forward in time ts_length iterations, which makes sense.

You also have ts_length initial conditions.

These two do not need to be the same -- although it's fine if they are. But perhaps the notation should differ.

For example, generate_initial_values(ts_length, n) could perhaps be general_initial_distributions(num_distributions, n)?

@github-actions
github-actions Bot temporarily deployed to commit February 27, 2023 03:18 Inactive
@HumphreyYang

Copy link
Copy Markdown
Member Author

Many thanks @HumphreyYang . These are good choices.

One more small thing: In generate_initial_values(ts_length, n), I wonder if ts_length is the right choice here?

In the following function you iterate forward in time ts_length iterations, which makes sense.

You also have ts_length initial conditions.

These two do not need to be the same -- although it's fine if they are. But perhaps the notation should differ.

For example, generate_initial_values(ts_length, n) could perhaps be general_initial_distributions(num_distributions, n)?

Many thanks @jstac. You are definitely right about this. I have put num_distributions as a separate parameter to give people power over setting the density of lines in plots.

@github-actions
github-actions Bot temporarily deployed to commit February 27, 2023 03:34 Inactive
@jstac

jstac commented Feb 27, 2023

Copy link
Copy Markdown
Contributor

Thanks @HumphreyYang , and thanks for picking up the dropdown tag for the solution.

This branch was previously deployed

1 inactive deployment
commit — b04c0ab0 Deployed Feb 27, 2023 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Notation in Markov chain lecture

2 participants