Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
READ ME ---------------------------------------------------------------------- All scripts and folders referenced below are available at: https://osf.io/csx2g/?view_only=0233b894fd1b40e391175e84f22b312a # Required data - WVS_Longitudinal_1981_2016_Spss_v20180912.sav from http://www.worldvaluessurvey.org/WVSContents.jsp (data for estimating networks) - fsi-2006.xlsx from https://fragilestatesindex.org/excel/ (data for estimating state fragility) - V-Dem-CY-Core-v9.xlsx from https://www.v-dem.net/en/data/data-version-9/ (data for estimating democracy) - cids.xlsx from https://osf.io/hk9mu/ (country names, IDs, and abbreviations) - effectiveparties.xlsx compiled from https://www.tcd.ie/Political_Science/people/michael_gallagher/ElSystems/index.php - Scripts folder contains necessary scripts to replicate results in the paper - Figures folder contains figures that are created with the scripts ---------------------------------------------------------------------- #### All analyses are completed with R. #### Step 1: Calculate benchmarks to assess replicability source("scripts/benchmarks.characteristics.R") # what to expect when networks don't differ source("scripts/benchmarks.equalitytests.R") # what to expect when networks don't differ #### Step 2: Load data, clean data, calculate demographics, and estimate networks source("scripts/load data.R") #### Step 3: Create figures for each network in each country/wave (presented in supplemental materials) source("scripts/countryfigures.R") #### Step 4: Compare countries to themselves over time and plot results source("scripts/comparewithin.R") # Bayesian hypothesis testing of edge differences source("scripts/stability.R") # overall, node-level, and edge-level comparisons #### Step 5: Redo everything from Step 2 - Step 4 ten times, removing a random set of 4 items source("scripts/remove nodes load data.R") # create data.frames for subsets. source("scripts/remove nodes estimate networks.R") # estimate networks (takes a long time) source("scripts/remove nodes comparewithin.R") # Bayesian hypothesis testing of edge differences (takes a long time) source("scripts/remove nodes stability.R") # overall, node-level, and edge-level comparisons of subsets source("scripts/remove nodes original comparison.R") #comparewithin figs for original subset comparisons #### Step 6: testing if stability is related to stability of political system and sample size source("scripts/identifyingstability.R")
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.