<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Estimates residual treatment effect when W is discrete.</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="R.css" />
</head><body>

<table width="100%" summary="page for delta.s.estimate.w"><tr><td>delta.s.estimate.w</td><td style="text-align: right;">R Documentation</td></tr></table>

<h2>
Estimates residual treatment effect when W is discrete.
</h2>

<h3>Description</h3>

<p>Estimates residual treatment effect when W is discrete.
</p>


<h3>Usage</h3>

<pre>
delta.s.estimate.w(sone, szero, yone, yzero, wone, wzero, w.all, weight.perturb = NULL)
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>sone</code></td>
<td>

<p>sone
</p>
</td></tr>
<tr valign="top"><td><code>szero</code></td>
<td>

<p>szero
</p>
</td></tr>
<tr valign="top"><td><code>yone</code></td>
<td>

<p>yone
</p>
</td></tr>
<tr valign="top"><td><code>yzero</code></td>
<td>

<p>yzero
</p>
</td></tr>
<tr valign="top"><td><code>wone</code></td>
<td>

<p>wone
</p>
</td></tr>
<tr valign="top"><td><code>wzero</code></td>
<td>

<p>wzero
</p>
</td></tr>
<tr valign="top"><td><code>w.all</code></td>
<td>

<p>w.all
</p>
</td></tr>
<tr valign="top"><td><code>weight.perturb</code></td>
<td>

<p>perturbation weights
</p>
</td></tr>
</table>


<h3>Value</h3>

<p>Returns a vector of length equal to the length of w.all with the estimated residual treatment effect for each w value</p>


</body></html>
