Coder Social home page Coder Social logo

clessn / article_riding-volatility Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 36.35 MB

This repo contains the code needed to reproduce the article "On Volatility and Parties’ Potential for Growth in Multiparty Systems: The Case of the 2022 Quebec Election".

R 93.30% TeX 6.70%
dataset electoral-volatility political-science public-opinion public-opinion-analysis quebec rci survey vote-fragility

article_riding-volatility's People

Contributors

hubcad25 avatar williampo1 avatar

Stargazers

 avatar

Watchers

 avatar

article_riding-volatility's Issues

Add robust SE to regression models

For each model :
vmA1 <- sandwich::vcovHC(modelA1, type = 'HC1')

then in stargazer:

se=c(list(sqrt(diag(vmA1))),
                          list(sqrt(diag(vmA2))), ...

Review code / documentation

Suggestions

Documentation, replication etc:

  • Cite properly Qc125.com as data source in README for generate_table3.R
  • Move dataset variable description from the README into a codebook. Can be a separate .md file
  • #4
  • Write repo description in GitHub
  • #3

Style:

  • #5
  • If there is a particular order you should run R scripts, can number them like 1_tidy_data.R

Details:

Highlights

  • Looked at the JOP dataverse and this repo is quite well organized compared to some of their content!
  • Very easy to read and understand what's happening without running the scripts
  • Files are well organised and documented

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.