Displaying 20 results from an estimated 400 matches similar to: "IMPORTANT!!!! PLEASE HELP ME"
2009 May 13
2
Problems with randomly generating samples
Dear R users,
Can anyone please tell me how to generate a large number of samples in R, given certain distribution and size.
For example, if I want to generate 1000 samples of size n=100, with a N(0,1) distribution, how should I proceed?
(Since I dont want to do "rnorm(100,0,1)" in R for 1000 times)
Thanks for help
Debbie
2009 May 21
1
Need help on ploting Histograms
this is the command i made for a normal distribution, but when i try to plot
the histograms, i dont know why the bars don't stick on the line...
nsamples<-1000
sampsize<-15
Samples<-matrix(rnorm(nsamples*sampsize,0,1),nrow=nsamples)
a<-apply(Samples,1,var)
NC14<-a*14
x<-0:40
plot(x,dchisq(x,14),type='h')
hist(NC14,freq=F,add=T)
--
View this message in context:
2020 May 24
1
doveadm backup : Error: Failed to access mailbox
Hi All,
So close and yet so far.? ;-(
Have been migrating users from an old Dovecot server to a new one.
All of the users have doveadm backup'd perfectly, except for one !
What does the below mean ?
$ sudo doveadm -v -o imapc_user=jd at example.org.tld -o imapc_password=secretSquirrel -o imapc_host=old-server.example.com backup -1 -R -u jd at example.org.tld imapc:
dsync(jd at
2014 May 30
3
[LLVMdev] LLVM multithreading
Hello,
I'm interested in development of multi threaded applications using LLVM. I
would like to ask, is there a possibility in LLVM to create several
threads, executing software concurrently, while sharing the same memory
space?
If yes, on which level this can be done (e.g. context, execution
engine,...)?
Best regards,
Jasmin JAHIC
-------------- next part --------------
An HTML attachment
2014 May 30
3
[LLVMdev] LLVM multithreading
Hi Bruce,
thank you for your answer.
What I want to know is following: Imagine that I create threads in some
way. I want threads to execute the same BC, while using the same memory
space. I know that LLVM IR has a nice structure: Context - Module -
Execution engine. Is there a way to run several instances of LLVM (using
threads for example) with the same memory space?
On Fri, May 30, 2014 at
2014 May 30
2
[LLVMdev] LLVM multithreading
On 30 May 2014 11:01, David Chisnall <David.Chisnall at cl.cam.ac.uk> wrote:
> I think your question is a result of misunderstanding the nature of LLVM. It is not a virtual machine, it is an abstract machine and a set of tools implementing compilers for that abstract machine. You don't run the bitcode (well, you can interpret it, but you don't usually), you compile the bitcode
2008 Mar 09
1
sampsize in Random Forests
Hi all,
I have a dataset where each point is assigned to a class A, B, C, or
D. Each point is also assigned to a study site. Each study site is
coded with a number ranging between 1-100. This information is stored
in the vector studySites.
I want to run randomForests using stratified sampling, so I chose the option
strata = factor(studySites)
But I am not sure how to control the number of
2010 Jan 04
1
polygamma or Hurwitz zeta function
Hi,
Is there any R library that is capable of handling polygamma function
(Hurwitz zeta function also works)? I am aware of digamma(0 and trigamma(),
but could not find more advanced versions.
I'd appreciate any help.
Hakan Demirtas
2011 Feb 27
3
nested case-control study
Hi, I am wondering if there is a package for doing conditional logistic
regression for nested case-control study as described in "Estimation of absolute
risk from nested case-control data" by Langholz and Borgan (1997) where
Horvitz-Thompson sampling weight (log of (number in the risk set divided by the
number sampled)) is used with regression. In SAS Proc Phreg, this is implemented
2006 Jan 25
1
imbalanced classes
Hi Andy,
I know this topic has been discussed before on the R-help, but I was
wondering if you could offer some advice specific to my application.
I'm using the R random forest package to compare two classes of data,
the number of cases in each class relatively low, 28 in class 1 and 9
in class 2. I'd really like to use R environment to analyze this data,
however I'm finding it
2011 Nov 01
1
Sample size calculations for one sided binomial exact test
I'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?
2005 Oct 27
1
Repost: Examples of "classwt", "strata", and "sampsize" i n randomForest?
"classwt" in the current version of the randomForest package doesn't work
too well. (It's what was in version 3.x of the original Fortran code by
Breiman and Cutler, not the one in the new Fortran code.) I'd advise
against using it.
"sampsize" and "strata" can be use in conjunction. If "strata" is not
specified, the class labels will be used.
2011 Feb 03
1
problem with parLapply from snow
Hi,
The following function use to work, but now it doesn't giving the error
"> CallSnow(, 100)
Using snow package, asking for 2 nodes
2 slaves are spawned successfully. 0 failed.
Error in checkForRemoteErrors(val) :
2 nodes produced errors; first error: no applicable method for 'lapply' applied to an object of class "list"
".
Where this is the
2006 Nov 13
1
random forest regression
Dear all,
I am doing a regression in ramdomForest, using the option "sampsize" reduce
the number of records used to produce the randomForest object.
The manual says "For classification, if sampsize is a vector of the length
the number of strata, then sampling is stratified by strata, and the
elements of sampsize indicate the numbers to be drawn from the strata". I
need my
2007 Jul 19
1
R
Hello!
I am using for logistic regression in survey data the svyglm procedure.
I wondered how does the strata effect estimates SE (in addition to the
weights given proportional to population size).
I know that for simple regression measurements of each strata is assumed to
have different variance.
But in a logistic model this is not the case.
Can anyone help me here?
Thank you
Ron
[[alternative
2009 Mar 20
2
randomForest
Hi!
I am dealing with random forest using R.
Is there a way to sample a fixed no.of rows from a dataset for use with
different trees in random Forest.
To be more clear, my data set contains 1500 rows, and I am growing 500 trees
in Random Forest
Is it possible to sample only 500 rows of data from the data set and use it
for different trees in the forest. I mean each tree of the forest should use
2005 Oct 27
1
Repost: Examples of "classwt", "strata", and "sampsize" in randomForest?
Sorry for the repost, but I've really been looking, and can't find any
syntax direction on this issue...
Just browsing the documentation, and searching the list came up short... I
have some unbalanced data and was wondering if, in a "0" v "1"
classification forest, some combo of these options might yield better
predictions when the proportion of one class is low (less
2007 Jan 28
2
help with RandomForest classwt option
Hello there,
I am working on an extremely unbalanced two class classification problems. I
wanna use "classwt" with "down sampling" together. By checking the rfNews()
in R, it looks that classwt is not working yet. Then I looked at the
software from Salford. I did not find the down sampling option. I am
wondering if you have any experience to deal with this problem. Do you
2005 Jul 23
2
cor(X) with P-Value
Friends
I am new to R (and statistics) so am struggling a bit.
Briefly...
I am interested in getting the P-Value from cor(X) where X is a matrix.
I have found cor.test.
Verbosely...
I have 4 vectors and can generate the corellation matrix...
> cor(cbind(X1, X2, X3, X4))
X1 X2 X3 X4
X1 1.00000000 -0.06190365 -0.156972795 0.182547517
X2
2013 Jun 12
2
survreg with measurement uncertainties
Hello,
I have some measurements that I am trying to fit a model to. I also
have uncertainties for these measurements. Some of the measurements
are not well detected, so I'd like to use a limit instead of the
actual measurement. (I am always dealing with upper limits, i.e. left
censored data.)
I have successfully run survreg using the combination of well detected
measurements and limits,