search for: prespecified

Displaying 20 results from an estimated 26 matches for "prespecified".

2009 Feb 16
1
Adjusting the Axis in a histogram to the prespecified breaks
...ility (>par(log=TRUE)) which again did not work. Hence if somebody has a recommendation (possibly a link to an older contribution which I did not find using the above searches), that would be great. -- View this message in context: http://www.nabble.com/Adjusting-the-Axis-in-a-histogram-to-the-prespecified-breaks-tp22043635p22043635.html Sent from the R help mailing list archive at Nabble.com.
2006 Apr 07
3
finding common elements in a list
Suppose I have a list where I want to extract only the elements that occur in every component. For instance in the list foo I want to know that the numbers 2 and 3 occur in every component. The solution I have seems unnecessarily clunky. TIA, Andy foo <- list(x = 1:10, y=2:11, z=1:3) bar <-unlist(foo) bartab <- table(bar) as.numeric(names(bartab)[bartab==length(foo)])
2007 Sep 26
2
generate fourth vector based on known correlations
I am trying to generate a fourth vector,z, given three known and fixed vectors, x1,x2,x3 with corresponding known and fixed correlations with themeselves and with z. That is, all correlations are known and prespecified. How can I do this? Thank you, ben
2005 Jan 11
3
Kolmogorov-Smirnof test for lognormal distribution with estimated parameters
Hello all, Would somebody be kind enough to show me how to do a KS test in R for a lognormal distribution with ESTIMATED parameters. The R function ks.test()says "the parameters specified must be prespecified and not estimated from the data" Is there a way to correct this when one uses estimated data? Regards, Kwabena. -------------------------------------------- Kwabena Adusei-Poku University of Goettingen Institute of Statistics and Econometrics Platz der Goettingen Sieben 5 37073 Goettingen G...
2004 Jun 15
1
R: slope estimations of teeth like data
...I need, I need to set some logical vector which will be TRUE when there was a filling time and FALSE during other times. And I need to specify it according a data I have available. Best what I was able to do was to consider filling time as a time when let say diff(yy) >= 0 was between prespecified limits, but you know how it is with real life and prespecified limits. Or I can plot my data against time, manually find out regions which are correct and make a aggregation only with correct data. But there are 24*60*3 values each day so I prefer not to do it manually. Or finally I can...
2004 May 10
3
Colouring hclust() trees
I have a data set with 6 variables and 251 cases. The people who supplied me with this data set believe that it falls naturally into three groups, and have given me a rule for determining group number from these 6 variables. If I do scaled.stuff <- scale(stuff, TRUE, c(...the design ranges...)) stuff.dist <- dist(scaled.stuff) stuff.hc <- hclust(stuff.dist)
2003 Dec 23
1
plot.survfit
Hello, How do I get plot.survfit to draw a survival curve with prespecified time periods, say 1 month, 2, months, 3 months, 6 months, 1 year, 2 years etc) instead of the individual times of all events? Sincerely Fredrik Lundgren
2002 Jan 26
1
Trouble with contrasts
Greetings, I have a nagging problem with contrasts and I can't seem to resolve it. A factor exists with four levels (lib1, lib2, con1, con2) and when I check the contrasts or set the contrasts to any of the prespecified ones, I do not get the exact contrasts necessary to test the theoretically relevant ones. I need orthogonal contrasts that look just like this matrix: con1 con2 con3 lib1 1 0 1 lib2 -1 0 1 con1 0 1 -1 con2 0 -1 -1 How might I ch...
2011 Nov 01
1
Sample size calculations for one sided binomial exact test
...39;m trying to compute sample size requirements for a binomial exact test. we want to show that the proportion is at least 90% assuming that it is 95%, with 80% power so any asymptotic approximations are out of the questions. I was planning on using binom.test to perform the simple test against a prespecified value, but cannot find any functions for computing sample size. do any exist? Thanks, Andrew [[alternative HTML version deleted]]
2001 Aug 10
3
html command index
Dear list, I use R 1.3.0 on Solaris. Today I realized that the html help search engine does not work at the moment (this means that I always get the search engine page again if I try to specify a search word, and click "search" or one of the prespecified topics), presumably since the latest netscape update. Do you have an idea what can be wrong? Perhaps this must be fixed not by the R help but by our system administrator, but... Why is the alphabetical command index of the html help system removed? If I had this index now, I could work around t...
2012 Mar 28
0
Major update: meta version 2.0-0
...(function used internally) - p2logit (function used internally) Functions metabin, metacont, metacor, metagen, metaprop: - new arguments: - hakn (Hartung-Knapp method) - method.tau (estimation method for tau-squared) - tau.preset (fixed value for tau) - TE.tau (prespecified treatment effect to estimate tau) - method.bias (test for funnel plot asymmetry used in metabias) - label.left (Label on left side of forest plot, new argument in functions metabin, metacont, and metagen) - label.right (Label on right side of forest plot, new argument...
2012 Mar 28
0
Major update: meta version 2.0-0
...(function used internally) - p2logit (function used internally) Functions metabin, metacont, metacor, metagen, metaprop: - new arguments: - hakn (Hartung-Knapp method) - method.tau (estimation method for tau-squared) - tau.preset (fixed value for tau) - TE.tau (prespecified treatment effect to estimate tau) - method.bias (test for funnel plot asymmetry used in metabias) - label.left (Label on left side of forest plot, new argument in functions metabin, metacont, and metagen) - label.right (Label on right side of forest plot, new argument...
2013 Mar 07
0
initial starting values with constOptim()
...mate few parameters using the constained maximum likelihood in R and more specifically the constOptim() from the stata package in R. I am programming in Python and using R via the RPy2. In my model, I am assuming that the data follow the Beta-distribution, so I created a simulated dataset by using prespecified values for the parameters and now I am trying to estimate these parameters in order to verify that my estimation program works fine. What I have observed is that my estimation is quite sensitive to the initial parameters. For example I have 11 parameters to estimate (let's call the parameters...
1998 May 29
5
Configuration for binding to "secure" ports?
...am could not pass a bound socket to a child process -- in hindsight an ignorant assumption. So, I have included the basic algorithm in this post. Feel free to remove if you need to.] [mod: As you can read here, I wrote a short (currently 100 lines) program that binds to a port and then execs a prespecified deamon under a specified uid. Now my head is clear, almost the same can be achieved with inetd. Moreover, as the application has to be modified to accept the socket using some mechanism, you could just as well modify it to drop root privs after opening the socket. Oh well. --REW] [---- Start of a...
2005 Jun 10
2
Default Format for Dates?
Is there anyway to preset date formats? I have a date from a cover.dbf that is shown as this: > cover$FINALREPOR [1] "2003-06-24" The numeric value in cover$FINALREPOR is 12227. I'd rather not create another vector to hold the properly formatted date. When I put this in a WordPerfect merge, I want the date to be June 24, 2003. I could take care of the problem in a
2001 Mar 01
2
aggregated CHM help files
A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2490 bytes Desc: not available Url : https://stat.ethz.ch/pipermail/r-help/attachments/20010301/996dcd36/attachment.bin
2005 Apr 14
1
LOCFIT: What's it doing?
Dear R-users, One of the main reasons I moved from GAUSS to R (as an econometrician) was because of the existence of the library LOCFIT for local polynomial regression. While doing some checking between my former `GAUSS code' and my new `R code', I came to realize LOCFIT is not quite doing what I want. I wrote the following example script:
2009 Apr 08
2
Null-Hypothesis
Hello R users, I've used the following help two compare two regression line slopes. Wanted to test if they differ significantly: Hi, I've made a research about how to compare two regression line slopes (of y versus x for 2 groups, "group" being a factor ) using R. I knew the method based on the following statement : t = (b1 - b2) / sb1,b2 where b1 and b2 are the two slope
2012 Mar 22
3
Memory Utilization on R
Hello, I have a 32 GB RAM Mac Pro with a 2*2.4 GHz quad core processor and 2TB storage. Despite this having so much memory, I am not able to get R to utilize much more than 3 GBs. Some of my scripts take hours to run but I would think they would be much faster if more memory is utilized. How do I optimize the memory usage on R by my Mac Pro? Thank you! Kurinji [[alternative HTML version
2011 Jan 05
0
Fwd: Re: Simulation - Natrual Selection
...>>>> rather than putting them into one whole, just to have a look at what >>>> happens. > >>> You can't really have a p-value without a specific hypothesis to test, > -- More precisely: A p-value loses its meaning unless the tested > hypotheses are PRESPECIFIED -- i.e. determined BEFORE looking at the > data. > My hypothesis was specified before I did my experiment. Whilst far from perfect, I've tried to do the best I can to assess rise in resistance, without going into genetics as it's not possible. (Although may be at the next institution...