similar to: delta and sd parameters for power.t.test

Displaying 20 results from an estimated 1100 matches similar to: "delta and sd parameters for power.t.test"

2010 Jun 24
5
Best way to compute a sum
> a <- 0 ; for(i in (1:200000000)) a <- a + 1/i > b <- 0 ; for(i in (200000000:1)) b <- b + 1/i > c <- sum(1/(1:200000000)) > d <- sum(1/(200000000:1)) > order(c(a,b,c,d)) [1] 1 2 4 3 > b<c [1] TRUE > c==d [1] FALSE I'd expected b being the largest, since we sum up the smallest numbers first. Instead, c is the largest, which is
2009 Oct 22
3
PDF too large, PNG bad quality
I wish to save a scatter plot comprising approx. 2 million points in order to include it in a LaTeX document. Using 'pdf(...)' produces a file of size about 20 MB, which is useless. Using 'cairo_pdf(...)' produces a smaller file, around 3 MB. This is still too large. Not only that the document will be too large, but also PDF viewers choke on this. Moreover, Cairo has problems
2003 May 30
1
power.t.test needs to check delta==NULL before abs(delta) (PR#3139)
Something like the following should be done for power.t.test to make sure that it doesn't try to evaluate abs(NULL), which results in an error. --- rossini.power.t.test.R 2003-05-30 07:24:49.000000000 -0700 +++ rossini.power.t.test.R.~1~ 2003-05-30 08:47:09.000000000 -0700 @@ -10,7 +10,7 @@ alternative <- match.arg(alternative) tsample <- switch(type, one.sample = 1,
2009 Oct 23
1
Distance between axis and label adjusted automatically?
Is there a way to have the distance between label and axis adjusted automatically? This is interesting in particular for the y-axis, when it is not known in beforehand how many digits the numbers will have. It may happen then, that numbers and label overlap. All examples that I found work by estimating the required distance manually in beforehand and then providing large enough margins, or
2008 Mar 04
1
preserve ctimes of *unchanged* directories on receiver
'rsync -a' updates the ctime on a directory even if no file in that directory has changed. A kind of workaround is to use '-O', but then the mtimes of directories are not preserved. (Usage example where this is important: maintain a copy of filesystem A in filesystem B, and use filesystem B as the source for incremental backups (e.g., with star). rsync is run before an
2008 Feb 22
1
--ignore-existing not as expected
Is this correct behavior? File `foo' gets overwritten with directory `foo', even though --ignore-existing is given. % rsync --version rsync version 3.0.0pre10 protocol version 30.PR17 Copyright (C) 1996-2007 by Andrew Tridgell, Wayne Davison, and others. Web site: http://rsync.samba.org/ Capabilities: 64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
2004 May 12
1
Formula of power.t.test
Dear Sir or Madam, What is the formula for power.t.test(delta=delta, sd=segma, sig.level=0.05, power=0.8, type="one.sample", alternative="one.sided")$n? Thank you very much for the help! Best, Xiaorong
2001 Sep 30
1
(No Subject)
Dear all I am very beginner user of R I want to calculate the power of t-test using power.t.test function. It is stated in the manual that the argument (n) is the number of observations per group. Infact I have a differens number of observations in each group(ie n1<>n2) and another thing is SD the pooled standard deviation of the observations in the two data sets under investigation. Hope
2008 Oct 09
3
solve cdf for noncentrality (PR#11527)
Full_Name: Jerry W. Lewis Version: 2.7.0 OS: Windows XP Professional Submission from: (NULL) (198.180.131.16) If you are saying that there is no need to solve for the noncentrality parameter, please justify this amazing assertion. If you are saying that this need is already adequately addressed in R, then please enlighten me.
2004 Sep 23
1
noncentrality paramter in power.anova.test (PR#7244)
Full_Name: Version: 1.9.0 OS: Windows XP Submission from: (NULL) (134.126.93.191) I believe the noncentrality parameter, lambda, in power.anova.test is incorrect. The noncentrality paramter is defined as lambda <- (groups - 1) * n * (between.var/within.var). The n should not be there. The function pf defines the noncentrality parameter as the sum of squares of the means. Therefore, the
2002 Jan 08
1
Memory Allocation in R and S-Plus: And functions from R to S-Plus
Hello Everyone, I've been told that the memory allocation in R and S-Plus is different, with R being better at doing simulations for whatever reason(s). I was wondering if anyone could enlighten me on the differences in the memory usage/allocation (preferably in layman's terms!). The reason I ask this is because of a simulation I am trying to run. In it, I need to use the pt( )
2003 May 30
0
power.t.test needs to check delta==NULL before abs(delta) (PR#3140)
It's the same as PR#2993, fixed yesterday in R-patched & R-devel On Fri, 30 May 2003 rossini@blindglobe.net wrote: > > Something like the following should be done for power.t.test to make > sure that it doesn't try to evaluate abs(NULL), which results in an > error. That's a backwards patch, I presume, or you revert the fix. > --- rossini.power.t.test.R
2002 Mar 12
3
failsafe against "stupid" / careless users
I'm admin on a samba PDC with 150 users, and as normal users they are quit "stupid". This means that they ofte deletes something that shouldnt have been deleted. And I find it anoying to restore their files from tapebackup. So would it be possible to get samba to "move" files instead of deleting them? This way I could allocate a disk to store deleted files for a periode of
2010 Mar 24
6
dispatch.cgi, dispatch.fcgi, dispatch.rb not present in Public folder
I''m doing a series of ruby on rails tutorials and it got to a part where i need to edit the following files that should be automatically inside the public folder: dispatch.cgi,dispatch.fcgi,dispatch.rb but I have none of these inside my public folder. Is there a reason for this? And how can i change it so they are back The only files in my public folder at present are 404.html 500.html
2005 Oct 11
2
Sometimes having problems finding a minimum using optim(), optimize(), and nlm() (while searching for noncentral F parameters)
Hi everyone. I have a problem that I have been unable to determine either the best way to proceed and why the methods I'm trying to use sometimes fail. I'm using the pf() function in an optimization function to find a noncentrality parameter that leads to a specific value at a specified quantile. My goal is to have a general function that returns the noncentrality parameter that
2001 Aug 16
1
Deadlock occurring while opening documents in Notes R5
Version is cvs checkout today at approx 0900 CET. Running on a debian/unstable box with dist-upgrade as of 0830 CET today, and with no windows installed. Problem can easily be reproduced, and deadloc happens everytime I do this. Open database, everything is fine, open document.. wait a few seconds and wine hangs. output from wine: -- err:win32:_EnterSysLevel (0x4075062c, level 2): Holding
2006 Dec 10
1
Noncentral t & F distributions
Dear List: The square of the noncentral t-statistic with noncentrality parameter \delta is a noncentral F with noncentrality parameter \lambda=\delta^2. So, t^2_{\nu,\delta} = F_{1,\nu,\lambda=\delta^2}. Consequently, it should follow that t^2_{1-\alpha/2,\nu,\delta} = f_{1-alpha,1,\vu,\lambda=\delta^2}. However, this is not what is happening with the following code. The central
2006 Jun 13
4
Ruby app to rails?
Hi. Im am considering porting an c++ application to Ruby, and me company would also like to have an web-version of this particular application. If say there is an XML validator in the app. Then can Ruby and RoR share this in an easy way, so i wouldnt have to maintain 2 branches of the same XML validator. Best Regards. Lasse Thomsen -- Posted via http://www.ruby-forum.com/.
2010 Mar 23
7
redirection in format.json ...
I have presently a render :json which modify the current page if @request.save format.html { redirect_to(@request) } format.json { render :json => { :result => ''success'', :request => request_path(@request) } } .... but I would like rather to redirect to an index page I wrote this but it doesn''t redirect ... format.json {
2001 May 02
3
Weird graphical glitches while running notes.
My system is a debian/unstable box. I'm running daily cvs snapshots of wine and Lotus Notes R5.07. The problem is that it seems like wine isn't getting the redraw messages from the application or wine isn't sending the redraw messages to the application. So I get large areas of the program blank/black/see through to old gfx. It especially occurs with frames/framsets in notes. For