Hello,
I was hoping someone could help me please.
I am doing my thesis on Inter-Parental conflict and children's mental health. I am going to investigate the differential effects that Verbal IPC, Physical IPC and Co-occurring IPC has on children's mental health as measured by the Argumentative Relationship Scale which has 5 items
and 5 responses per item/
5 item variables Value Labels
are15a1 = 1 -- Never, 2 --Rarely, 3 -- Sometimes, 4 --Often, 5 --Always (Verbal IPC)
are15a2 = 1 -- Never, 2 --Rarely, 3 -- Sometimes, 4 --Often, 5 --Always (Verbal IPC)
are15a3 = 1 -- Never, 2 --Rarely, 3 -- Sometimes, 4 --Often, 5 --Always (Verbal IPC)
are15a4 = 1 -- Never, 2 --Rarely, 3 -- Sometimes, 4 --Often, 5 --Always (Verbal IPC)
are15a5 = 1 -- Never, 2 --Rarely, 3 -- Sometimes, 4 --Often, 5 --Always (Physical IPC)
e.g.,
are15a1 = How often would you and your partner have disagreements regarding child rearing issues?
Please note: co-occurring IPC is represented by a response of Rarely - Always on ANY of the first 4 items and Rarely-Always on the last item
Firstly, I need to establish Verbal IPC, Physical IPC and Co-Occurring IPC variables. But having trouble doing so.
I type in the below code and it gives me an invalid 'are15a2' error so i remove are15a2 just to see what it does, and it gives me invalid 'are15a2' error
Could you please help me?
gen Verbal_IPC = 1 if are15a1 are15a2 are15a3 are15a4 !="1 -- Never" & if are15a5 =="1 -- Never"
gen Physical_IPC = 2 if are15a1!="1--Never"
gen Co_IPC = 3 if are15a1 are15a2 are15a3 are15a4 !="1--Never" & if are15a5 !=="1--Never"
Thank you, really appreciate your help!
I was hoping someone could help me please.
I am doing my thesis on Inter-Parental conflict and children's mental health. I am going to investigate the differential effects that Verbal IPC, Physical IPC and Co-occurring IPC has on children's mental health as measured by the Argumentative Relationship Scale which has 5 items
and 5 responses per item/
5 item variables Value Labels
are15a1 = 1 -- Never, 2 --Rarely, 3 -- Sometimes, 4 --Often, 5 --Always (Verbal IPC)
are15a2 = 1 -- Never, 2 --Rarely, 3 -- Sometimes, 4 --Often, 5 --Always (Verbal IPC)
are15a3 = 1 -- Never, 2 --Rarely, 3 -- Sometimes, 4 --Often, 5 --Always (Verbal IPC)
are15a4 = 1 -- Never, 2 --Rarely, 3 -- Sometimes, 4 --Often, 5 --Always (Verbal IPC)
are15a5 = 1 -- Never, 2 --Rarely, 3 -- Sometimes, 4 --Often, 5 --Always (Physical IPC)
e.g.,
are15a1 = How often would you and your partner have disagreements regarding child rearing issues?
Please note: co-occurring IPC is represented by a response of Rarely - Always on ANY of the first 4 items and Rarely-Always on the last item
Firstly, I need to establish Verbal IPC, Physical IPC and Co-Occurring IPC variables. But having trouble doing so.
I type in the below code and it gives me an invalid 'are15a2' error so i remove are15a2 just to see what it does, and it gives me invalid 'are15a2' error
Could you please help me?
gen Verbal_IPC = 1 if are15a1 are15a2 are15a3 are15a4 !="1 -- Never" & if are15a5 =="1 -- Never"
gen Physical_IPC = 2 if are15a1!="1--Never"
gen Co_IPC = 3 if are15a1 are15a2 are15a3 are15a4 !="1--Never" & if are15a5 !=="1--Never"
Thank you, really appreciate your help!
Comment