Power calculations of a subsidy program in tanzania
# Replication Package for the Tanzanian's SMART Subsidy Program Power Calculations
## Project Description
- This replication package replicates power calculations used to calculate the Minimum Detectable Effect (MDE) for a lime subsidy program to be ran in Tanzania.
## Folder Structure
- `code`: contains main scripts (one for R and one for Stata) and all scripts required to produce figures and tables.
- `data`: contains all data used to produce images inside output folder.
- `outputs`: contains all images in the report and are generated by running both Main scripts.
- `renv`: contains all packages used to create the images, so we prevent version issues and don't required replicators to install them on their computers.
## Code Description
- `00_Main.do` - generates outputs produced in Stata.
- `00_Main.R` - generates outputs produced in R.
## Data Description
- All data comes from National Panel Survey 2020-21, Wave 5 (Tanzania, 2020 - 2022)
- Access:
- Questionnaire:
- Cleaning choices
- Observations with missing production were dropped
- Observations with area harvest equals to 0 were dropped
- Sources
- ag_sec_4a (LONG RAINY SEASON 2020): Information on crops, by-product names and quantity produced, amount of crop used as input, quantity sold, associated prices and buyers and costs incurred due to labor/other inputs are included in this section.
- hh_sec_a: Household location variables, unique within panel round household identification variables, date and time of interview, analytic sampling weights, cluster identification, sampling strata identification, and status of survey.
- ag_sec_6a: Number of fruit trees planted on the plot, when these were planted, presence of intercropping, quantity produced, loss before and after harvest, quantity sold, associated value and location sold, method and quantity of crop stored are asked in this section.
## Replication Instructions
- You must have Stata, R and Rstudio installed …