Multilevel Zero-One Inflated Beta Regression Model
-
Login or Register
- Log in with
tempname a b input byte(a b) 1 4 1 6 2 9 3 3 5 . end sort a save `a', replace list drop _all input byte(a c) 1 2 2 8 2 3 3 5 3 6 4 . end sort a save `b', replace list use `a', clear merge m:m a using `b' sort a b c list use `a', clear joinby a using `b', unmatched(both) sort a b c list a b c _merge
select coalesce(a.a, b.a) as a,
a.b, b.c
from one as a full join two as b
on a.a=b.a
order by a,b,c;
input byte(a b) 1 1 1 2 end input byte(a c) 1 3 1 4 1 5 end
. list, clean
a b c _merge
1. 1 1 3 Matched (3)
2. 1 2 4 Matched (3)
3. 1 2 5 Matched (3)
. list a b c _merge, clean
a b c _merge
1. 1 1 3 both in master and using data
2. 1 1 4 both in master and using data
3. 1 1 5 both in master and using data
4. 1 2 3 both in master and using data
5. 1 2 4 both in master and using data
6. 1 2 5 both in master and using data
hep putdocx paragraph
Comment