# Food Security Supplement questions

**URL:** <https://forum.ipums.org/t/food-security-supplement-questions/2478>\
**Category:** CPS\
**Created:** [July 31, 2018, 6:29pm UTC](https://forum.ipums.org/t/food-security-supplement-questions/2478 "2018-07-31T18:29:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![horowitz](https://avatars.discourse-cdn.com/v4/letter/h/2acd7d/32.png) [@horowitz](https://forum.ipums.org/u/horowitz)\
**Post date:** [July 31, 2018, 6:29pm UTC](https://forum.ipums.org/t/food-security-supplement-questions/2478/1 "2018-07-31T18:29:00Z")

</div>

I think I must be doing something wrong–I selected every year of the Food Security Supplement, but I only see one variable (the weight variable). Are they somewhere else?

---

<div class="post-metadata">

**Author:** ![JeffBloem](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.ipums.org/jeffbloem/32/40_2.png) [@JeffBloem](https://forum.ipums.org/u/JeffBloem)\
**Post date:** [July 31, 2018, 6:46pm UTC](https://forum.ipums.org/t/food-security-supplement-questions/2478/2 "2018-07-31T18:46:00Z")

</div>

Once you’ve selected the food security supplement samples (typically the December monthly sample), you should see all of the food security questions under the “Food Security Supplement” heading under the “Household” variables tab. It sounds like you are looking under the “Person” variables tab. Since the food security supplement questions ask about a household’s food security, rather than individual food security, these variables are located under the household variables.

---

<div class="post-metadata">

**Author:** ![Bill\_Byrnes](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@Bill\_Byrnes](https://forum.ipums.org/u/Bill_Byrnes)\
**Post date:** [August 12, 2021, 3:23pm UTC](https://forum.ipums.org/t/food-security-supplement-questions/2478/3 "2021-08-12T15:23:07Z")

</div>

Hi Jeff, thanks for this; I just started a new job at Feeding America and the CPS is really going to come in handy. What I’m not seeing in the list of variables is one for the 160 replicate weight variables that I would need to calculate standard errors for estimates. Do you happen to know which variable that is?

---

<div class="post-metadata">

**Author:** ![Matthew\_Bombyk](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@Matthew\_Bombyk](https://forum.ipums.org/u/Matthew_Bombyk)\
**Post date:** [August 13, 2021, 5:23pm UTC](https://forum.ipums.org/t/food-security-supplement-questions/2478/4 "2021-08-13T17:23:23Z")

</div>

IPUMS CPS does not currently offer the replicate weights for supplements other than the ASEC. You can find the replicate weights on the [Census Bureau website](https://www.census.gov/data/datasets/time-series/demo/cps/cps-supp_cps-repwgt/cps-food-security.html). The [NBER site](https://data.nber.org/data/cps-replicate-weights.html) also has these weights for 2010-2017 in various file formats. You can link these to IPUMS data but you’ll need to do it in two steps.

1. First link the weights to the raw public-use data file. The public use files along with codes to load the data are available at the [NBER website](https://data.nber.org/data/current-population-survey-data.html). In order to link the weights to the CPS data, you can use the variable QSTNUM which is a unique household identifier.

2. Once you’ve linked the weights to the raw CPS public use data files, you can link these to your IPUMS CPS extract using the instructions on [this blog post](http://blog.popdata.org/mergecpsfile/).

---

<div class="post-metadata">

**Author:** ![Bill\_Byrnes](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@Bill\_Byrnes](https://forum.ipums.org/u/Bill_Byrnes)\
**Post date:** [August 13, 2021, 8:05pm UTC](https://forum.ipums.org/t/food-security-supplement-questions/2478/5 "2021-08-13T20:05:25Z")

</div>

Thank you, Matthew!

---

<div class="post-metadata">

**Author:** ![Katherine\_Li](https://avatars.discourse-cdn.com/v4/letter/k/a183cd/32.png) [@Katherine\_Li](https://forum.ipums.org/u/Katherine_Li)\
**Post date:** [February 15, 2023, 4:46pm UTC](https://forum.ipums.org/t/food-security-supplement-questions/2478/6 "2023-02-15T16:46:50Z")

</div>

Hi Matthew,

Thanks so much for this helpful information. I’m in the process of linking the raw CPS data with the replicate weights found on NBER, but I’m running into issues loading the raw CPS data (“.dat” extension) into R. Do you have any advice on how to do this? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Ivan\_Strahof](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.ipums.org/ivan_strahof/32/626_2.png) [@Ivan\_Strahof](https://forum.ipums.org/u/Ivan_Strahof)\
**Post date:** [February 23, 2023, 5:34pm UTC](https://forum.ipums.org/t/food-security-supplement-questions/2478/7 "2023-02-23T17:34:08Z")

</div>

Hi Katherine,

You can follow the instructions on the [Introduction to ipumsr page](https://tech.popdata.org/ipumsr/articles/ipums.html). You’ll need to install the ipumsr package and download the DDI codebook provided with your extract to a working directory. Set your working directory with setwd() as the folder with both your datafile and the codebook. Your last step will be to grab the R code in the _command files_ tab of your extract and run it to input the data into R. Please follow up if you are still experiencing any difficulty with the data.
