If you haven't already done so, please make use of R's search capabilities
before posting.
help.search('constrained regression')
RSiteSearch('constrained regression') ## also available through CRAN's
search functionality.
-- Bert Gunter
Genentech Non-Clinical Statistics
South San Francisco, CA
"The business of the statistician is to catalyze the scientific learning
process." - George E. P. Box
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Bogod
> Sent: Monday, June 05, 2006 1:01 PM
> To: [email protected]
> Subject: [R] Constrained regression
>
> Hi,
> I would like to run a constrained OLS, with the following constraints:
> 1. sum of coefficients must be 1
> 2. all the coefficients have to be positive.
>
> Is there an eas way to specify that in R
>
> Thank you,
> Daniel Bogod
> [EMAIL PROTECTED]
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html