I am trying to use the rdbwselect command and it has the the following syntax (from The Stata Journal (2017) 17, Number 2, pp. 372–404)
rdbwselect depvar runvar [if] [in] [, c(cutoff) p(pvalue) q(qvalue) deriv(dvalue) fuzzy(fuzzyvar [sharpbw] ) covs(covars) kernel(kernelfn) weights(weightsvar) bwselect(bwmethod) scaleregul(scaleregulvalue) vce(vcemethod) all ]
where they define : weights(weightsvar) : specifies the variable used for optional weighting of the estimation procedure. The unit-specific weights multiply the kernel function.
Can someone guide me towards what these weights are doing exactly? For instance, if I am using survey data that uses sampling weights, should I be using those weights in this syntax. My confusion stems from the fact that these weights could be representative of the fact that values of the running variable that are closer to the cutoff have a higher probability of receiving the treatment and it does not have to do something with sampling weights in particular. I highly appreciate your time and views!
Related Posts with Weights in the rdbwselect command
Standardizing vs normalizing independent variablesHi, I need help with the following: In my dataset, I have two independent variables A and B. A is t…
Saving tempfiles inside a loopHi everyone, I am currently working on dataset wherein I have imported three datasets and for each …
Incidence Rate for surveillance studyHello, I would like to seek some advice on incidence rate calculation (person-years) for a surveilla…
Where are user-written graph schemes stored (after installing them)?Where are user-written graph schemes stored (after installing them)? I installed the cleanplots sche…
In the same graph combine a graph bar and twoway graphI would like to do a graph which show stack graph bar over years and a second y axis where I could s…
Subscribe to:
Post Comments (Atom)
0 Response to Weights in the rdbwselect command
Post a Comment