Displaying 20 results from an estimated 5000 matches similar to: "Algorithms for coincidences"
2006 Jan 23
1
proposed pbirthday fix
Recent news articles concerning an article from The Lancet with fabricated
data indicate
that in the sample containing some 900 or so patients, more than 200 had
the same
birthday. I was curious and tried out the p and q birthday functions but
pbirthday
could not handle 250 coincidences with n = 1000. The calculation of upper
prior
to using uniroot produces NaN,
upper<-min(n^k/(c^(k-1)),1)
2008 Sep 28
5
birthday problem (factorial limit)
Hi,
I tried to calculate the formula for the birthday problem
(the probability that at least two people out of a group of n people
share the same birthday)
But the factorial-function allows me only to calculate factorials up
to 170.
So is there a way to push that limit?
to solve this formula:
(factorial(365) / factorial((365-23))) / (365^23)
(n=23)
2008 Apr 15
2
Sage <--> R integration
Hi R-Devel,
The Sage project (http://www.sagemath.org) has been working extremely
hard for several
years to create a viable free open source alternative to Maple,
Matlab, Mathematica, and
Magma. Numerous users have requested statistical functionality.
Though Sage includes
scipy and numpy, which have some statistical functionality, we've
decided the best longterm
solution is to strongly
2005 Jan 27
2
Request for help
My name is Michela Marignani and I'm an ecologist trying to solve a problem
linked to knight' s tour algorithm.
I need a program to create random matrices with presence/absence (i.e. 1,0
values), with defined colums and rows sums, to create null models for
statistical comparison of species distribution phenomena.
I've seen on the web many solutions of the problem, but none provides
2004 Jun 25
1
ties in runif() output
I get ties in output from runif() when I generate as few as 10^5
variates and get quite a lot when I generate 10^6. Is this
expected?? I haven't seen any duplication with rnorm(10^6), but
see varying amounts of duplication using rexp(), rbeta() and
rgamma(). I would have thought that there'd be enough precision
that one wouldn't get ties until generating samples larger than this..
2011 Jul 12
1
Avoiding loops to detect number of coincidences
Hi all,
I have this information on a file ht.txt, imagine it is a data frame without
labels:
1 1 1 8 1 1 6 4 1 3 1 3 3
And on other table called "pru.txt" I have sequences similar this
4 1 1 8 1 1 6 4 1 3 1 3 3
1 6 1 8 1 1 6 4 1 3 1 3 3
1 1 1 8 1 1 6 4 1 3 1 3 3
6 6 6 8 1 1 6 4 1 3 1 3 3
I want to now how many positions are identical between each row
in pru compared with ht.
n and m
2018 Oct 16
2
Comprobar los nombres de columnas entre varios dataframes
Buenas tardes,
Quiero aplicar la función rbind y necesito tener los mismos nombres de
columnas. Como tengo unas 195 variables en cada dataframe, necesito
hacerlo de una forma rápida. Tengo 9 bases de datos y tengo que fusionar
todas. ¿Como puedo comprobar que los nombres de las variables son los
mismos? Y de lo contrario, ¿como detecto las diferencias?
He probado con
2005 Jan 27
0
Request for help (reference details)
I referred in my reply to a paper by Diaconis and Sturmfels. The exact
reference is:
Diaconis and Sturmfels, Algebraic algorithms for sampling from conditional
distributions, Ann. Stat 26 (1998) 363-397.
They cite the following:
Besag and Clifford, Generalized Monte Carlo significance tests, Biometrika
76 (1989) 633-42.
which actually contains your problem (section 3, Testing the Rasch model)
2005 Jul 06
4
Tempfile error
Dear List:
I am encountering an error that I can't resolve. I'm looping through
rows of a dataframe to generate individual tex files using Sweave. At
random points along the way, I encounter the following error
Error in file() : cannot find unused tempfile name
At which point Sweave halts. There isn't a logical pattern that I can
identify in terms of why the program stops at
2010 Dec 04
7
Error loading mfc42.dll - failed (error c000007b)
:D Hi,
I installed wine on ubuntu 10.10 to run a windows program as reported here (http://appdb.winehq.org/objectManager.php?sClass=version&iId=22133&iTestingId=59338).
After few trails I decided to reinstall Wine (now version 1.3.8 ), to configure it as instructed by the guide, and than to install again the windows application, Birthday Reminder.
At present the application doesn't
2006 Apr 06
5
pros and cons of "robust regression"? (i.e. rlm vs lm)
Can anyone comment or point me to a discussion of the
pros and cons of robust regressions, vs. a more
"manual" approach to trimming outliers and/or
"normalizing" data used in regression analysis?
2011 Feb 05
2
Re: Error loading mfc42.dll - failed (error c000007b)
:) Hi experts, hi dimesio
Few days ago Wine/Birthday Reminders stopped to run. I suppose that it is a consequence of an automatic updating of Ubuntu and I ask an advice on the best way to solve the issue.
Consider that:
if I run the application clicking on it, as usual, I see the system working and stopping after tens of seconds,
If I run the application by console, this is the code that I get
2001 Apr 21
1
Re: PR#886: Error (?) in documentation of 'swiss'
No, you're quite right, I was wrong. I must have been very confused when I
put up the first 'bug' report, #886. I noticed my error a couple of days
after and put up a comment to that effect on R-bugs, but it seems to have
vanished (or alternatively I did that wrong as well). I agree with you on
the criterion for the choice of districts as well. There remains a minuscule
discrepancy
2006 Dec 08
9
How to update partial attributes of a object from a form?
I have a user table, and it has forty columns, including name, gender,
address, email, phone...
So my @user object will have forty attributes.
I divide these attributes into 4 groups... namely ''general info'',
''personal info'', ''contact info''... and I make separate forms to edit
these 4 different group attributes.
The problem is when I update
2019 Apr 15
2
Happy 15th Birthday, CentOS!
CentOS is 15 years old today!
Hear the story from some of our community members at
https://blog.centos.org/2019/04/centos15-2/
Do you have your own story? Drop me a note - rbowen at centosproject.org -
to tell me about it.
--
Rich Bowen - rbowen at redhat.com
@CentOSProject // @rbowen
859 351 9166
2004 Jun 03
3
Problem with mgcv PACKAGES file format?
Hello All,
I'm getting this error (Version: 1.9.0-1 on a debian system)
> update.packages("mgcv")
trying URL `ftp://mirror.aarnet.edu.au/pub/cran/src/contrib/PACKAGES'
ftp data connection made, file length 169516 bytes
opened URL
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... ..........
2002 May 08
3
mv to /tmp = baby's birthday jpg's lost.
Hello all,
Yesterday I moved using the mv command in Redhat 7.2 ext3 file system to
move to /tmp my /mnt/win98/"My Pictures" directory to tmp. The command
executed normally, and I actually verified that the subdir was created
in /tmp and the files were there in /tmp/"My Pictures"
I was doing this to temporarily free space on my vfat windows 98
partition. When I went
2006 May 10
2
Rails, Postgres and the Date Field.
Hi guys,
I''m having problems with my app. First of all, I created a date_select
with the code:
<%= date_select(''contact'', ''birthday'', :order => [''day'',''month'',''year'']) %>
In the contacts table, I create a date field:
birthday DATE
When I save the values goes wrong into the database.
2000 Oct 26
3
Happy Birthday portable OpenSSH!
It was one year ago today that I released a patch to get OpenSSH
compiling on Linux. I had no idea just how much trouble releasing that
patch would get me into :)
Within days I was inundated with patches, improvements and portability
enhancements - contributions which have made portable OpenSSH the
success it is today.
So allow me to thank the current developers and all of you who have
2010 Jul 19
2
two fields for same
hello guys,
it''s possible pass two params in a GET request to the same location in the
database?
example:
two fields in view:
text_field: persons,: Birthday: id => one
text_field: persons,: Birthday: id => two
in the controller using params [: one] and params [: two]
?
thank''s.
--
You received this message because you are subscribed to the Google Groups "Ruby on