Home » Topics » Child Health » Rotav Vaccine and nutrition
Re: Rotav Vaccine and nutrition [message #27865 is a reply to message #27862] |
Sat, 14 October 2023 06:25 |
backclac
Messages: 25 Registered: August 2023
|
Member |
|
|
Thank you for the response.
I thought my project should focus only on children under 5 years old who had diarrhoea but I understand you. It should be a Kind of "case" and "control" group.
By standardization or uniformity; I meant using the same target group that had diarrhoea for calculating my indicators. After determining those who had diarrhoea and those who did not.
However, I will use both populations in the calculation as advised.
I am just wondering about the effect of this indicator variable "ch_diar==1" in my syntax below, adopted from CH_DIA.R. on github.
My understanding is to generate only children who answered yes to "Diarrhea in the 2 weeks before the survey" and were exclusively breastfed or breastfeeding. This will be the same for estimating other indicators.
Please how do I submit the cross-tabulation generated from my R syntax for verification? I believe it will help me explain my confusion better.
Example
# //Diarrhea symptoms
```{r}
cgkr <- cgkr %>%
mutate(ch_diar =
case_when(
(h11==1 | h11==2) & b5==1 ~ 1,
b5==1 ~ 0 )) %>%
set_value_labels(ch_diar = c("Yes" = 1, "No"=0)) %>%
set_variable_labels(ch_diar = "Diarrhea in the 2 weeks before the survey")
```
#//# //Diarrhea treatment
```{r}
cgkr <- cgkr %>%
mutate(ch_diar_care =
case_when(
ch_diar==1 &
(h12a == 1 | h12b == 1 | h12c == 1 | h12d == 1 | h12e == 1 | h12f == 1 |
h12g == 1 | h12h == 1 | h12i == 1 | h12j == 1 | h12k == 1 | h12l == 1 |
h12m == 1 | h12n == 1 | h12o == 1 | h12p == 1 | h12q == 1 | h12r == 1 |
h12s == 1 | h12u == 1 | h12v == 1 | h12w == 1 | h12x == 1 ) ~ 1 ,
ch_diar==1 ~ 0)) %>%
set_value_labels(ch_diar_care = c("Yes" = 1, "No"=0)) %>%
set_variable_labels(ch_diar_care = "Advice or treatment sought for diarrhea")
```
## ch_diar==1 & nt_ebf: "Diarrhea in the 2 weeks before the survey" and were/are exclusively breastfed/ breastfeeding???
```{r}
cgkr <- cgkr %>%
mutate(nt_ebf =
case_when(ch_diar==1 &
age<6 & nt_bf_status==1 ~ 1 ,
age<6 & nt_bf_status!=1 ~ 0,ch_diar==1 ~ 0)) %>%
set_value_labels(nt_ebf = c("Yes" = 1, "No"=0 )) %>%
set_variable_labels(nt_ebf = "Exclusively breastfed - last-born under 6 months")
```
I am grateful for your guidance.
|
|
|
|
|
Rotav Vaccine and nutrition
By: backclac on Thu, 10 August 2023 22:01
|
|
|
Re: Rotav Vaccine and nutrition
By: backclac on Tue, 15 August 2023 06:03
|
|
|
Re: Rotav Vaccine and nutrition
|
|
|
Re: Rotav Vaccine and nutrition
|
|
|
Re: Rotav Vaccine and nutrition
By: backclac on Wed, 16 August 2023 11:13
|
|
|
Re: Rotav Vaccine and nutrition
By: backclac on Wed, 23 August 2023 16:11
|
|
|
Re: Rotav Vaccine and nutrition
|
|
|
Re: Rotav Vaccine and nutrition
By: backclac on Thu, 31 August 2023 08:07
|
|
|
Re: Rotav Vaccine and nutrition
By: admin on Thu, 31 August 2023 10:57
|
|
|
Re: Rotav Vaccine and nutrition
By: backclac on Sun, 03 September 2023 21:39
|
|
|
Re: Rotav Vaccine and nutrition
By: backclac on Sun, 03 September 2023 21:48
|
|
|
Re: Rotav Vaccine and nutrition
By: Janet-DHS on Thu, 07 September 2023 17:18
|
|
|
Re: Rotav Vaccine and nutrition
By: backclac on Thu, 07 September 2023 22:13
|
|
|
Re: Rotav Vaccine and nutrition
|
|
|
Re: Rotav Vaccine and nutrition
By: backclac on Wed, 13 September 2023 15:58
|
|
|
Re: Rotav Vaccine and nutrition
By: Janet-DHS on Fri, 15 September 2023 17:36
|
|
|
Re: Rotav Vaccine and nutrition
By: backclac on Sat, 16 September 2023 09:12
|
|
|
Re: Rotav Vaccine and nutrition
By: backclac on Tue, 10 October 2023 22:16
|
|
|
Re: Rotav Vaccine and nutrition
By: backclac on Wed, 11 October 2023 21:52
|
|
|
Re: Rotav Vaccine and nutrition
|
|
|
Re: Rotav Vaccine and nutrition
By: backclac on Sat, 14 October 2023 06:25
|
|
|
Re: Rotav Vaccine and nutrition
|
|
|
Re: Rotav Vaccine and nutrition
By: backclac on Tue, 17 October 2023 21:54
|
|
|
Re: Rotav Vaccine and nutrition
|
|
|
Re: Rotav Vaccine and nutrition
By: backclac on Mon, 23 October 2023 20:08
|
|
|
Re: Rotav Vaccine and nutrition
By: backclac on Thu, 14 December 2023 18:30
|
|
|
Re: Rotav Vaccine and nutrition
|
|
|
Re: Rotav Vaccine and nutrition
By: backclac on Sat, 23 December 2023 01:33
|
|
|
Re: Rotav Vaccine and nutrition
|
|
|
Re: Rotav Vaccine and nutrition
By: backclac on Thu, 04 January 2024 03:27
|
|
|
Re: Rotav Vaccine and nutrition
|
Goto Forum:
Current Time: Sat Nov 30 05:37:27 Coordinated Universal Time 2024
|