I am trying to create a weighted wage, using employment and wage. I tried the following command, but I got a "type mismatch error"
gen weight_for_increase=p10_binned * emp if min_wage_increase == 1
both p10_binned and emp are numeric variables. What would be the correct way to create this weight?
Related Posts with Creating Weights
Show number of respondentsHi Statalist! A quick and (likely) easy question here: I have been searching for ways to find the nu…
Estimating the transcendental and trans log production functionsDear forum I'm new to Stata and would like to inquire about the commands if i want to estimate trans…
boottest now does "bootstrap-c" advocated by Alwyn YoungAt the suggestion of James MacKinnon, I've added an option to boottest that lets you bootstrap the d…
boottest now offers "bootstrap-c" advocated by Alwyn YoungAt the suggestion of James MacKinnon, I've added an option to boottest that lets you bootstrap the d…
Using margins after gsem mlogit model.I am running a multilevel multinomial logit model Code 1: gsem (i.o1<- v1 v2 v3 c1 c2 M1[g1]@1),…
Subscribe to:
Post Comments (Atom)
0 Response to Creating Weights
Post a Comment