From: David.T on 10 May 2010 13:52 Hi, I'm trying to create a regression model with a large set of covariates. I know the ranges that coefficients for particular covariates should be in and I was wondering if its possible to set it in SAS, such that the output models I receive take those ranges into account. To clarify, say I know that the coefficient for X1 should be between 2-4. Is it possible to set within SAS those boundaries so that any models that it outputs will only have X1's coefficients come out between 2 and 4?
From: Paige Miller on 11 May 2010 08:15 On May 10, 1:52 pm, "David.T" <davidt7...(a)gmail.com> wrote: > Hi, > > I'm trying to create a regression model with a large set of > covariates. I know the ranges that coefficients for particular > covariates should be in and I was wondering if its possible to set it > in SAS, such that the output models I receive take those ranges into > account. > > To clarify, say I know that the coefficient for X1 should be between > 2-4. Is it possible to set within SAS those boundaries so that any > models that it outputs will only have X1's coefficients come out > between 2 and 4? Even if you want a linear regression, I believe the only way to do this in SAS is to use PROC NLIN, with the BOUNDS statement. -- Paige Miller paige\dot\miller \at\ kodak\dot\com
From: David.T on 11 May 2010 09:29 On May 11, 8:15 am, Paige Miller <paige.mil...(a)kodak.com> wrote: > On May 10, 1:52 pm, "David.T" <davidt7...(a)gmail.com> wrote: > > > Hi, > > > I'm trying to create a regression model with a large set of > > covariates. I know the ranges that coefficients for particular > > covariates should be in and I was wondering if its possible to set it > > in SAS, such that the output models I receive take those ranges into > > account. > > > To clarify, say I know that the coefficient for X1 should be between > > 2-4. Is it possible to set within SAS those boundaries so that any > > models that it outputs will only have X1's coefficients come out > > between 2 and 4? > > Even if you want a linear regression, I believe the only way to do > this in SAS is to use PROC NLIN, with the BOUNDS statement. > > -- > Paige Miller > paige\dot\miller \at\ kodak\dot\com Thanks Paige, thats all I needed. Cheers, David T.
|
Pages: 1 Prev: Get SQL Server data from a terminal server with SAS Next: Data Structure |