Description Usage Arguments Details Value Dependencies Author(s) See Also Examples
Computes Poisson regression model. It can be used to fit univariate, multivariate and weighted Poisson models.
1 2 | ds.poisson(formula, learningrate = 0.01, dif = 1e-09, checks = FALSE,
datasources = NULL)
|
formula |
a character that can be coerced to an object of class |
learningrate |
a numeric, controls how much we are adjusting the regression model. |
dif |
a numeric, controls the learning convergence. |
checks |
a boolean, if TRUE (default) checks that verify elements on the server side such checks lengthen the run-time so the default is FALSE and one can switch these checks on (set to TRUE) when faced with some error(s). |
datasources |
a list of opal object(s) obtained after login in to opal servers;
these objects hold also the data assign to R, as |
It is a wrapper for the client side function getDerivative
,
setting the model family
as 'poisson'.
Returns a list with the following components:
call |
the model formula. |
coefficients |
a vector of poisson regression coefficients. |
xtxw |
a data matrix, the Hessian matrix. |
xtyp |
a data matrix, that integrates the computation of derivatives. |
getDerivative
Paula Raissa Costa e Silva
Other regressions: ds.linear
,
ds.logistic
, getDerivative
1 2 3 | {
ds.poisson('D$y ~ D$x')
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.