> I think that I need to
> draw a Hypercube sample for each age class (i.e., for 0, 1, 2, 3, 4, 5, 6, 7)
> in a
> given simulation (i.e., N = 1) and the LHS values for all age classes should
> be
> like the observed cumulative distribution (see attached figure).
> output of randomLHS should be a
Thanks for your answer.
I have attached the plot for representing the variable. I think that I need to
draw a Hypercube sample for each age class (i.e., for 0, 1, 2, 3, 4, 5, 6, 7)
in a given simulation (i.e., N = 1) and the LHS values for all age classes
should be like the observed cumulative
> However, my variable is simulated from the cumulative distribution function
> of the Poisson distribution.
Then I am afraid I don't know what you're trying to achieve.
Or why.
However, the principle holds; write a function that maps [0,1] to the 'pattern'
you want, do that and apply it to the
Thanks for your answer.
However, my variable is simulated from the cumulative distribution function of
the Poisson distribution. So, the pattern obtained from the function "qpois" is
not the same as the observed pattern (i.e., obtained from the function "ppois")
set.seed(5)
mortality_probabili
> How can I draw a Hypercube sample for the variable mortality_probability so
> that this variable exhibits the same pattern as the observed distribution?
One simple way is to use the uniform random output of randomLHS as input to the
quantile function for your desired distribution(s).
For exa
Hello,
I am performing a sensitivity analysis using a Latin Hypercube sampling.
However, I have difficulty to draw a Hypercube sample for one variable. I�ve
generated this variable from a Poisson distribution as follows:
set.seed(5)
mortality_probability <- round(ppois(seq(0, 7, by = 1), lambda
No it is an R programming questions. Nelly specifically asked you:
"how can I use your code to apply my model to each of the 50 rows of
the data frame “tabLHS”?"
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/
t;
>
> Sorry, it’s the first time that I perform a sensitivity analysis using the
> LHS.
>
>
> Thank you very much for your time.
>
> Have a nice day
>
> Nell
>
>
>
> De : Rob C
> Envoyé : mardi 30 mai 2017 16:26:08
> À : Nelly Reduan
>
ledLHS)
Sorry, it’s the first time that I perform a sensitivity analysis using the LHS.
Thank you very much for your time.
Have a nice day
Nell
De : Rob C
Envoyé : mardi 30 mai 2017 16:26:08
À : Nelly Reduan
Cc : r-help@r-project.org
Objet : Re: [R]
dition, is it possible to perform a LHS?
>
> Thanks a lot for your time.
>
> Nell
>
>
>
> De : R-help de la part de Rob C
>
> Envoyé : samedi 27 mai 2017 13:32:23
> À : r-help@r-project.org
> Objet : Re: [R] Latin Hypercube Sampling wh
i 2017 13:32:23
À : r-help@r-project.org
Objet : Re: [R] Latin Hypercube Sampling when parameters are defined according
to specific probability distributions
>May 26, 2017; 11:41am Nelly Reduan Latin Hypercube Sampling when parameters
>are >defined according to specific probability dist
>May 26, 2017; 11:41am Nelly Reduan Latin Hypercube Sampling when parameters
>are >defined according to specific probability distributions
>Hello,
> I would like to perform a sensitivity analysis using a Latin Hypercube
> Sampling (LHS).
>Among the input parameters in the model, I have a paramet
Hello,
I would like to perform a sensitivity analysis using a Latin Hypercube
Sampling (LHS).
Among the input parameters in the model, I have a parameter �dispersal
distance� which is defined according to an exponential probability distribution.
In the model, the user thus sets a default prob
Aimee Kopolow georgetown.edu> writes:
>
> Hi all,
>
> I am attempting to use latin hypercube sampling to sample different
> variable functions in a series of simultaneous differential equations.
> There is very little code online about lhs or clhs, so from different
> other help threads I have s
Hi all,
I am attempting to use latin hypercube sampling to sample different
variable functions in a series of simultaneous differential equations.
There is very little code online about lhs or clhs, so from different
other help threads I have seen, it seems I need to create a
probability density f
Thanks again Rob for your help.
In terms of parameter comparison there won't be a problem. However, if
one wants to assume a particular distribution (and not the one given
by the imposed condition), for example an uniform distribution to
obtain all the possible combinations (all the multidimension
Duarte Viana gmail.com> writes:
>
> Thanks Rob and Ravi for the replies.
>
> Let me try to explain my problem. I am trying to make a kind of
> sensitivity analysis where I have 5 parameters (the margins of the
> Latin hypercube), 3 of them are proportions that should sum to one. My
> idea is to
Thanks Rob and Ravi for the replies.
Let me try to explain my problem. I am trying to make a kind of
sensitivity analysis where I have 5 parameters (the margins of the
Latin hypercube), 3 of them are proportions that should sum to one. My
idea is to obtain uniform combinations of the 3 proportion-
[carne...@battelle.org]
Sent: Thursday, June 02, 2011 8:30 AM
To: r-h...@stat.math.ethz.ch
Subject: Re: [R] Latin Hypercube Sampling with a condition
Duarte Viana gmail.com> writes:
>
> Hello all,
>
> I am trying to do a Latin Hypercube Sampling (LHS) to a 5-parameter
> design
Duarte Viana gmail.com> writes:
>
> Hello all,
>
> I am trying to do a Latin Hypercube Sampling (LHS) to a 5-parameter
> design matrix. I start as follows:
>
> library(lhs)
>
> p1<-randomLHS(1000, 5)
>
> If I check the distribution of each parameter (column), they are
> perfectly uniformly d
Hello all,
I am trying to do a Latin Hypercube Sampling (LHS) to a 5-parameter
design matrix. I start as follows:
library(lhs)
p1<-randomLHS(1000, 5)
If I check the distribution of each parameter (column), they are
perfectly uniformly distributed (as expected).For example,
hist(p1[,1])
Now th
21 matches
Mail list logo