Coder Social home page Coder Social logo

Comments (6)

floswald avatar floswald commented on May 10, 2024

could we have one app for continuously joint distributed, and one for discrete?

from scpoeconometrics.

vviers avatar vviers commented on May 10, 2024

Not sure what you mean by that? Like how is the discrete case going to be visually different from the continuous case (aside from only falling on integers)?

from scpoeconometrics.

floswald avatar floswald commented on May 10, 2024

yes, that is the question. here is an idea. let's go with 2 dice that are not fair.

  • have a discrete joint dist d in the background. basically a frequency table 1:6,1:6 where each cell shows the probability of that event occuring. fill it with non-equally distributed probabilities (i.e unfair dice)
  • show the user an empty version of that table initially, de, say
  • draw randomly from d and show in de where the dice came to lie.
  • just showing the number of times the draw hits a certain cell in de initially, later maybe with a colorbar?
  • could make them have a guess about whether these are fair dice or not.

what do you think?

from scpoeconometrics.

vviers avatar vviers commented on May 10, 2024

Are we still talking about correlation here? I don't really see how this is an example of discrete-case correlation...
I might be wrong but two dice are still independent regardless of whether they are fair or not and so I'd expect that corr(dice1, dice2) = 0 no matter how fair or unfair they are?

Sorry about this, this is sort of confusing still. This sounds more like an example of hypothesis testing to me

from scpoeconometrics.

vviers avatar vviers commented on May 10, 2024

Also while we're on the topic, one example from here (http://www.tylervigen.com/spurious-correlations) could be a fun way to introduce the correlation is not causation intuition early on?

from scpoeconometrics.

floswald avatar floswald commented on May 10, 2024

yes, good point. dice was just for lack of a better term. what i meant is that they are jointly unfair. the probability of having (6,6) is higher than having (6,5), for example. you make up the joint distribution, that's what I meant.

i am not sure we want to talk about spurious correlation. this has to do with identification, which is kind of deep and we wanted to stay away from this for now. but let's see how this all develops.

from scpoeconometrics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.