Comments (6)
could we have one app for continuously joint distributed, and one for discrete?
from scpoeconometrics.
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.
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 table1: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 inde
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.
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.
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.
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)
- other useful lecture notes HOT 2
- write solutions for atlas project HOT 1
- case study 1: nate silver flights HOT 1
- chapter 2 tutorial update
- case studies and projects HOT 1
- interactions ch 4
- new app or section in dummy chapter
- explain inference with boot strap and not null-hypothesis testing HOT 1
- need quiz for chapter2 tutorial
- remove airline dataset - too big HOT 1
- remove stargazer and go to huxreg
- fix bug in table log-log
- typo in log-level reg table
- updates for 2020 edition HOT 1
- split apps from book
- change causality lecture
- we never define condition mean HOT 1
- Correlation
- nice book
- Typo in 07-Causality.Rmd
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scpoeconometrics.