Difference between revisions of "Poisson Regression"

m
Line 2: Line 2:
 
[[Category:Data Analysis Functions]]
 
[[Category:Data Analysis Functions]]
  
= Poisson_regression(Y,B,I,K) =
+
== Poisson_regression(Y, B, I, K) ==
  
 
(''Requires Analytica Optimizer'')
 
(''Requires Analytica Optimizer'')
  
A Poisson regression model is used to predict the number of events that occur, Y, from a vector independent data, B, indexed by K.  The Poisson_regression function computes the coefficients, c, from a set of data points, (B,Y), both indexed by I, such that the expected number of events is predicted by
+
A Poisson regression model is used to predict the number of events that occur, «Y», from a vector independent data, «B», indexed by «K».  The [[Poisson_Regression]] function computes the coefficients, <code>c</code>, from a set of data points, («B»,«Y»), both indexed by «I», such that the expected number of events is predicted by
  
<math>
+
:<math>
 
E(Y) = exp( \sum_k c_k B_k )
 
E(Y) = exp( \sum_k c_k B_k )
 
</math>
 
</math>
  
The random component in the prediction is assumed to be Poisson-distributed, so that given a new data point B, the distribution for that point is  
+
The random component in the prediction is assumed to be [[Poisson]]-distributed, so that given a new data point «B», the distribution for that point is  
  
[[Poisson]](sum(c*B,K)
+
:<code>Poisson(sum(c*B, K)</code>
  
 +
If your dependent variable is continuous, with normally-distributed error, use [[Regression]] or [[RegressionDist]].  If your dependent variable is binomially distributed (i.e., 0,1-valued), use [[Logistic_Regression]] or [[Probit_Regression]].  If your dependent variable models a count, such as the number of events that occur, use [[Poisson_Regression]].
  
If your dependent variable is continuous, with normally-distributed error, use [[Regression]] or [[RegressionDist]].  If your dependent variable is binomially distributed (i.e., 0,1-valued), use [[Logistic_Regression]] or [[Probit_Regression]].  If your dependent variable models a count, such as the number of events that occur, use Poisson_Regression.
+
Note: The distribution here accounts for data variation only, and does not include error in the coefficients <code>c</code>, as the [[RegressionDist]] function does, for exampleSee the description on Secondary Statistics at [[Regression]] for additional information on estimation of error in the coefficients.
  
Note: The distribution here accounts for data variation only, and does not include error in the coefficients c, as the [[RegressionDist]] function does, for example.  See the description on Secondary Statistics at [[Regression]] for additional information on estimation of error in the coefficients.
+
== Library ==
 
 
= Library =
 
  
 
Generalized Regression.ana
 
Generalized Regression.ana
  
= See Also =
+
== See Also ==
 
+
* [[Poisson]]
* [[Regression]], [[RegressionDist]]: When Y is continuous with normally-distributed error
+
* [[Binomial]]
* [[Logistic_Regression]], [[Probit_Regression]]: When Y is binomial (0,1-valued)
+
* [[Regression]]: When Y is continuous with normally-distributed error
 +
* [[RegressionDist]]: When Y is continuous with normally-distributed error
 +
* [[Logistic_Regression]]: When Y is binomial (0,1-valued)
 +
* [[Probit_Regression]]: When Y is binomial (0,1-valued)

Revision as of 19:18, 14 January 2016


Poisson_regression(Y, B, I, K)

(Requires Analytica Optimizer)

A Poisson regression model is used to predict the number of events that occur, «Y», from a vector independent data, «B», indexed by «K». The Poisson_Regression function computes the coefficients, c, from a set of data points, («B»,«Y»), both indexed by «I», such that the expected number of events is predicted by

[math]\displaystyle{ E(Y) = exp( \sum_k c_k B_k ) }[/math]

The random component in the prediction is assumed to be Poisson-distributed, so that given a new data point «B», the distribution for that point is

Poisson(sum(c*B, K)

If your dependent variable is continuous, with normally-distributed error, use Regression or RegressionDist. If your dependent variable is binomially distributed (i.e., 0,1-valued), use Logistic_Regression or Probit_Regression. If your dependent variable models a count, such as the number of events that occur, use Poisson_Regression.

Note: The distribution here accounts for data variation only, and does not include error in the coefficients c, as the RegressionDist function does, for example. See the description on Secondary Statistics at Regression for additional information on estimation of error in the coefficients.

Library

Generalized Regression.ana

See Also

Comments


You are not allowed to post comments.