Skip to content

abline by groups

3 messages · Sam Chand, Uwe Ligges, Richard M. Heiberger

#
On 20.01.2012 16:38, Sam Chand wrote:
1. The code does not run as is.

2. abline for more than two points is nonsense for your data, since the 
groups are not at all on one line.

3. So you may want separate regressions? Or a whole model of the data 
with different intercepts and same slope? Or in one model with different 
intercepts and different slopes?

Hence we cannot help and for now I assume this is a homework problem and 
you have not even repeated the question properly.

Uwe Ligges