Displaying 20 results from an estimated 800 matches similar to: "Dirichlet surface"
2012 Nov 05
0
slider control questions
DeaR UseRs,
I have the following code (see below).
It is working as expected although I have two problems/questions:
- how can I set the size of the graph? It may sound silly, but I couldnt figure that out
- is it possible to export this small "interactive aplication" to html or a latex document, or maybe pdf?
Thank you for your attentions.
Best wishes:
Daniel
the code:
2005 Apr 17
1
nls segmented model with unknown joint points
Hello,
I am interested in fitting a segmented model with unknown joint points
in nls and perhaps eventually in nlme. I can fit this model in sas (see
below, joint points to be estimated are a41 and a41), but am unsure how
to specify this in the nlm function. I would really appreciate any
suggestions or example code. Thanks a lot. -andy
proc nlin data=Stems.Trees;
params b41=-3 b42=1.5
2010 Nov 10
3
create a pairwise coocurrence matrix
Hi all,
I am trying to construct a pairwise coocurrence matrix for certain terms
appearing in a number of documents. For example I have the following table
with binary values showing the presence or absence of a certain term in a
document:
term1 term2 term3 term4 term5 doc1 1 1 0 0 1 doc2 1 1 0 1 1 doc3 1 0 0
0 1
And I want to have a matrix with the number of the pairwise coocurrencies.
So,
2007 Jan 01
4
Help with filled.contour()
The following plot is a first approximation to what I need:
***********************************
mu1 <- 0
mu2 <- 5
s <- 1
x <- seq(-2.5, 7.5, length = 41)
y <- seq(-2.5, 2.5, length = 41)
f <- function(x,y){
term1 <- 1/(2*pi*sqrt(s*s))
term2 <- -1/2
term3 <- (x - mu1)^2/s
term4 <- (y - mu1)^2/s
term5 <- (x - mu2)^2/s
term1*(.5 * exp(term2*(term3 + term4)) + .5 *
2006 Aug 24
1
Hyphenated terms
I am having a problem with any terms which contain hyphens in them. Is
there a particular reason why this wouldn''t work? i''m using aaf, and
have tried with the the previous version (pre 0.10.0) and the newest
versions of both ferret and aaf. Basically, the problem is that
term1-term2 is something my users want to search for, and it appears in
the titles of publications,
2007 Sep 12
1
Integrate() error message, I am at a loss
Hello!
I have a problem with integrate() in my function nctspa(). Integrate
produces an error message "evaluation of function gave a result of
wrong length". I don't know what that means. Could anyone suggest me
what is wrong with my function?
These are the examples of function calls that work OK:
nctspa(a=1:10,n=5)
nctspa(a=1:10, n=5, mu=2, theta=3, renorm=0)
This does not work:
2007 Jun 15
0
Question with nlm
Hi,
I would really appreciate if I could get some help here. I'm using nlm to minimize my negative log likelihood function. What I did is as follows:
My log likelihood function (it returns negative log likelihood) with 'gradient' attribute defined inside as follows:
# ==========Method definition======================
logLikFunc3 <- function(sigma, object, totalTime) {
y <-
2003 Oct 03
3
openoffice port build on FreeBSD 4.9
I am very new to FreeBSD and Unix in general. I may
have more problems than I think, but here goes. I am
trying to make depend && install WITH_BSD_JDK=TRUE
clean with openoffice. Everything works fine until I
get to the jvm section (seen below). I have tried
looking for this on the net, but I have not been to
successful in finding a solution.
Thanks for your help.
Stephen
2019 Sep 18
1
[nbdkit PATCH] server: Saner filter .close calls
I found a core dump:
term1$ nbdkit -fv --filter=xz null xz-max-depth=$((0x4000000000000000))
term1...
term2$ qemu-nbd --list
term1...
nbdkit: debug: null: open readonly=1
nbdkit: error: calloc: Cannot allocate memory
nbdkit: debug: xz: close
Segmentation fault (core dumped)
(Note that the use of --run or daemonizing nbdkit makes it a bit
harder to see the core dump, but it is still happening.)
2019 Jan 22
2
Re: [PATCH nbdkit v2 2/4] partition filter: Support MBR logical partitions.
On 1/21/19 12:15 PM, Richard W.M. Jones wrote:
> ---
> filters/partition/nbdkit-partition-filter.pod | 5 -
> filters/partition/partition-mbr.c | 105 +++++++++++++++++-
> tests/test-partitioning1.sh | 22 +++-
> 3 files changed, 121 insertions(+), 11 deletions(-)
>
> @@ -69,16 +75,16 @@ find_mbr_partition (struct nbdkit_next_ops *next_ops,
2017 Nov 13
2
question on nbdkit shutdown behavior
I'm observing a difference in timing on nbdkit shutdown that is
dependent on client behavior, and I wonder if that's a bug, but I can't
figure out where to patch it.
When there is no connection present, sending SIGINT to nbdkit terminates
immediately.
If, on the other hand, there is a single client currently connected, the
termination behavior on SIGINT depends on what the client has
2013 Jun 16
3
Backend for Lucene format indexes-How to get doclength
Hi, all:
I have wrote a demo patch for Backend for Lucene format indexes, Lucene
version is 3.6.2.
http://lucene.apache.org/core/3_6_2/fileformats.html
Now, this demo patch just support the basic features in Lucene. Compound
File(.cfs/.cfe)?term vector(.tvx/.tvd/.tvf)
delete document(.del) are not supported, skip list in .fdx is not supported
too
example/quest.cc is used to test this demo.
2007 Aug 16
0
Help with optimization using GENOUD
Dear Friends,
I have been trying to learn how to use the derivative free optimization algorithms implemented in the package RGENOUD by Mebane and Sekhon. However, it does not seem to work for reasons best described as my total ignorance. If anybody has experience using this package, it would be really helpful if you can point out where I'm making a mistake.
Thanks in advance
Anup
Sample
2007 Feb 03
1
Searching the archives
Hello
Is there a method of searching the archives? Please direct me to the
instructions.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070203/d0082d98/attachment.html>
2007 Sep 12
0
Problem with integrate()
Hello!
I have a problem with integrate() in my function nctspa(). Integrate
produces an error message "evaluation of function gave a result of
wrong length". I don't know what that means. Could anyone suggest me
what is wrong with my function?
These are the examples of function calls that work OK:
nctspa(a=1:10,n=5)
nctspa(a=1:10, n=5, mu=2, theta=3, renorm=0)
This does not work:
2006 Sep 18
1
Simulation of a Dirichlet Process.
I'm just getting started with R, having a lot of original work on
modeling and exploring the simulation by MCMC. I want to simulate the
prior and the posterior distribution of Dirichlet Process by MCMC.
Is there anyone in NYC that might be a good
tutor for me?
--
Dr. P. NGOM,
Facult? des Sciences et Techniques
D?partement de Math?matiques et Informatique
Universit? Cheikh Anta Diop Dakar -
2006 Sep 19
1
help on dirichlet distribution
Dear Gregory R. Warnes,
I'm a phd student in statistics, at the University of Milano Bicocca.
I'm interested to the methods of estimate the parameters of the Dirichlet distribution.
Do you have implemented an algorithm in R?
If so, can you give me the script? or, in general, some helps?
Best Regards
Gianna
---------------------------------------------------------------
Gianna Monti
2007 Nov 04
3
Searching different fields based on document permissions
I''m currently writing a system that stores user-created documents. Each
user belongs to a specific group, and the system supports multiple
groups. The thing is, my users want to be able to hide pieces of a
document from other groups. So for example, lets say Joe of team A has
written this document:
"Hello all, our secret plan is finally complete! <private>We will
begin
2013 May 12
1
Multinomial-Dirichlet using R
Hi:
I have asked this question on Cross-Validated. So it might be a cross
posting but havent received any responses to it.
I am trying to see which distribution will best fit the data I am working
on. The dataset is as following:
Site Nausea headache Abdominal Distension
1 17 5 10
2 12
2005 Nov 04
2
Simplify iterative programming
Dear,
I am looking for the simplification of a formula to improve the
calculation speed of my program. Therefore I want to simplify the
following formula:
H = sum{i=0..n-1 , [ sum {j=0..m-1 , sqrt ( (Ai - Bj)^2 + (Ci -
Dj)^2) } ] }
where:
A, C = two vectors (with numerical data) of length n
B, D = two vectors (with numerical data) of length m
sqrt = square root
Ai = element of A with index