Facebook
TwitterAttribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
The sample SAS and Stata code provided here is intended for use with certain datasets in the National Neighborhood Data Archive (NaNDA). NaNDA (https://www.openicpsr.org/openicpsr/nanda) contains some datasets that measure neighborhood context at the ZIP Code Tabulation Area (ZCTA) level. They are intended for use with survey or other individual-level data containing ZIP codes. Because ZIP codes do not exactly match ZIP code tabulation areas, a crosswalk is required to use ZIP-code-level geocoded datasets with ZCTA-level datasets from NaNDA. A ZIP-code-to-ZCTA crosswalk was previously available on the UDS Mapper website, which is no longer active. An archived copy of the ZIP-code-to-ZCTA crosswalk file has been included here. Sample SAS and Stata code are provided for merging the UDS mapper crosswalk with NaNDA datasets.
Facebook
TwitterAttribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
This replication package contains the raw data and code to replicate the findings reported in the paper. The data are licensed under a Creative Commons Attribution 4.0 International Public License. The code is licensed under a Modified BSD License. See LICENSE.txt for details.
Software requirements
All analysis were done in Stata version 16:
Instructions
Datasets
Descriptions of scripts
1_1_clean_wave1.do
This script processes the raw data from wave 1, the survey experiment
1_2_clean_wave2.do
This script processes the raw data from wave 2, the follow-up survey
1_3_merge_generate.do
This script creates the datasets used in the main analysis and for robustness checks by merging the cleaned data from wave 1 and 2, tests the exclusion criteria and creates additional variables
02_analysis.do
This script estimates regression models in Stata, creates figures and tables, saving them to results/figures and results/tables
03_robustness_checks_no_exclusion.do
This script runs the main analysis using the dataset without applying the exclusion criteria. Results are saved in results/tables
04_figure2_germany_map.do
This script creates Figure 2 in the main manuscript using publicly available data on vaccination numbers in Germany.
05_figureS1_dogmatism_scale.do
This script creates Figure S1 using data from a pretest to adjust the dogmatism scale.
06_AppendixS7.do
This script creates the figures and tables provided in Appendix S7 on the representativity of our sample compared to the German average using publicly available data about the age distribution in Germany.
07_AppendixS10.do
This script creates the figures and tables provided in Appendix S10 on the external validity of vaccination rates in our sample using publicly available data on vaccination numbers in Germany.
Facebook
TwitterCC0 1.0 Universal Public Domain Dedicationhttps://creativecommons.org/publicdomain/zero/1.0/
License information was derived automatically
This repository contains all replication materials for " Reexamining the Effect of Mass Shootings on Public Support for Gun Control" by David J. Barney and Brian F. Schaffner. The data included are as follows: 3 CCES panel datasets, supplementary data for merging, 2 fully-merged CCES panel datasets. In addition, we include two .do files of Stata code, one of which prepares the data for analysis, and one of which replicates the analyses presented in our paper.
Facebook
TwitterThis code merges multiple years of Crime Survey of England and Wales (CSEW) and/or the British Crime Survey (BCS). The current version merges the BCS and CSEW up to the CSEW 2023/2024. The purpose of these code is to help researchers to quickly and easily combine multiple survey sweeps of the CSEW and BCS.
By combining multiple survey sweeps, people are able to look at, for instance, trends in violence. Furthermore, using such a combined file enables you to look at specific offences, population groups, or consequences, that do not have a high enough frequency if you would use only a single year.
This is a Stata do file, access to Stata is therefore required, as is access to all the BCS and CSEW that you want to merge. In specifying the code, you can decide which files you want to merge. Namely, which years of the Crime Surveys you want to merge and if you want the bolt-on datasets that provide uncapped codes, the adolescent and young adult panels, and/or if you want to use the ‘non-white’ panel. This code does not harmonize variables that are different between years.
All original data resources are available via Related Resources.
This code merges multiple years of Crime Survey of England and Wales (CSEW) and/or the British Crime Survey (BCS). The purpose of these code is to help researchers to quickly and easily combine multiple survey sweeps of the CSEW and BCS.
By combining multiple survey sweeps, people are able to look at, for instance, trends in violence. Furthermore, using such a combined file enables you to look at specific offences, population groups, or consequences, that do not have a high enough frequency if you would use only a single year.
This is a Stata do-file, access to Stata is therefore required, as is access to all the BCS and CSEW that you want to merge. In specifying the code, you can decide which files you want to merge. Namely, which years of the Crime Surveys you want to merge and if you want the bolt-on datasets that provide uncapped codes, the adolescent and young adult panels, and/or if you want to use the ‘non-white’ panel. This code does not harmonize variables that are different between years.
Facebook
Twitterhttps://spdx.org/licenses/CC0-1.0.htmlhttps://spdx.org/licenses/CC0-1.0.html
What is the relationship between environment and democracy? The framework of cultural evolution suggests that societal development is an adaptation to ecological threats. Pertinent theories assume that democracy emerges as societies adapt to ecological factors such as higher economic wealth, lower pathogen threats, less demanding climates, and fewer natural disasters. However, previous research confused within-country processes with between-country processes and erroneously interpreted between-country findings as if they generalize to within-country mechanisms. In this article, we analyze a time-series cross-sectional dataset to study the dynamic relationship between environment and democracy (1949-2016), accounting for previous misconceptions in levels of analysis. By separating within-country processes from between-country processes, we find that the relationship between environment and democracy not only differs by countries but also depends on the level of analysis. Economic wealth predicts increasing levels of democracy in between-country comparisons, but within-country comparisons show that democracy declines as countries become wealthier over time. This relationship is only prevalent among historically wealthy countries but not among historically poor countries, whose wealth also increased over time. By contrast, pathogen prevalence predicts lower levels of democracy in both between-country and within-country comparisons. Our longitudinal analyses identifying temporal precedence reveal that not only reductions in pathogen prevalence drive future democracy, but also democracy reduces future pathogen prevalence and increases future wealth. These nuanced results contrast with previous analyses using narrow, cross-sectional data. As a whole, our findings illuminate the dynamic process by which environment and democracy shape each other.
Methods Our Time-Series Cross-Sectional data combine various online databases. Country names were first identified and matched using R-package “countrycode” (Arel-Bundock, Enevoldsen, & Yetman, 2018) before all datasets were merged. Occasionally, we modified unidentified country names to be consistent across datasets. We then transformed “wide” data into “long” data and merged them using R’s Tidyverse framework (Wickham, 2014). Our analysis begins with the year 1949, which was occasioned by the fact that one of the key time-variant level-1 variables, pathogen prevalence was only available from 1949 on. See our Supplemental Material for all data, Stata syntax, R-markdown for visualization, supplemental analyses and detailed results (available at https://osf.io/drt8j/).
Facebook
TwitterCC0 1.0 Universal Public Domain Dedicationhttps://creativecommons.org/publicdomain/zero/1.0/
License information was derived automatically
This tool--a simple csv or Stata file for merging--gives you a fast way to assign Census county FIPS codes to variously presented county names. This is useful for dealing with county names collected from official sources, such as election returns, which inconsistently present county names and often have misspellings. It will likely take less than ten minutes the first time, and about one minute thereafter--assuming all versions of your county names are in this file. There are about 3,142 counties in the U.S., and there are 77,613 different permutations of county names in this file (ave=25 per county, max=382). Counties with more likely permutations have more versions. Misspellings were added as I came across them over time. I DON'T expect people to cite the use of this tool. DO feel free to suggest the addition of other county name permutations.
Facebook
TwitterThe analysis considers the role of non-performing loans (NPLs) for bank lending rates on newly granted loans. It is based on euro area data. The focus is on an effect caused by the stock of NPLs that extends beyond losses that banks have already incorporated into their reported capital positions. The paper assesses the channels through which such an effect occurs most importantly whether it runs through banks' idiosyncratic funding costs.
File 0 contains a description of the data used for the analysis. It does not contain actual data as most data used for the analysis is confidential. The file contains the names of the Stata-dta-Files in which the datasets are stored. These Stata-dta-Files are the starting point for the data processing which is activated by the code in the subsequent Stata-do-Files.
Files 1-3 contain the code for processing SNL and Bankscope / Orbis data. This data includes the banking group level data for the analysis (most importantly NPL / regulatory capital data). File 1 contains the code for the processing of SNL data. File 2 contains the code for the of the Bankscope / Orbis data. File 3 contains the code for merging SNL and Bankscope / Orbis data.
Files 4-6 contain the code for processing the CSDB data which includes data on the cost of bond funding on the banking group level, iBSI / iMIR data which includes data on lending rates and lending volumes on the single bank level and the macroeconomic data. File 4 contains the code for the processing of the CSDB data. Note that this data is initially on the single security level and is processed such, that information on costs of bond funding on the banking group level is retrieved. File 5 contains the code for the processing of the iBSI / iMIR data. File 6 contains the code for the processing of the macroeconomic variables.
File 7 contains the code for merging all datasets. File 8 contains the code for producing the descriptive statistics in Section 3 of the paper. File 9 contains the code for the estimation of Equations 1 and 3 of the paper. File 10 contains the code for the estimation of Equations 1 and 3 with random samples (Appendix D of the paper). File 11 contains the code for estimations with loan growth as dependent variable (Section 5.2 of the paper).
Files 12 and 13 contain code for the data processing and estimation of Equation 2 on the banking group level.
Facebook
TwitterCC0 1.0 Universal Public Domain Dedicationhttps://creativecommons.org/publicdomain/zero/1.0/
License information was derived automatically
This data depository contains all experimental materials, data, and code for Spamann, Lawyers' Role-Induced Bias ... All experimental materials (i.e., exercise and survey instrument) are in the pdf file Spamann_experimentalmaterials_all.pdf. The dataset Newman.dta (Stata 14.2) contains the data collected. The Stata do-file Spamann_role_bias_code.do generates the three figures and other reported statistical information reported in the version of the paper originally posted to SSRN in May 2019. Spamann_role_bias_code_revised.do generates the four figures and other reported statistical information reported in the revision submitted to JLS in March 2020 and ultimately accepted by the journal. Both do-files use Newman.dta. Newman.dta is the result of merging 6 csv files generated by Qualtrics in each of the six semesters from students' survey responses. These 6 csv files, and the do-file rawdata_merge_clean.do to merge them, are also included.
Facebook
TwitterThe Infant Feeding Survey (IFS) has been carried out every five years since 1975, in order to establish information about infant feeding practices. Government policy in the United Kingdom has consistently supported breastfeeding as the best way of ensuring a healthy start for infants and of promoting women's health. Current guidance on infant feeding is as follows:
Facebook
TwitterAttribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
These are datasets produced by geographically combining Living-Standards Measurement Study - Integrated Studies on Agriculture (LSMS-ISA) data spanning 3 waves, from 2009 to 2012, and refugee data provided by the UNHCR at the settlement level. The Stata code for running the analyses is also provided.
Facebook
TwitterCC0 1.0 Universal Public Domain Dedicationhttps://creativecommons.org/publicdomain/zero/1.0/
License information was derived automatically
This folder contains replication files for the paper 'Including Scalable Nutrition Interventions in a Graduation Model Program: Experimental Evidence from Ethiopia'. Specifically, it includes: a) edcc_all tables.do: A do-file with replication code for Tables 1-7, and Annex Tables A1, A2, B1, C1, C2 and D1 in the paper. Note that some manual formatting still needs to be applied to the tables once the .doc file is outputted by Stata (e.g. merging table cells where row labels overflow a line); b) spir_household data.dta: Household-level dataset from all survey rounds collected as part of the Strengthen the PSNP4 Institutions and Resilience trial (2018-2021) and limited to variables relevant to the analysis. This dataset is used for all the tables except from Table 2, C1, C2 and D1; c) spir_child level data.dta: Child-level (1 row per child) anthropometrics dataset from all survey rounds. This dataset is used for the anthropometry analysis in Table 2 and Annex Tables C1 and C2; d) spir_midline data.dta Child level dataset from the midline survey round used for the first panel of Table D1, replication of results from the Alderman et al 2022 Food Policy paper. If you have any questions, reach out to Heleene Tambet at the International Food Policy Research Institute, h.tambet@cgiar.org.
Facebook
Twitter Not seeing a result you expected?
Learn how you can add new datasets to our index.
Facebook
TwitterAttribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
The sample SAS and Stata code provided here is intended for use with certain datasets in the National Neighborhood Data Archive (NaNDA). NaNDA (https://www.openicpsr.org/openicpsr/nanda) contains some datasets that measure neighborhood context at the ZIP Code Tabulation Area (ZCTA) level. They are intended for use with survey or other individual-level data containing ZIP codes. Because ZIP codes do not exactly match ZIP code tabulation areas, a crosswalk is required to use ZIP-code-level geocoded datasets with ZCTA-level datasets from NaNDA. A ZIP-code-to-ZCTA crosswalk was previously available on the UDS Mapper website, which is no longer active. An archived copy of the ZIP-code-to-ZCTA crosswalk file has been included here. Sample SAS and Stata code are provided for merging the UDS mapper crosswalk with NaNDA datasets.