Displaying 20 results from an estimated 100 matches similar to: "constrOptim - error: initial value not feasible"
2011 Nov 30
1
glm step() fkt
Hi volks,
i have a question about the step() fkt. Is there a possibility to save the
last model generated from this method. I have a loop and so i generate 100
different models with the step fkt and i want to know which model is the
most common.
CODE:
...
missStep -> numeric(100)
for (j in 1:100) {
trainindex <- sample(c(1:462),300)
train <- data[trainindex,]
test <-
2012 Sep 17
2
Constraint Optimization with constrOptim
Hi,
I am having trouble using constrOptim. My target is to do a portfolio optimization and there some constraints have to be fulfilled.
1) The weight of each share of the portfolio has to be greater than 0
2) The sum of these weights has to be 1
I am able to fulfill either the first or the second constraint but not both.
One simple way would be to fulfill the first constraint by using optim as
2001 Sep 25
0
Clusteranalysis
Hello,
in marketing-science field i do some
clusteranalysis and get the experience that
the scale cause the results dramatic!
What recommendation can somebody give me, when i use
nominal-variables(recode to 0/1 variables) with
6 point ordinal-variables.
Is it better toDo a z-transformation with the ordinal variables
, or should i recode this values in 0/1 binaries, too!
P.S.
Which is a good
2007 Sep 07
1
'initial value not feasible' in constrOptim
Dear friends.
I am using function
constrOptim(c(0.5,0.3,0.5), fit.error, fit.error.grr, ui=-1*ui,ci=-1*ci)
and I am confronted with error message "initial value not feasible"
I plug in the initial value of (0.5,0.3,0.5) to function fit.error and
fit.error.grr and have pretty reasonable result. I inequality "ui %*% theta
- ci >= 0" as suggested in the R manual and it is
2013 Aug 22
1
virtio console support feasible?
Hi,
I boot lots of headless virtual machines through Syslinux, and it
bothers me that serial emulation must be turned on for the sake of
bootloader interaction only. Would it be feasible to add virtio console
support to Syslinux besides VGA and serial console? Some PCI utility
functions are certainly there, but is the current architecture up to
early PCI I/O? Or is this something that the BIOS
2008 Aug 06
1
Numerical optimisation and "non-feasible" regions
Dear list,
I'm currently writing a C code to compute the (composite) likelihood -
well this is done but not really robust. The C code is wrapped in an R
one which call the optimizer routine - optim or nlm. However, the
fitting procedure is far from being robust as the parameter space
depends on the parameter - I have a covariance matrix that should be a
valid one for example.
Currently,
2004 May 30
0
Application of tree() to get alternative confidence bounds - is this feasible?
> Hello
>
> I'm currently using Monte Carlo techniques to estimate prices (variable not static) from the following type of data:
>
> << OLE Object: Microsoft Excel Worksheet >>
>
>
>
> Each row is a record from group A and the cells in all but the last column are the volumes of 'widgets' in the record. The last column is the cost of all
2005 Nov 17
0
Is it feasible with R?
My data are (for one experiment):
3 Types of plant (1,2,3)
4 Species per Type (ex:for type 1(a,b,c,d), for type 2(e,f,g,h) and
for type 3(i,j,k,l)
8 Repetitions of each Species
3 Stages (10, 20, 30)
2 Measures per Stages, for the stages 20 and 30 (ex: for Stage 10(C),
for Stage 20 (A and B) and for Stage 30 (A and B)
3 Types x 4 Species(Type) x 8 Repetitions x
2011 Oct 10
1
Linear programming problem, RGPLK - "no feasible solution".
In my post at https://stat.ethz.ch/pipermail/r-help/2011-October/292019.html I included an undefined term "ej". The problem code should be as follows. It seems like a simple linear programming problem, but for some reason my code is not finding the solution.
obj <- c(rep(0,3),1)
col1 <-c(1,0,0,1,0,0,1,-2.330078923,0)
col2 <-c(0,1,0,0,1,0,1,-2.057855981,0)
col3
2015 Oct 01
2
Tinc + OSPF - is it feasible?
Hello,
Please tell me if it's possible to use tinc together with OSPF (instead of
static routes in LAN). By OSPF I mean Quagga's GNU/Linux daemon.
Namely, I have a group of LANs (private 192.168.x.0/24 each).
Each LAN has a GNU/Linux default gateway, 192.168.x.1, that also connects
to the Internet via a public IP address (does NAT and firewall for the LAN
"behind" it).
tinc
2005 Oct 23
2
Is it feasible to cross-build compat5x binary?
Hi folks,
I think we need to update compat5x binary to fix FreeBSD-SA-05:21.openssl,
but will the binaries built by ``make universe'' be identical with actual
build on Alpha, Sparc64, etc? (Yes, I'm volunteering to do the work iff
they are identical ;-)
Cheers,
--
Xin LI <delphij frontfree net> http://www.delphij.net/
See complete headers for GPG key and other information.
2004 Jul 08
9
Is Linux based Router feasible
Hi,
I''ve a local LAN consisting of about 150 machines. I''m using a Linux
machine as the gateway machine which inturn connects to two different
ISPs. My question is can a Linux based machine match the performance of
a hardware based routers provided by Cisco,... OR is my decision to go
for a Linux based solution is a wrong one?.
Is there so much difference between these
2010 Jun 18
1
12th Root of a Square (Transition) Matrix
Dear R-tisans,
I am trying to calculate the 12th root of a transition (square) matrix, but can't seem to obtain an accurate result. I realize that this post is laced with intimations of quantitative finance, but the question is both R-related and broadly mathematical. That said, I'm happy to post this to R-SIG-Finance if I've erred in posting this to the general list.
I've
2009 Feb 08
0
Initial values of the parameters of a garch-Model
Dear all,
I'm using R 2.8.1 under Windows Vista on a dual core 2,4 GhZ with 4 GB
of RAM.
I'm trying to reproduce a result out of "Analysis of Financial Time
Series" by Ruey Tsay.
In R I'm using the fGarch library.
After fitting a ar(3)-garch(1,1)-model
> model<-garchFit(~arma(3,0)+garch(1,1), analyse)
I'm saving the results via
> result<-model
2015 Feb 26
5
[LLVMdev] [RFC] AArch64: Should we disable GlobalMerge?
Hi all,
I've started looking at the GlobalMerge pass, enabled by default on
ARM and AArch64. I think we should reconsider that, at least for
AArch64.
As is, the pass just merges all globals together, in groups of 4KB
(AArch64, 128B on ARM).
At the time it was enabled, the general thinking was "it's almost
free, it doesn't affect performance much, we might as well use it".
2007 Sep 18
0
[LLVMdev] 2.1 Pre-Release Available (testers needed)
On Fri, Sep 14, 2007 at 11:42:18PM -0700, Tanya Lattner wrote:
> The 2.1 pre-release (version 1) is available for testing:
> http://llvm.org/prereleases/2.1/version1/
>
> [...]
>
> 2) Download llvm-2.1, llvm-test-2.1, and the llvm-gcc4.0 source.
> Compile everything. Run "make check" and the full llvm-test suite
> (make TEST=nightly report).
>
> Send
2011 Feb 21
0
[LLVMdev] llvm-gcc4.2 bootstrap broken?
On Feb 19, 2011, at 11:25 AM, Jack Howarth wrote:
> Is anyone able to bootstrap llvm-gcc42 svn on x86_64-apple-darwin10? Currently it is
> failing here with...
It was broken. I think I've fixed it in reverting 125960.
-eric
2011 Feb 22
1
[LLVMdev] llvm-gcc4.2 bootstrap broken?
On Mon, Feb 21, 2011 at 03:58:19PM -0800, Eric Christopher wrote:
>
> On Feb 19, 2011, at 11:25 AM, Jack Howarth wrote:
>
> > Is anyone able to bootstrap llvm-gcc42 svn on x86_64-apple-darwin10? Currently it is
> > failing here with...
>
> It was broken. I think I've fixed it in reverting 125960.
>
> -eric
Eric,
The llvm-gcc42 bootstrap is fixed in
2012 Nov 23
2
[LLVMdev] [cfe-dev] costing optimisations
On 23.11.2012, at 15:12, john skaller <skaller at users.sourceforge.net> wrote:
>
> On 23/11/2012, at 5:46 PM, Sean Silva wrote:
>
>> Adding LLVMdev, since this is intimately related to the optimization passes.
>>
>>> I think this is roughly because some function level optimisations are
>>> worse than O(N) in the number of instructions.
>>
2011 Feb 19
2
[LLVMdev] llvm-gcc4.2 bootstrap broken?
Is anyone able to bootstrap llvm-gcc42 svn on x86_64-apple-darwin10? Currently it is
failing here with...
/sw/src/fink.build/llvm-gcc42-2.9-0/llvm_gcc42_objdir/./prev-gcc/xgcc -B/sw/src/fink.build/llvm-gcc42-2.9-0/llvm_gcc42_objdir/./prev-gcc/ -B/sw/lib/llvm-gcc-4.2/x86_64-apple-darwin10/bin/ -c -g -O2 -mdynamic-no-pic -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes