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
Append one variable after another in the same datasetHello, This is part of my dataset. What I want to do is to append contri_dia2 contri_dia3 contri_d…
Loop for generating new variablesHi all, I am a new user to STATA--can you help me loop the generate new variable command? Is there a…
what to do about missing gender and ethnicity data?Hi all, I am working on a demographic analysis on who is applying for jobs and who is selected, and…
Looping replace functionHello all, I am new to STATA and trying to loop replace function. Is there a way to improve my code?…
Sorting CIs in a ciplot commandHi, I want to plot the CIs for a proportion by country. It would be useful if I could display the C…
Subscribe to:
Post Comments (Atom)
0 Response to Weights in the rdbwselect command
Post a Comment