[R] regression constraints?

John P. Burkett burkett at uri.edu
Fri Jan 5 14:56:47 CET 2001


A Bayesian approach to regression with inequality constraints on the
coefficients is to estimate the regression without constraints, sample from
the distribution of the coefficients, discard draws that violate the
inequality constraints, and finally compute summary statistics from the
remaining subsample.  Andrew Gelman et al. explain how to do that in
Bayesian Data Analysis.  I believe they implemented their procedures in
S-Plus.  If any one has written similar programs in R, please let us know.

----- Original Message -----
From: Strumila, John <John.Strumila at team.telstra.com>
To: <R-help at stat.math.ethz.ch>
Sent: Thursday, January 04, 2001 4:56 PM
Subject: [R] regression constraints?


> gday R gurus,
>
> I have a multivariate regression for which I want to constrain the
> coefficients to be > 0.  Is this possible?
>
> I've check the doco and searched CRAN but can't find anything.
>
> thanks,
> John Strumila
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-.-
> r-help mailing list -- Read
http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list