Hi, I have a problem to understand the use of subsets of data while running a regression model.

In particular, I am using sm.regression with these commands 

plot(lndip96,gdip,col=1,type= "n")
sm.regression(add=T,lndip96,gdip)

and I must run this model for two subsets of the data; in particular for lndip<=2.7 and for lndip>2.7.

Thank you in advance for your help

Roberto Basile
ISAE (Istituto di Studi e Analisi Economica)
Piazza Indipendenza, 4 
Roma
Tel. 06-44482874
Cell. 3286165588

	[[alternative HTML version deleted]]


