Hello,
The discussion in that thread applies, maybe with
prob <- 1L + (dat >= 5) + (dat >= 8)
Hope this helps,
Rui Barradas
Em 17-04-2014 21:17, Boris Steipe escreveu:
I think the discussion in this thread
https://stat.ethz.ch/pipermail/r-help/2014-April/368816.html
applies exactly.
See
I think the discussion in this thread
https://stat.ethz.ch/pipermail/r-help/2014-April/368816.html
applies exactly.
See the parameter "prob" of sample.
Cheers,
B.
On 2014-04-17, at 4:07 PM, Charles Determan Jr wrote:
> Greetings,
>
> I would like to randomly remove elements from a numeric v
Greetings,
I would like to randomly remove elements from a numeric vector but with
different probabilities for higher numbers.
For example:
dat <- sample(seq(10), 100, replace=T)
# now I would like to say randomly remove elements but with a higher chance
of removing elements >= 5 and even great
If you want a conditional distribution of x11 given x1,..x10, you need
to make some assumptions about the joint distribution. It seems from the
original post that items 1. and 2. refer to the marginal distribution of
each observation.
In general, it would help to specify the question a little mor
Hello Jumlong,
For Normal distribution see the help page for pnorm.
For dealing with unknown (empirical) distributions, look at ecdf.
Hope this helps
Michael
On 8 November 2010 16:29, Jumlong Vongprasert wrote:
> Dear all
> I have problem with calculate probability, I have data x1,...
Dear all
I have problem with calculate probability, I have data x1,...,x10,
I want to calculate probability x11 given x1,...,x10 with two conditions.
1. x is normal
2. unknow distribution
How I can do this.
Many Thanks.
Jumlong
--
Jumlong Vongprasert Assist
On Nov 7, 2009, at 3:50 PM, Tidal Wave wrote:
Hello All,
How would one go about getting Pr(Y ≤ y|X = x) for a Frank copula
via
the Copula or other package?
Change the limits of integration?
--
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
Hello All,
How would one go about getting Pr(Y ≤ y|X = x) for a Frank copula via
the Copula or other package?
Best Regards,
David
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://
8 matches
Mail list logo