Displaying 20 results from an estimated 2000 matches similar to: "Logistic regression with coef>0"
1999 Jul 07
1
Linear Models with positive coefficients?
Hi,
is it possible in one of the libraries on linear methods to constrain
the coefficients to
be positive?
Thanks
Chris
--
Christoph M. Friedrich | mailto:friedrich at computer.org
Gesellschaft f?r Modulfermenterbau mbH (GfM mbH) |
http://www.tussy.uni-wh.de/~chris
Alfred-Herrhausen Str. 44 ; D-58455 Witten, Germany
2011 Dec 21
3
Non-negativity constraints for logistic regression
Dear R users,
I am currently attempting to fit logistic regression models in R, where
the slopes should be restricted to positive values. Although I am aware
of the package nnls (which does the trick for linear regression models),
I did not find any solution for logistic regression. If there is any
package available for this purpose, I would be interested to know them.
Alternatively, I realize
2004 Mar 01
1
non-negative least-squares
Hi all,
I am trying to do an inversion of electromagnetic data with non-negative
least squares method (Tikhonov regularisation) and have got it
programmed in S-Plus. However I am trying to move all my scripts from
S-Plus to R.
Is there an equivalent to nnls.fit in R?
I think this can be done with pcls? Right?
S-Plus script: A, L and data are matrices, lambda is a vector of
possible lambda
2012 Oct 19
2
Which package/function for solving weighted linear least squares with inequality and equality constraints?
Dear All,
Which package/function could i use to solve following linear least square
problem?
A over determined system of linear equations is given. The nnls-function may
would be a possibility BUT:
The solving is constrained with
a inequality that all unknowns are >= 0
and a equality that the sum of all unknowns is 1
The influence of the equations according to the solving process is
2007 Oct 15
0
new package 'nnls'
A new package 'nnls' is now available on CRAN.
The package provides an R interface to the Lawson-Hanson NNLS algorithm
for non-negative least squares that solves the least squares problem A x =
b with the constraint x >= 0.
The Lawson-Hanson NNLS algorithm was published in
Lawson CL, Hanson RJ (1974). Solving Least Squares Problems. Prentice
Hall, Englewood Cliffs, NJ.
Lawson CL,
2007 Oct 15
0
new package 'nnls'
A new package 'nnls' is now available on CRAN.
The package provides an R interface to the Lawson-Hanson NNLS algorithm
for non-negative least squares that solves the least squares problem A x =
b with the constraint x >= 0.
The Lawson-Hanson NNLS algorithm was published in
Lawson CL, Hanson RJ (1974). Solving Least Squares Problems. Prentice
Hall, Englewood Cliffs, NJ.
Lawson CL,
2012 Jan 04
0
Non Negative Least Squares Regression with nnls
Hello R experts,
I have two questions related to the nnls library (http://www.inside-r.org/packages/cran/nnls), and more broadly to linear regression with positive coefficients. Sample code is below the Qs.
Q1: Regular regression (with lm) gives me the significance of each variable. How do I get variable significance with nnls? If there's no ready function, any easy way to manually derive
2007 Dec 03
0
new package 'bvls', update of 'nnls'
A new package 'bvls' is available on CRAN.
The package provides an R interface to the Stark-Parker algorithm for
bounded-variable least squares (BVLS) that solves A x = b with the
constraint l <= x <= u under least squares criteria, where l,x,u \in R^n,
b \in R^m and A is an m \times n matrix.
The Stark-Parker BVLS algorithm was published in
Stark PB, Parker RL (1995).
2007 Dec 03
0
new package 'bvls', update of 'nnls'
A new package 'bvls' is available on CRAN.
The package provides an R interface to the Stark-Parker algorithm for
bounded-variable least squares (BVLS) that solves A x = b with the
constraint l <= x <= u under least squares criteria, where l,x,u \in R^n,
b \in R^m and A is an m \times n matrix.
The Stark-Parker BVLS algorithm was published in
Stark PB, Parker RL (1995).
2011 Dec 21
0
Non-negativity constraint for logistic regression
Dear R users,
I am currently attempting to fit logistic regression models in R, where
the slopes should be restricted to positive values. Although I am aware
of the package nnls (which does the trick for linear regression models),
I did not find any solution for logistic regression. If there is any
package available for this purpose, I would be interested to know them.
Alternatively, I realize
2009 Nov 04
1
s4 generic issue
I'm hoping that someone with deeper insight into S4 than I,
that is to say virtually everyone reading this list, could help
resolve the following problem in SparseM. We have
setGeneric("backsolve",
function(r, x, k = NULL, upper.tri = NULL, transpose = NULL,
twice = TRUE, ...)
standardGeneric("backsolve"),
useAsDefault= function(r, x,
2008 May 15
5
Inconsistent linear model calculations
Readers,
Using version 251 I tried the following command:
lm(y~a+b,data=datafile)
Resulting in, inter alia:
...
coefficients
(intercept) a
1.2 3.4
Packages installed:
acepack ace() and avas() for selecting regression
transformations
adlift An adaptive lifting scheme algorithm
akima Interpolation of irregularly spaced
2005 Jan 13
0
IpRoute + NAT problem
Hi, All
Sorry for English
But I need new ideas for my problem
I have a local network, server with 2 Internet channels
Local computers connect to server via VPN.
Task: some users go to Internet through first Internet channel other
through second.
System Suse 9.2, kernel 2.6.8.
I read iproute documentaion and configured routes. Ping from server
go through 2 channels.
ping -I eth_inet1 www.ya.ru -
2001 Nov 20
0
Summary: non-negative least squares
Thank you Brian Ripley, Gardar Johannesson, and Marcel Wolbers for your
prompt
and friendly help! I will share any further learnings as I move through
these suggestions. -Bob Abugov
Brian Ripley wrote:
I just use optim() on the sum of squares with non-negativity constraints.
That did not exist in 1999.
Gardar Johannesson wrote:
You can always just use the quadratic programing library in R
2012 Oct 16
1
nnls() help
I'm trying to get significance of coefficients as for lm() but I news help.
Inviato da iPad
[[alternative HTML version deleted]]
2009 Jul 06
1
Performance degradation on multi-processor system
Hi,
We are seeing performance degradation when running the same R script in
multiple instances of R on a multi-processor system. We are a bit surprised
by this because we figured that each instance of R is running in its own
processor, and therefore running a second, third or fourth instance should
not affect the performance of the first instance.
Here's a test script that exhibits this
2004 Nov 25
2
How to make/recieve call using asterisk when thereis a power failure?
Sorry I dont have any answers, however I do have a question.
I was told that ISDN-30 lines do not work during power failure. Can
anyone with some better knowledge confirm or deny this?
Is this because the ISDN-30 box on the wall requires power (and Telco
providers just dont hook them into UPS as standard)?
Or do they mean if your local circuit has lost power so will the local
digital exchange
2004 Nov 20
1
How to encript SIP comunications?
Hello Fach,
I have used openvpn for a while and in the new release thereis a feature called "server
mode" that makes posible to have a full network of vpn links besides a single TUN/TAP
adaptor (a pure software NIC) in the server. I haven't used that feature, but I think
this is what you need. Also openvpn runs on linux, *bsd, solaris, windows, and maybe in
other OS.
Miguel
>
2001 Mar 14
1
win98-samba2.0.7 = Network collisions
Hi,
I have an Samba 2.0.7 Fileserver on my RedHat 7.0 Linuxbox
Access to the shares with an Linuxclient - all works fine.
When I use an Win98 or WIN ME client, I've got many network collisions.
(Same file and share)
Any ideas ?
Thereis only one socket option set in my smb.conf: socket option = TCP_NODELAY
Network = 100MBit/s Ethernet
Changing of NICs,cables or Hub doesnt't resolve the
1997 Dec 19
1
R-beta: Problems porting nlme to R
I have been trying to port the extension 'nlme' ("Classes and methods to fit
and display linear and nonlinear mixed effects models.")to R found on the
Statlib S site. I am having some difficulty. The c code requires at least
S.h and nonlin.h. R has S.h but not nonlin.h. I'm only a recent convert to
R, and have not used S nor SPlus.
Any help is greatly