generate.quantreg.model | R Documentation |
Generate a quantile regression model on which to risk adjust.
generate.quantreg.model( input.dt, output.variable, covariates, jitter.output.variable = FALSE, quantiles.to.assess = seq(0.25, 0.75, by = 0.1) )
input.dt |
Data.table with output.variable and covariates. |
output.variable |
Character name of outcome to be adjusted. |
covariates |
Character vector of column names to adjust upon. |
jitter.output.variable |
controls whether the output.variable will be jittered. It seems like DAOH is not quite continuous enough for quantreg. Perhaps not inherent to DAOH per se, but related to the distribution of the CheckWHO data (Default: FALSE). |
quantiles.to.assess |
Numeric vector, values between 0 and 1, of models to fit. Output variable will be adjusted by the model associated with the nearest quantile. |
A quantile regression model fitted at requested quantiles.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.