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
 Add/substract a certain number of WEEKDAYS from a daily dateHi,
I would like to add/substract a certain number of WEEKDAYS from a daily date (rdq). minus 10 an… Add/substract a certain number of WEEKDAYS from a daily dateHi,
I would like to add/substract a certain number of WEEKDAYS from a daily date (rdq). minus 10 an…
 Problem with Greek letters in graphsDear Statalisters,
I have trouble with the Greek letter tau in graph titles.
Running
Code:
sysuse… Problem with Greek letters in graphsDear Statalisters,
I have trouble with the Greek letter tau in graph titles.
Running
Code:
sysuse…
 Multilevel variance conf. interval is not estimableHello all,
I'm examining the association between race of the defendent (5 groups) and the legal pro… Multilevel variance conf. interval is not estimableHello all,
I'm examining the association between race of the defendent (5 groups) and the legal pro…
 How to use -tuples- to do model selection?@Nick CoxDear all,
I want to use -tuples- to do model selection.My code is here,
Code:
webuse grunfeld,clear… How to use -tuples- to do model selection?@Nick CoxDear all,
I want to use -tuples- to do model selection.My code is here,
Code:
webuse grunfeld,clear…
 op. sys. refuses to provide memory - Stata 16Hi,
I am getting the following error. Is there a line I can add to prevent it? Thanks.
Code:
join… op. sys. refuses to provide memory - Stata 16Hi,
I am getting the following error. Is there a line I can add to prevent it? Thanks.
Code:
join…
Subscribe to:
Post Comments (Atom)
0 Response to Weights in the rdbwselect command
Post a Comment