similar to: Calculating conditional mean of large series of experiments

Displaying 20 results from an estimated 700 matches similar to: "Calculating conditional mean of large series of experiments"

2008 Apr 29
7
How do you test for "consecutivity"?
I need to use R to model a large number of experiments (say, 1000). Each experiment involves the random selection of 5 numbers (without replacement) from a pool of numbers ranging between 1 and 30. What I need to know is what *proportion* of those experiments contains two or more numbers that are consecutive. So, for instance, an experiment that yielded the numbers 2, 28, 31, 4, 27 would be
2012 Oct 01
1
Retrieve hypergeometric results in large scale
I'm going to use dhyper(x, m, n, k) to get a 95% coverage. Let me use an example to explain my problem: Suppose I have a urn containing 90 red and 10 black balls. Now I wanna remove 3 from the urn. By the following codes: m<-90;n<-10;k<-3; x<-0:3 dhyper(x,m,n,k) I can obtain the probability that 0,1,2,3 red balls will be removed. 0.000742115 0.025046382 0.247680891
2003 Oct 01
1
hypergeometric & population estimates
"help" We want to estimate the number of caribou in Jasper. We recently conducted an aerial survey and saw 70 uncollared caribou and 8 of 11 collared caribou. We want to estimate the number of caribou in this population with 95% confidence limits. Gary White uses the hypergeometric distribution and determines the population estimates using maximum likelihood and 95%CL as
2006 Feb 28
3
EventPublisher (contribution)
I got a lot of great help yesterday on my calendar questions. Makes me want to post another contribution :-) This one is called EventPublisher. This was packaged also in Marco Jaeger''s recent post with his excellent Dialogs (a la Windows), but now I''ll post it by itself in case someone missed it, and also give a little explanation for ya''ll. This class allows you to
2010 Mar 30
1
Multivariate hypergeometric distribution version of phyper()
Dear R Users, I employed the phyper() function to estimate the likelihood that the number of genes overlapping between 2 different lists of genes is due to chance. This appears to work appropriately. Now i want to try this with 3 lists of genes which phyper() does not appear to support. Some googling suggests i can utilize the Multivariate hypergeometric distribution to achieve this. eg.:
2006 Dec 09
7
Simulation with R
An apparatus exists whereby a collection of balls is displaced to the top of a stack by suction. A top level (Level 1) each ball is shifted 1 unit to the left or 1 unit to the right at random with equal probability. The ball then drops down to level 2. At Level 2, each ball is again shifted 1 unit to the left or 1 unit to the right at random. The process continues for 15 levels and the balls are
2011 Mar 13
1
Binning data
Hello I have a large series of data value -- effectivly say the point across the x-axis where a pitch crosses home plate. What I want to do is find the % of ground balls at various distances across home plate. I therefore need to 'bin' the two data sets I have - plate location for ground balls and plate location for all other outcomes. Question is how can I set up a series of bins
2011 Nov 15
1
R Program
Can someone help me out with this problem? Write an R program to draw 10,000 random samples using the Polya Urn Scheme where the initial contents of the urn is one white ball and one black ball. Accumulate the proportion of white balls after each draw into one vector. Upload your R script file. HINT: You can simulate sampling one ball from an urn with N balls of which w are white and N - w are
2007 Sep 28
2
Plots with discontinuity balls
Dear All, Can R plot graphs like the one at http://www.mathwords.com/f/f_assets/floor_graph.gif with the balls at the discontinuity points? Thanks in advance, Paul
2009 Mar 29
4
Constrined dependent optimization.
I have an optimization question that I was hoping to get some suggestions on how best to go about sovling it. I would think there is probably a package that addresses this problem. This is an ordering optimzation problem. Best to describe it with a simple example. Say I have 100 "bins" each with a ball in it numbered from 1 to 100. Each bin can only hold one ball. This optimization is
2008 Apr 11
3
Sucessful Upgrade from 3.0.4 to 3.2 anyone?
Hi, Has anyone actually successfully completed an upgrade from 3.0.4 to 3.2 using tar balls? Ive tried various ways but everytime the compile is complete the system just constantly reboots. Ive managed to upgrade fine from other version like 3.0.1 etc but 3.1 and 3.2 are just a nightmare. Ive spent hours on this and am getting nowhere fast. If anyone has any tips they would be
2008 Jun 24
2
logistic regression
Hi everyone, I'm sorry if this turns out to be more a statistical question than one specifically about R - but would greatly appreciate your advice anyway. I've been using a logistic regression model to look at the relationship between a binary outcome (say, the odds of picking n white balls from a bag containing m balls in total) and a variety of other binary parameters:
2007 Sep 13
2
[LLVMdev] LLVM 2.1 Release Branch Created!
LLVMers, The LLVM 2.1 release branches have been created! Over the next 2 days, I will be generating the pre-release tar balls. I will send out mail once I am done and then the community pre-release testing will begin. I'll also be sending out detailed instructions and the release schedule. Full svn access is restored. Thanks for your patience! Thanks, Tanya Lattner
2008 Feb 26
2
HD Failures
I'm just curious if any one else has noticed this. I've bought hard drives from both Walmart and Best Buy. If I can wait, I order them from newegg.com. I'm beginning to think that the staff at both Walmart and Best Buy, somewhere along the supply line must dribble the drives like basket balls. The reason I say that is all the drives I have bought from those two places fail within a few
2006 Jan 18
1
phyper returns 1 if x==k (PR#8499)
Full_Name: Utz J. Pape Version: 2.2.0 OS: linux Submission from: (NULL) (141.14.23.12) If I use phyper and set parameter x equal to k (meaning that all balls I draw are white) phyper returns 1 which is not (always) correct: pape at xxx:~> R2.2.0 --vanilla R : Copyright 2005, The R Foundation for Statistical Computing Version 2.2.0 (2005-10-06 r35749) ISBN 3-900051-07-0 R is free software
2007 May 09
2
[LLVMdev] 2.0 Release Process
The release branch has been created and the llvm-gcc mirror updated (thanks Bill!). I will be doing some preliminary testing before I request the help of the community to test the release. During this time, I ask that developers only commit documentation changes to the release branch and email the list with any bug fixes that need to be merged into the release branch. Bug fixes have to be
2006 Jul 10
3
Plurals and synonym lists
I want to correct spelling errors automatically. I have used search in the past where I can pass an argument through standard search to correct a word with up to 2 spelling errors for example or do the more Google like "Did ya mean?". In this case I just want to change it automatically and search. I am not too interested in specifying the number of characters it is out by. What is
2004 Aug 06
2
icecast.conf and wwwadmin
I recently installed for the first time: icecast latest version: 1.3.12 ices latest version: 0.2.3 Things are moving along pretty well. Found out that I needed libxml-devel as well as the regular libxml to get the ices XML conf file read. Otherwise, functionality is great. CPU usage is low and Im very happy. My question is... the docs say I need to set the http_admin to 1 to allow access to web
2007 Dec 11
1
locate rpm spec files
Hi I _have_ to use the following software versions on CentOS4 and RHEL4 Apache 2.0.53 mod_jk 1.2.22 Tomcat 5.5.9 Java 1.5.0_06 Can anyone point me to the spec files for these that i can use against the source tar balls or better yet a source rpm? thanks!
2009 Feb 05
1
Release plans for Compiz 0.8.0
The Compiz 0.8.0 release will be the first release to include what was formerly known as Compiz Fusion. A complete feature and string freeze for Compiz 0.8 is in effect from Friday 5th of February, 23:59 GMT. I urge anyone with patches to submit them ASAP, regardless of their state. During most of Saturday, possibly spilling into Sunday, Compiz 0.8 will be branched and made ready for release.