[R] Any 'R-idea' to do the following?

2009-06-23 Thread Jean-Paul Kibambe Lubamba
Hi All, Does anyone could help me to find the right way to do the following: I fixed this linear model: lm(Obs~ A1 + A2 + A3 + A4 -1, data=data); where Ai are land cover classes areas. I have then the Ai coefficients, the structure of the residuals (it can be approximated by a normal

Re: [R] Demande d'informations

2009-06-17 Thread Jean-Paul Kibambe Lubamba
Your French is almost perfect Milton... This is what in fact Carlo is looking for. JP Dear all, If I understood well with my broken french, Carlo are looking for some R solution that do the same as lsmeans that SAS do. Bests milton 2009/6/17 Da MUNDA Carlo carlo_damu...@yahoo.fr

[R] Constraining linear regression model

2009-05-23 Thread Jean-Paul Kibambe Lubamba
Hi All, I have two questions: I am computing a linear regression model with 0 as Intercept. Well, I would like the sum of my predicted values be equal to a constant and therefore analyze if my coefficients are significatively different using or not this constraint. Does anyone know how I can