Displaying 13 results from an estimated 13 matches similar to: "optimize simultaneously two binomials inequalities using nlm( ) or optim( )"
2008 Jul 29
0
optimize simultaneously two binomials inequalities using nlm
Dear R users,
I?m trying to optimize simultaneously two binomials inequalities used to
acceptance sampling, which are nonlinear solution, so there is no simple
direct solution. Please, let me explain shortly the the problem and the
question as following.
The objective is to obtain the smallest value of 'n' (sample size)
satisfying both inequalities:
(1-alpha) <= pbinom(c, n, p1)
2008 Jul 21
0
optimize function help!!
Dear R users,
I?m trying to optimize simultaneously two binomials inequalities used to
acceptance sampling, which are nonlinear solution, so there is no simple
direct solution.
The 'n' represents the sample size and the 'c' an acceptance number or
maximum number of defects (nonconforming) in sample size.
The objective is to obtain the smallest value of 'n' (sample size)
2006 Feb 07
1
MFC/R2 in Brazil
I don?t know if the last message was with content. So, I sent again. I have
installed a Digium card TE210P and unicall for use MFC/R2. I think that it?s
all right but I can?t make and receive calls. I?m using asterisk 2.1 with
the patch made by Jos? P. Leit?o and the follow libs:
libsupertone-0.0.2
libunicall-0.0.3
libmfcr2-0.0.3
zaptel 2.1
My number is 34318300. The Telco send me only 8300.
2010 Jun 24
1
help, bifurcation diagram efficiency
Hello all -
This code will run, but it bogs down my computer when I run it for finer and
finer time increments and more generations. I was wondering if there is a
better way to write my loops so that this wouldn't happen. Thanks!
-Tyler
#################
# Bifurcation diagram
# Using Braaksma system of equations
# We have however used a Fourier analysis
# to get a forcing function
2017 Jun 21
0
Advanced bootstrap question
I have an advanced question about bootstrapping.
There are two datasets. In each bootstrap iteration, I would like to
sample
One observation per cluster from the first dataset.
N observations with replacement from the second dataset.
Right now I am using dplyr::sample_n() for first dataset, with this
sampling embedded in the program that boot() from the boot package is
running to sample the
2005 Dec 22
3
Windows crash in confint() with nls fit (PR#8428)
Full_Name: Ben Bolker
Version: 2.2.1
OS: Windows XP and 2000
Submission from: (NULL) (128.227.60.124)
The following code, using confint() to try
to get confidence intervals on an nls object
that has been fitted with algorithm="port"
reliably crashes R 2.2.0 and 2.2.1 with the
latest version of MASS on a Windows 2000 and
a Windows XP machine here. I *think* earlier
versions of MASS
2006 Feb 09
4
Problem win Unicall
I am having a strange problem with an asterisk servier using R2 Unicall
in Mexico. Most calls go through fine but some of them give me an error like
this:
-- Executing Dial("SIP/86-db41", "Unicall/g2/014448343600") in new stack
-- Called g2/014448343600
Feb 9 21:44:39 WARNING[23069]: chan_unicall.c:2644 handle_uc_event: Unicall/2
event Dialing
Feb 9 21:44:45
2006 Feb 10
1
2wav2mp3, monitor, mixmonitor, mpg123, queues
Hello!
I'm using Asterisk for our office telephony, but we have some problems
that still we can't resolve about it. Here they are:
1) merge in/out call recording files
I also tried to use a script I found on the internet, called 2wav2mp3
In extensions.conf I added the following lines
; script to be executed when monitoring has been finished
MONITOR_EXEC=/usr/local/bin/2wav2mp3
exten
2002 Feb 11
0
profile
I am running 1.3.1 on a Windows (NT 4.0) machine. I've fit a nonlinear
model intended to predict crop yield from nutrient information, and want to
use the profile function. If I type say,
profile(simparj.fm)
I get the following error message:
"Error in prof$getProfile(): number of iterations exceeded maximum of
5.25515e-308"
I used the profiler function to profile simparj,fm step
2008 Sep 16
0
Package implementing unconditional tests for comparing two binomials
Hello,
I am looking for a package implementing unconditional tests for comparing two
binomials (Barnard's test or derivatives). As I am looking for rare genotypes
within my groups, my number of subjects in one of the cells of the 2x2 table
is often 2-4 resulting in a too conservative result by Fisher's exact test due
to the discrete sample space of the test statistic. As I want to use
2005 Nov 28
3
optimization with inequalities
I have to estimate the following model for several
group of observations :
y(1-y) = p[1]*(x^2-y) + p[2]*y*(x-1) + p[3]*(x-y)
with constraints :
p[1]+p[3] >= 1
p[1]+p[2]+p[3]+1 >= 0
p[3] >= 0
I use the following code :
func <- sum((y(1-y) - p[1]*(x^2-y) + p[2]*y*(x-1) +
p[3]*(x-y))^2)
estim <- optim( c(1,0,0),func, method="L-BFGS-B" ,
lower=c(1-p[3], -p[1]-p[3]-1,
2008 Oct 20
2
R 2.8.0 is released
I've rolled up R-2.8.0.tar.gz a short while ago. This is a development
release which contains a number of new features.
Also, a number of mostly minor bugs have been fixed. See the full list
of changes below.
You can get it (later today) from
http://cran.r-project.org/src/base/R-2/R-2.8.0.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you. In case of
impatience, try
2008 Oct 20
2
R 2.8.0 is released
I've rolled up R-2.8.0.tar.gz a short while ago. This is a development
release which contains a number of new features.
Also, a number of mostly minor bugs have been fixed. See the full list
of changes below.
You can get it (later today) from
http://cran.r-project.org/src/base/R-2/R-2.8.0.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you. In case of
impatience, try