Entering edit mode
nickwongga
•
0
@nickwongga-19866
Last seen 6.0 years ago
How do you obtain the R - squared value from the NB line produced in plotMeanVar ?
In the output of plotMeanVar, which values represent the NBline and the Poisson line? I see the Means and Vars, the avemeans and avevars, and the bin.means and bin.vars.
The lines arise from equations, not from vectors of estimates. The Poisson line in particular is obviously just the 1-1 line.
I am puzzled what you're trying to do. If you are trying to assess the adequacy of a Poisson model instead of negative binomial, then R-square is not the way to do it.