Skip to content

Commit

Permalink
update outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestguevarra committed Jul 29, 2018
1 parent 17f2bdc commit 5103417
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 25 deletions.
40 changes: 28 additions & 12 deletions docs/hfias.html
Original file line number Diff line number Diff line change
Expand Up @@ -393,15 +393,15 @@ <h3><span class="header-section-number">10.3.2</span> Household Food Insecurity
<ol style="list-style-type: decimal">
<li>Percent of households with anxiety and uncertainty about the household food supply</li>
</ol>
<p><span class="math display">\[ \frac{\text{Number of households with response = 1 to Q1}}{\text{Total number of households responding to Q1}} ~ \times ~ 100 \]</span></p>
<p><span class="math display">\[ \frac{\text{Number of households with Q1 = 1}}{\text{Total number of households responding to Q1}} ~ \times ~ 100 \]</span></p>
<ol start="2" style="list-style-type: decimal">
<li>Percent of households with insufficient good quality</li>
</ol>
<p><span class="math display">\[ \frac{\text{Number of households with response = 1 to Q2 OR 1 to Q3 OR 1 to Q4}}{\text{Total number of households responding to Q2 OR Q3 OR Q4}} ~ \times ~ 100 \]</span></p>
<p><span class="math display">\[ \frac{\text{No. of households with Q2 = 1 OR Q3 = 1 OR Q4 = 1}}{\text{Total no. of households responding to Q2 OR Q3 OR Q4}} ~ \times ~ 100 \]</span></p>
<ol start="3" style="list-style-type: decimal">
<li>Percent of households with insufficient food intake</li>
</ol>
<p><span class="math display">\[ \frac{\text{Number of households with response = 1 to Q5 OR 1 to Q6 OR 1 to Q7 OR 1 to Q8 OR 1 to Q9}}{\text{Total number of households responding to Q5 OR Q6 OR Q7 OR Q8 OR Q9}} ~ \times ~ 100 \]</span></p>
<p><span class="math display">\[ \frac{\text{No. of households with Q5 = 1 OR Q6 = 1 OR Q7 = 1 OR Q8 = 1 OR Q9 = 1}}{\text{Total no. of households responding to Q5 OR Q6 OR Q7 OR Q8 OR Q9}} ~ \times ~ 100 \]</span></p>
</div>
<div id="household-food-insecurity-access-scale-score" class="section level3">
<h3><span class="header-section-number">10.3.3</span> Household Food Insecurity Access Scale Score</h3>
Expand All @@ -411,7 +411,7 @@ <h3><span class="header-section-number">10.3.3</span> Household Food Insecurity
<li><p>Code the <strong>frequency-of-occurrence</strong> as 0 for all cases where the answer to the corresponding occurrence question was <strong>“no”</strong> (i.e., if <strong>Q1=0</strong> then <strong>Q1a=0</strong>, if <strong>Q2=0</strong> then <strong>Q2a=0</strong>, etc.).</p></li>
<li><p>Calculate a HFIAS score variable is calculated for each household by summing the codes for each <strong>frequency-of-occurrence question</strong>. The maximum score for a household is 27 (the household response to all nine frequency-of-occurrence questions was “often”, coded with response code of 3); the minimum score is 0 (the household responded “no” to all occurrence questions, frequency-of-occurrence questions were skipped by the interviewer, and subsequently coded as 0 by the data analyst.) The higher the score, the more food insecurity (access) the household experienced. The lower the score, the less food insecurity (access) a household experienced.</p></li>
</ol>
<p><span class="math display">\[ \text{HFIAS Score} ~ = ~ Q1a ~ + ~ Q2a ~ + ~ Q3a ~ + ~ Q4a ~ + ~ Q5a ~ + ~ Q6a ~ + ~ Q7a ~ + ~ Q8a ~ + ~ Q9a \]</span></p>
<p><span class="math display">\[ \text{HFIAS Score} = Q1a + Q2a + Q3a + Q4a + Q5a + Q6a + Q7a + Q8a + Q9a \]</span></p>
<ol start="3" style="list-style-type: decimal">
<li>Next, the average Household Food Insecurity Access Scale Score, is calculated using the household scores calculated above.</li>
</ol>
Expand All @@ -428,32 +428,48 @@ <h3><span class="header-section-number">10.3.4</span> Household Food Insecurity
<li><p>Calculate a HFIA category variable for each household by assigning a code for the food insecurity (access) category in which it falls. The four food security categories should be created sequentially, in the same order as shown below, to ensure that households are classified according to their most severe response.</p></li>
</ol>
<p><strong>Category 1: Food secure</strong></p>
<p><span class="math display">\[ \text{HFIA category 1 if } [(Q1a = 0 ~ or ~ Q1a = 1) ~ and ~ Q2 = 0 ~ and ~ Q3 = 0 ~ and ~ Q4 = 0 ~ and ~ Q5 = 0 ~ and ~ Q6 = 0 ~ and ~ Q7 = 0 ~ and ~ Q8 = 0 ~ and ~ Q9 = 0] \]</span></p>
<p><span class="math display">\[\begin{aligned}
\text{HFIA category 1 if } &amp; (Q1a = 0 ~ or ~ Q1a = 1) ~ and ~ Q2 = 0 ~ and \\
&amp; Q3 = 0 ~ and ~ Q4 = 0 ~ and ~ Q5 = 0 ~ and ~ Q6 = 0 ~ and \\
&amp; Q7 = 0 ~ and ~ Q8 = 0 ~ and ~ Q9 = 0
\end{aligned}\]</span></p>
<p><strong>Category 2: Mildly food insecure access</strong></p>
<p><span class="math display">\[ \text{HFIA category 2 if } [(Q1a = 2 ~ or ~ Q1a = 3 ~ or ~ Q2a = 1 ~ or ~ Q2a = 2 ~ or ~ Q2a = 3 ~ or ~ Q3a = 1 ~ or ~ Q4a = 1) ~ and ~ Q5 = 0 ~ and ~ Q6 = 0 ~ and ~ Q7 = 0 ~ and ~ Q8 = 0 ~ and ~ Q9 = 0] \]</span></p>
<p><span class="math display">\[\begin{aligned}
\text{HFIA category 2 if } &amp; (Q1a = 2 ~ or ~ Q1a = 3 ~ or ~ Q2a = 1 ~ or \\
&amp; Q2a = 2 ~ or ~ Q2a = 3 ~ or ~ Q3a = 1 ~ or ~ Q4a = 1) ~ and \\
&amp; Q5 = 0 ~ and ~ Q6 = 0 ~ and ~ Q7 = 0 ~ and ~ Q8 = 0 ~ and ~ Q9 = 0
\end{aligned}\]</span></p>
<p><strong>Category 3: Moderately food insecure access</strong></p>
<p><span class="math display">\[ \text{HFIA category 3 if } [(Q3a = 2 ~ or ~ Q3a = 3 ~ or ~ Q4a = 2 ~ or ~ Q4a = 3 ~ or ~ Q5a = 1 ~ or ~ Q5a = 2 ~ or ~ Q6a = 1 ~ or ~ Q6a = 2) ~ and ~ Q7 = 0 ~ and ~ Q8 = 0 ~ and ~ Q9 = 0] \]</span></p>
<p><span class="math display">\[\begin{aligned}
\text{HFIA category 3 if } &amp; (Q3a = 2 ~ or ~ Q3a = 3 ~ or ~ Q4a = 2 ~ or Q4a = 3 ~ or \\
&amp; Q5a = 1 ~ or ~ Q5a = 2 ~ or ~ Q6a = 1 ~ or ~ Q6a = 2) ~ and \\
&amp; Q7 = 0 ~ and ~ Q8 = 0 ~ and ~ Q9 = 0
\end{aligned}\]</span></p>
<p><strong>Category 4: Severely food insecure access</strong></p>
<p><span class="math display">\[ \text{HFIA category 4 if } [Q5a = 3 ~ or ~ Q6a = 3 ~ or ~ Q7a = 1 ~ or ~ Q7a = 2 ~ or ~ Q7a = 3 ~ or ~ Q8a = 1 ~ or ~ Q8a = 2 ~ or ~ Q8a = 3 ~ or ~ Q9a = 1 ~ or ~ Q9a = 2 ~ or ~ Q9a = 3] \]</span></p>
<p><span class="math display">\[\begin{aligned}
\text{HFIA category 4 if } &amp; Q5a = 3 ~ or ~ Q6a = 3 ~ or ~ Q7a = 1 ~ or \\
&amp; Q7a = 2 ~ or ~ Q7a = 3 ~ or ~ Q8a = 1 ~ or ~ Q8a = 2 ~ or \\
&amp; Q8a = 3 ~ or ~ Q9a = 1 ~ or ~ Q9a = 2 ~ or ~ Q9a = 3
\end{aligned}\]</span></p>
<ol start="3" style="list-style-type: decimal">
<li>Next, the prevalence of different levels of household food insecurity (access) is calculated.</li>
</ol>
<ul>
<li>Percentage of households that are <strong>food secure</strong></li>
</ul>
<p><span class="math display">\[ \% ~ \text{households that are food secure} ~ = ~\frac{\text{Number of households with HFIA category = 1}}{\text{Total number of households with a HFIA category}} \]</span></p>
<p><span class="math display">\[ \% ~ \text{households that are food secure} ~ = ~\frac{\text{No. of households with HFIA category = 1}}{\text{Total no. of households with a HFIA category}} \]</span></p>
<ul>
<li>Percentage of households that are <strong>mildly food insecure</strong></li>
</ul>
<p><span class="math display">\[ \% ~ \text{households that are mildly food insecure} ~ = ~\frac{\text{Number of households with HFIA category = 2}}{\text{Total number of households with a HFIA category}} \]</span></p>
<p><span class="math display">\[ \% ~ \text{households that are mildly food insecure} ~ = ~\frac{\text{No. of households with HFIA category = 2}}{\text{Total no. of households with a HFIA category}} \]</span></p>
<ul>
<li>Percentage of households that are <strong>moderately food insecure</strong></li>
</ul>
<p><span class="math display">\[ \% ~ \text{households that are moderately food insecure} ~ = ~\frac{\text{Number of households with HFIA category = 3}}{\text{Total number of households with a HFIA category}} \]</span></p>
<p><span class="math display">\[ \% ~ \text{households that are moderately food insecure} ~ = ~\frac{\text{No. of households with HFIA category = 3}}{\text{Total no. of households with a HFIA category}} \]</span></p>
<ul>
<li>Percentage of households that are <strong>severely food insecure</strong></li>
</ul>
<p><span class="math display">\[ \% ~ \text{households that are severely food insecure} ~ = ~\frac{\text{Number of households with HFIA category = 4}}{\text{Total number of households with a HFIA category}} \]</span></p>
<p><span class="math display">\[ \% ~ \text{households that are severely food insecure} ~ = ~\frac{\text{No. of households with HFIA category = 4}}{\text{Total no. of households with a HFIA category}} \]</span></p>

</div>
</div>
Expand Down
Binary file modified docs/nutrisurvey.epub
Binary file not shown.
Binary file modified docs/nutrisurvey.pdf
Binary file not shown.
40 changes: 28 additions & 12 deletions docs/nutrisurvey.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3707,7 +3707,7 @@ \subsection{Household Food Insecurity Access-related
food supply
\end{enumerate}

\[ \frac{\text{Number of households with response = 1 to Q1}}{\text{Total number of households responding to Q1}} ~ \times ~ 100 \]
\[ \frac{\text{Number of households with Q1 = 1}}{\text{Total number of households responding to Q1}} ~ \times ~ 100 \]

\begin{enumerate}
\def\labelenumi{\arabic{enumi}.}
Expand All @@ -3717,7 +3717,7 @@ \subsection{Household Food Insecurity Access-related
Percent of households with insufficient good quality
\end{enumerate}

\[ \frac{\text{Number of households with response = 1 to Q2 OR 1 to Q3 OR 1 to Q4}}{\text{Total number of households responding to Q2 OR Q3 OR Q4}} ~ \times ~ 100 \]
\[ \frac{\text{No. of households with Q2 = 1 OR Q3 = 1 OR Q4 = 1}}{\text{Total no. of households responding to Q2 OR Q3 OR Q4}} ~ \times ~ 100 \]

\begin{enumerate}
\def\labelenumi{\arabic{enumi}.}
Expand All @@ -3727,7 +3727,7 @@ \subsection{Household Food Insecurity Access-related
Percent of households with insufficient food intake
\end{enumerate}

\[ \frac{\text{Number of households with response = 1 to Q5 OR 1 to Q6 OR 1 to Q7 OR 1 to Q8 OR 1 to Q9}}{\text{Total number of households responding to Q5 OR Q6 OR Q7 OR Q8 OR Q9}} ~ \times ~ 100 \]
\[ \frac{\text{No. of households with Q5 = 1 OR Q6 = 1 OR Q7 = 1 OR Q8 = 1 OR Q9 = 1}}{\text{Total no. of households responding to Q5 OR Q6 OR Q7 OR Q8 OR Q9}} ~ \times ~ 100 \]

\hypertarget{household-food-insecurity-access-scale-score}{%
\subsection{Household Food Insecurity Access Scale
Expand Down Expand Up @@ -3758,7 +3758,7 @@ \subsection{Household Food Insecurity Access Scale
insecurity (access) a household experienced.
\end{enumerate}

\[ \text{HFIAS Score} ~ = ~ Q1a ~ + ~ Q2a ~ + ~ Q3a ~ + ~ Q4a ~ + ~ Q5a ~ + ~ Q6a ~ + ~ Q7a ~ + ~ Q8a ~ + ~ Q9a \]
\[ \text{HFIAS Score} = Q1a + Q2a + Q3a + Q4a + Q5a + Q6a + Q7a + Q8a + Q9a \]

\begin{enumerate}
\def\labelenumi{\arabic{enumi}.}
Expand Down Expand Up @@ -3812,19 +3812,35 @@ \subsection{Household Food Insecurity Access

\textbf{Category 1: Food secure}

\[ \text{HFIA category 1 if } [(Q1a = 0 ~ or ~ Q1a = 1) ~ and ~ Q2 = 0 ~ and ~ Q3 = 0 ~ and ~ Q4 = 0 ~ and ~ Q5 = 0 ~ and ~ Q6 = 0 ~ and ~ Q7 = 0 ~ and ~ Q8 = 0 ~ and ~ Q9 = 0] \]
\[\begin{aligned}
\text{HFIA category 1 if } & (Q1a = 0 ~ or ~ Q1a = 1) ~ and ~ Q2 = 0 ~ and \\
& Q3 = 0 ~ and ~ Q4 = 0 ~ and ~ Q5 = 0 ~ and ~ Q6 = 0 ~ and \\
& Q7 = 0 ~ and ~ Q8 = 0 ~ and ~ Q9 = 0
\end{aligned}\]

\textbf{Category 2: Mildly food insecure access}

\[ \text{HFIA category 2 if } [(Q1a = 2 ~ or ~ Q1a = 3 ~ or ~ Q2a = 1 ~ or ~ Q2a = 2 ~ or ~ Q2a = 3 ~ or ~ Q3a = 1 ~ or ~ Q4a = 1) ~ and ~ Q5 = 0 ~ and ~ Q6 = 0 ~ and ~ Q7 = 0 ~ and ~ Q8 = 0 ~ and ~ Q9 = 0] \]
\[\begin{aligned}
\text{HFIA category 2 if } & (Q1a = 2 ~ or ~ Q1a = 3 ~ or ~ Q2a = 1 ~ or \\
& Q2a = 2 ~ or ~ Q2a = 3 ~ or ~ Q3a = 1 ~ or ~ Q4a = 1) ~ and \\
& Q5 = 0 ~ and ~ Q6 = 0 ~ and ~ Q7 = 0 ~ and ~ Q8 = 0 ~ and ~ Q9 = 0
\end{aligned}\]

\textbf{Category 3: Moderately food insecure access}

\[ \text{HFIA category 3 if } [(Q3a = 2 ~ or ~ Q3a = 3 ~ or ~ Q4a = 2 ~ or ~ Q4a = 3 ~ or ~ Q5a = 1 ~ or ~ Q5a = 2 ~ or ~ Q6a = 1 ~ or ~ Q6a = 2) ~ and ~ Q7 = 0 ~ and ~ Q8 = 0 ~ and ~ Q9 = 0] \]
\[\begin{aligned}
\text{HFIA category 3 if } & (Q3a = 2 ~ or ~ Q3a = 3 ~ or ~ Q4a = 2 ~ or Q4a = 3 ~ or \\
& Q5a = 1 ~ or ~ Q5a = 2 ~ or ~ Q6a = 1 ~ or ~ Q6a = 2) ~ and \\
& Q7 = 0 ~ and ~ Q8 = 0 ~ and ~ Q9 = 0
\end{aligned}\]

\textbf{Category 4: Severely food insecure access}

\[ \text{HFIA category 4 if } [Q5a = 3 ~ or ~ Q6a = 3 ~ or ~ Q7a = 1 ~ or ~ Q7a = 2 ~ or ~ Q7a = 3 ~ or ~ Q8a = 1 ~ or ~ Q8a = 2 ~ or ~ Q8a = 3 ~ or ~ Q9a = 1 ~ or ~ Q9a = 2 ~ or ~ Q9a = 3] \]
\[\begin{aligned}
\text{HFIA category 4 if } & Q5a = 3 ~ or ~ Q6a = 3 ~ or ~ Q7a = 1 ~ or \\
& Q7a = 2 ~ or ~ Q7a = 3 ~ or ~ Q8a = 1 ~ or ~ Q8a = 2 ~ or \\
& Q8a = 3 ~ or ~ Q9a = 1 ~ or ~ Q9a = 2 ~ or ~ Q9a = 3
\end{aligned}\]

\begin{enumerate}
\def\labelenumi{\arabic{enumi}.}
Expand All @@ -3841,31 +3857,31 @@ \subsection{Household Food Insecurity Access
Percentage of households that are \textbf{food secure}
\end{itemize}

\[ \% ~ \text{households that are food secure} ~ = ~\frac{\text{Number of households with HFIA category = 1}}{\text{Total number of households with a HFIA category}} \]
\[ \% ~ \text{households that are food secure} ~ = ~\frac{\text{No. of households with HFIA category = 1}}{\text{Total no. of households with a HFIA category}} \]

\begin{itemize}
\tightlist
\item
Percentage of households that are \textbf{mildly food insecure}
\end{itemize}

\[ \% ~ \text{households that are mildly food insecure} ~ = ~\frac{\text{Number of households with HFIA category = 2}}{\text{Total number of households with a HFIA category}} \]
\[ \% ~ \text{households that are mildly food insecure} ~ = ~\frac{\text{No. of households with HFIA category = 2}}{\text{Total no. of households with a HFIA category}} \]

\begin{itemize}
\tightlist
\item
Percentage of households that are \textbf{moderately food insecure}
\end{itemize}

\[ \% ~ \text{households that are moderately food insecure} ~ = ~\frac{\text{Number of households with HFIA category = 3}}{\text{Total number of households with a HFIA category}} \]
\[ \% ~ \text{households that are moderately food insecure} ~ = ~\frac{\text{No. of households with HFIA category = 3}}{\text{Total no. of households with a HFIA category}} \]

\begin{itemize}
\tightlist
\item
Percentage of households that are \textbf{severely food insecure}
\end{itemize}

\[ \% ~ \text{households that are severely food insecure} ~ = ~\frac{\text{Number of households with HFIA category = 4}}{\text{Total number of households with a HFIA category}} \]
\[ \% ~ \text{households that are severely food insecure} ~ = ~\frac{\text{No. of households with HFIA category = 4}}{\text{Total no. of households with a HFIA category}} \]

\hypertarget{references}{%
\chapter*{References}\label{references}}
Expand Down
Loading

0 comments on commit 5103417

Please sign in to comment.