ProfessorAmanda / econsimulations

This repository provides the code underlying simulations for teaching statistics and econometrics. The project site, which includes teaching materials as well as the link to the simulations, is located here: https://amandagreggeconomics.com/statistics-simulations-project/
Other
1 stars 0 forks source link

Fixed Effects (demeaning) Demonstration #216

Closed tbyker closed 3 years ago

tbyker commented 3 years ago

2FE_1.pdf 2FE_5.pdf 2FE_4.pdf 2FE_3.pdf 2FE_2.pdf

^^ These are the images we we were flipping through this morning.

ethansaxenian commented 3 years ago

Is there any way to know the exact coordinates used here?

tbyker commented 3 years ago

Simulation Notes.pdf

tbyker commented 3 years ago

Just attached a sketch of a series of buttons that can be turned off and on. When I say "show" mean on figure, I am imagining the dotted line at the mean of X and Y as shown on the pdf. I like being able to see this and then turn it off once we see where it is. Maybe change the order and text like this:

Entity FE:

etc

and you can toggle things off and on. I want people to be able to visualize each step. Then you could have just a button at the bottom that says, implement entity fe and does what you currently have set up just moving straight to the new points.

tbyker commented 3 years ago

My notes from our discussion of the FE module: 1) Find a new set of coordinates that achieves these 2 goals : 1) more "space" in the figure and 2) more impact of implementing entity fixed effects 2) When showing demeaned values only show one set of coordinate labels 3) Change the color of the entity means to not look like blue and red 4) Experiment with showing the de-meaning process in two steps (even if the user only pushed one button): first move in x-direction and then in y-direction. Could do this through a staged animation and/or arrows showing the move in each direction