Displaying 20 results from an estimated 200 matches similar to: "Questions on converting to ConfBridge"
2010 Sep 09
5
Help on simple problem with optim
Dear all,
I ran into problems with the function "optim" when I tried to do an mle estimation of a simple lognormal regression. Some warning message poped up saying NANs have been produced in the optimization process. But I could not figure out which part of my code has caused this. I wonder if anybody would help. The code is in the following and the data is in the attachment.
da <-
2008 Jan 27
2
Likelihood optimization numerically
Dear List,
I am not sure how should i optimize a log-likelihood numerically:
Here is a Text book example from Statistical Inference by George Casella, 2nd
Edition Casella and Berger, Roger L. Berger (2002, pp. 355, ex. 7.4 # 7.2.b):
data = x = c(20.0, 23.9, 20.9, 23.8, 25.0, 24.0, 21.7, 23.8, 22.8, 23.1, 23.1, 23.5, 23.0, 23.0)
n <- length(x)
# likelihood from a 2 parameter Gamma(alpha,
2015 Feb 14
2
[LLVMdev] Y.A.Project based on LLVM: ParaSail LLVM-Based compiler
ParaSail (http://parasail-lang.org) is a safe pervasively-parallel object-oriented
programming language. Starting in June 2014 we began the construction of an LLVM-based
backend for ParaSail. The existing ParaSail interpreter is broken into a front end that
generates instructions for the "ParaSail Virtual Machine" (PSVM), and an interpreter for
PSVM instructions. The LLVM-based
2007 May 24
3
Problem with numerical integration and optimization with BFGS
Hi R users,
I have a couple of questions about some problems that I am facing with
regard to numerical integration and optimization of likelihood
functions. Let me provide a little background information: I am trying
to do maximum likelihood estimation of an econometric model that I have
developed recently. I estimate the parameters of the model using the
monthly US unemployment rate series
2005 Mar 02
1
Warning: number of items to replace is not a multiple of replacement length
I feel like a complete dolt, as I know this question has been asked by
others on a fairly regular basis, but I'm going in circles trying to get
the following to work:
id.prob<-function (tt)
{
library(mvtnorm)
#============================
Makeham<-function(tt)
{
a2=0.030386513
a3=0.006688287
b3=0.039047537
t<-tt-20
h.t<-a2+a3*exp(b3*t)
S.t<-exp(-a2*t+a3/b3*(1-exp(b3*t)))
2003 Jul 09
2
A problem with using the "outer" function
Hi:
I am using R 1.7.0 on Windows. I am having trouble getting "outer" to
work on one of my functions. Here is a simple example illustrating my
problem:
> b1 <- c(1.2,2.3)
> b2 <- c(0.5,0.6)
> x <- c(3e+01, 1e+02, 3e+02, 5e+02, 1e+03, 1e+04, 1e+05, 1e+06)
> y <- c(2,4,2,5,2,3,1,1)
> n <- c(5,8,3,6,2,3,1,1)
> outer(b1,b2,FUN=bpllkd,x,y,n)
2012 Nov 12
1
Invalid 'times' argument three-category ordered probit with maximum likelihood
Hello,
First time poster here so let me know if you need any more information. I am
trying to run an ordered probit with maximum likelihood model in R with a
very simple model (model <- econ3 ~ partyid). Everything looks ok until i
try to run the optim() command and that's when I get " Error in rep(1,
nrow(x)) : invalid 'times' argument". I had to adapt the code from a 4
2009 Dec 14
1
meetme with review of the entered conference number
Hi there,
I'm using asterisk meetme function like:
exten => 9070,n,MeetMe(|dcM)
and everything works pretty well. But I would like to add a review of
the entered conference number before the user jumps into the conference.
Somthing like:
*:"Please enter the conference number followed by the hash key" (works)
U: 123456# (works)
*: "You are entering conference number
2009 Dec 17
2
[LLVMdev] updated code size comparison
Hi Paolo,
> I would also avoid testcases using volatile. Smaller code on these testcases
> is often a sign of miscompilation rather than optimization. For example,
> http://embed.cs.utah.edu/embarrassing/src_harvested_dec_09/076389.c is
> miscompiled on GCC 3.4 and SunCC 5.10.
Yeah, there are definitely several examples where small code is generated
by miscompilation, especially
2009 Dec 17
0
[LLVMdev] updated code size comparison
> However I would prefer to leave these testcases in, unless there is a
> strong feeling that they are too distracting. They serve as poignant
> little reminders about how easy it is to get volatile wrong...
They skew the results in favor of the less careful compilers so they are more
than simply distracting, they are unfair.
--
Eric Botcazou
2004 Feb 24
2
Statistical Quality Control
Greetings,
I've been familiarizing myself with the features of R over the past few
days. I'm impressed with the quality and quantity of the features and
packages. One feature that I would be interested in would be a package for
statistical quality control. Does a package for statistical quality control
exist that I've been unable to locate?
If not, is anyone aware of efforts to
2009 Nov 12
0
AST_CONFIG, MEETME_INFO and meetme.conf
Hello,
To make my dialplan more robust, I thought I wouldn't include any
meetme-specific rules and I would exlusively rely on meetme.conf data.
For each dialed number, I would check if this number is used as a conference
room number in meetme.conf.
When I'm trying to implement this, I can see that :
1. AST_CONFIG is not convenient to parse lines like "conf=>1234", as
2007 Aug 28
0
Problem with lme using glht for multiple comparisons
Hi everyone,
I am new to R and have a question that relates to unplanned post-hoc comparisons using the multcomp package after a mixed effects model. I couldn't find the answer to it in the archive or in any manual.
I have a dataset in which several plants have been treated in a particular way and a continuous response variable has been measured depending on several leaves per plant. I am
2023 Aug 18
1
does Xapian::Enquire hold an MVCC revision?
On Thu, Aug 17, 2023 at 09:28:26PM +0000, Eric Wong wrote:
> In other words, is it possible to avoid duplicates if new
> documents are inserted into the DB by another process in-between
> ->get_mset calls when reusing Xapian::Enquire objects?
The Database object itself effectively does (it works in a snapshot of
the state of the database when you open it, or last called reopen()
which
2023 Aug 27
1
DatabaseModifiedError while iterating on mset
On Wed, Aug 23, 2023 at 01:53:27PM +0000, Eric Wong wrote:
> I'm already retrying the ->get_mset operations; but now I'm
> wondering where I'd hit DatabaseModifiedErrors while inside a
> Xapian::MSetIterator loop.
>
> I assume ->get_document is a place where it gets thrown;
> but once a document is retrieved, can iterating through
> terms in one document
2023 Aug 28
1
DatabaseModifiedError while iterating on mset
Olly Betts <olly at survex.com> wrote:
> On Wed, Aug 23, 2023 at 01:53:27PM +0000, Eric Wong wrote:
> > I'm already retrying the ->get_mset operations; but now I'm
> > wondering where I'd hit DatabaseModifiedErrors while inside a
> > Xapian::MSetIterator loop.
> >
> > I assume ->get_document is a place where it gets thrown;
> > but
2016 Jul 29
3
Pull requests: CJK words and Snippet generator
Hi James,
thanks for the feedback.
On Thu, Jul 28, 2016, at 00:22, James Aylett wrote:
> This sounds great! I know sufficiently little about CJK that I won't
> try to comment on that at all :)
I've just opened a pull request for the CJK tokenizer:
https://github.com/xapian/xapian/pull/114
> I wonder if we can arrange suitable defaults to use your
> implementation with the
2023 Aug 17
1
does Xapian::Enquire hold an MVCC revision?
In other words, is it possible to avoid duplicates if new
documents are inserted into the DB by another process in-between
->get_mset calls when reusing Xapian::Enquire objects?
I do some expensive processing on each mset window, so I always
limit the results to limit heap usage even if I'm planning on
going through a big chunk of the DB:
$mset = $enq->get_mset(0, 1000);
2016 Jul 30
2
Letor: returning MSet after re-ranking
>
>
> I'd prefer to avoid adding things to the public API that don't get
> used by end users. However because LTR is outside the Xapian build
> tree, we can't easily give it privileged access to Xapian internals.
>
Sorry for a delayed response.
The way I was thinking of performing reranking with updated weights was to
add a class MSetRanker (basically containing a
2014 May 21
2
Some questions about Letor project
Hi all,
Thank you for giving me the opportunity to work with Xapian :) I am Jiarong
Wei, a third year undergraduate student in Zhejiang University, China. In
GSoC 2014, I will work on Letor module with Hanxiao Sun.
Here are some questions I encountered these days,
1. In letor.cc, we have two parts of functions: the training part and
the ranking part. I?ll use SVMRanker as an example. The