Displaying 20 results from an estimated 5000 matches similar to: "how can generate from trunceted gamma distribution in R ?"
2010 Feb 26
7
question to make a vector without loop
Hello all,
I want to define a vector like w[k+1]=w[k]*a/(b+k) for k=1,...,N-1 without
use loop. Is it posible to do in R?
Regards
khazaei
2010 May 22
1
question about graph
Hi,
I have two different sets of data from two different populations. I want
to plot these samples (for example: Line graph) by just one graph.
could you please help me?
Thanks
Khazaei
2010 Mar 02
2
question to define a matrix with some vectors with different lengths
Hi,
I have some vector v1,v2,...,vk, with different lengths. I want to
consider these vectors as a matrix with k rows.
Can you please guide me how I can do it?
Regards
khazaei
2010 Jan 19
3
question on plot in R with mac
--------------------------------------------------------------------------
Hello all
My computer is MacBook and I want to draw a plot in R, for example for
x <- c(1,3,6,9,12)
y <- c(1.5,2,7,8,15)
I use this command plot(x,y).
but it dosn't work.
Could you please help me?
thank you
khazaei
2010 Mar 05
2
question on maximum of each row of the matrix
Hi,
I used the apply()function to compute the maximum of the each row of
the matrix, but in my application sometime the matrix has just one row,
and the apply() dosen't work.
Could you please give me some hints?
thank you
khazaei
2010 Mar 11
2
divid the rows of the matrix by the cector
Hi,
I have a matrix with m rows and n column and a vector with n elements. I
want to divid each rows of the matrix by vector direcly.
could you please hint me?
Thank you
khazaei
2010 May 11
2
question about R
Hi,
At each iteration in my program,I need to generate tree vectors,X1,X2,X3,
from exponential distribution with parameters a1,a2,a3. Can you help me
please how can I do it such that it take a little time?
thank you
khazaei
2009 Dec 25
2
[ how can sample from f(x)~x^(a-1)
Hello all
how can sample from f(x)~x^(a-1)*ind(0,min(b,-log(u)) in R?
where a and b is positive constand and 0<u<1
thanks
khazaei
2010 Aug 09
1
error (code 12)
Hi,
I am runing R on my mac and I get this error:
R(206,0xa01ad720) malloc: *** mmap(size=4000002048) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
R(206,0xa01ad720) malloc: *** mmap(size=4000002048) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Is there any an
2007 Mar 03
3
How to convert List object to function arguments?
Dear R gurus,
I have a function "goftests" that receives the following arguments:
* a vector "x" of data values;
* a distribution name "dist";
* the dots list ("...") containing a list a parameters to pass to CDF
function;
and calls several goodness-of-fit tests on the given data values against
the given distribution.
That is:
##### BEGIN CODE SNIP #####
2008 Feb 04
2
maybe a bug in the system.time() function? (PR#10696)
Full_Name: Alessandra Iacobucci
Version: 2.5.1
OS: Mac OS X 10.4.11
Submission from: (NULL) (193.48.71.92)
Hi,
I am making some intensive simulations for the testing of a Population Monte
Carlo algorithm. This involves also a study of the CPU times in two different
case.
What I am trying to measure is the "real" CPU time, the one which is independent
on the %CPU.
I'm using the
2006 Apr 07
4
setIs and method dispatch in S4 classes
Dear all,
I have a question regarding setIs and method dispatch in S4 classes:
Consider the following example:
#####################################################
## A02 "contains" A01 by setIs:
setClass("A01", representation(a="numeric",b="numeric"))
setClass("A02", representation(a="numeric",d="numeric"))
2003 Jul 12
2
help with bivariate density plot question
Dear R users:
I have a dataset with two variables (>20000 observations, two samples from same subject) and I used "kernSur" from library(Genkern) to
get a estimated bivariate density and corresponding plots as follows:
new.data.normal<-data.normal[!is.na(data.normal[,2]),]
x<-new.data.normal[,2]
y<-new.data.normal[,3]
op <- KernSur(x,y, xgridsize=50, ygridsize=50,
2004 Nov 05
2
graphics site
About six months ago there was a reference to a site (in french) that
did a spectacular job of demonstrating R's graphical capabilities.
My bookmarks were recently wiped and I cannot find this site despite my
best googling.
Anyone have the address which I have done a miserable job describing?
Thanks.
Michaell
2004 Oct 21
2
an introduction to R in french
Hello wizaRds !
I am looking for a french and recent version of "An introduction to R".
Does anybody know where i could find on of these.
Thanks.
--
Romain Fran??ois
25, avenue Guy Moquet
94 400 Vitry sur seine
FRANCE
_______________________
_______________________
francoisromain at free.fr
01 46 80 65 60
06 18 39 14 69
2008 Sep 15
2
help on sampling from the truncated normal/gamma distribution on the far end (probability is very low)
Hi, guys,
I am trying to sample from a truncated normal/gamma distribution.
But only the far end of the distribution (where the probability is very low)
is left. e.g.
mu = - 4;
sigma = 0.1;
The distribution is Normal(mu,sigma^2) truncated on [0,+Inf];
How can I get a sample? I tried to use inverse CDF method, but got Inf as
answers. Please help me out.
Also, pls help me on the similar
2006 Apr 26
1
cdf of weibull distribution
Hi,
I have a data set which is assumed to follow weibull distr'. How can I find of cdf for this data. For example, for normal data I used (package - lmomco)
>cdfnor(15,parnor(lmom.ub(c(df$V1))))
Also, lmomco package does not have functions for finding cdf for some of the distributions like lognormal. Is there any other package, which can handle these distributions?
2013 Feb 25
3
Empirical Bayes Estimator for Poisson-Gamma Parameters
Dear Sir/Madam,
I apologize for any cross-posting. I got a simple question, which I thought
the R list may help me to find an answer. Suppose we have Y_1, Y_2, ., Y_n ~
Poisson (Lambda_i) and Lambda_i ~Gamma(alpha_i, beta_i). Empirical Bayes
Estimator for hyper-parameters of the gamma distr, i.e. (alpha_t, beta_t)
are needed.
y=c(12,5,17,14)
n=4
What about a Hierarchal B ayes
2006 Jun 30
5
median of gamma distribution
Doese anyone know a R function to find the median of a gamma distribution?
[[alternative HTML version deleted]]
2007 Oct 07
1
a function to compute the cumulative distribution function (cdf) of the gamma
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20071006/065906cc/attachment.pl