Description Usage Arguments Value Examples
View source: R/TempleMetrics.R
the main function for running "local" distribution regressions. This function runs a local regression that is local for a single (scalar) continuous treatment variable. It also allows for other variables but it does not smooth over these variables.
1 2  | 
formla | 
 y ~ t , t must be a single continuous variable  | 
xformla | 
 ~x, x are other (non-smoothed) variables included in the model  | 
data | 
 the dataset  | 
yvals | 
 all the values of y to compute F(y|t,x)  | 
tvals | 
 the values of the continuous treatment to comput F(y|t,x)  | 
link | 
 which link function to use, it can be anything accepted by glm (for example, logit, probit, or cloglog), the default is "logit"  | 
cl | 
 the number of clusters to use, default is 1  | 
a list of llDR objects that are indexed by the values in yvals and tvals
1 2  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.