⚲
Project
General
Profile
Sign in
Register
Home
Search
:
Understanding Society User Support
All Projects
Understanding Society User Support
Overview
Activity
Issues
Download (817 Bytes)
Support #1988
ยป UserForum_Issue1986.do
Understanding Society User Support Team
, 10/30/2023 01:24 PM
qui
use
"$ms/l_indresp"
,
clear
merge
1
:
1
pidp
using
"$ms/l_indall"
,
keepus
(
l_ff_everint
)
///
keep
(
1
3
)
nogen
generat
elig
=
0
replace
elig
=
1
if
///
inlist
(
l_indmode
,
1
,
2
)
///
&
(
l_jbhas
==
1
|
l_jboff
==
1
)
///
&
(
(
l_ff_ivlolw
~=
1
&
l_ff_everint
~=
1
)
|
((
l_ff_ivlolw
==
1
|
l_ff_everint
==
1
)
&
(
l_ff_jbstat
<
0
|
l_ff_emplw
<
0
))
)
replace
elig
=
2
if
///
inlist
(
l_indmode
,
3
)
///
&
(
l_jbhas
==
1
|
l_jboff
==
1
)
///
&
(
(
l_ff_ivlolw
~=
1
&
l_ff_everint
~=
1
)
|
///
((
l_ff_ivlolw
==
1
|
l_ff_everint
==
1
)
&
(
l_ff_jbstat
<
0
|
l_ff_emplw
<
0
))
)
replace
elig
=
3
if
///
inlist
(
l_indmode
,
1
)
&
l_iproxy
==
1
///
&
l_ivfio
==
2
///
&
(
l_jbhas
==
1
|
l_jboff
==
1
)
g
l_jbbgy_inapp
=
(
inlist
(
l_jbbgy
,
-7
,
-8
))
ta
l_jbbgy_inapp
elig
,
m
ta
l_indmode
l_ivfio
if
elig
>
0
&
l_jbbgy_inapp
==
1
ta
l_indmode
l_ivfio
if
elig
==
0
&
l_jbbgy_inapp
~=
1
(1-1/1)
Loading...