Displaying 6 results from an estimated 6 matches for "ananlys".
Did you mean:
analys
2011 Sep 09
3
Reliability metric
Hi,
Below is the code I write,
I am trying to create a metric of h and t while the values is out of function R.
First I have message warning
Second, the metric is not created
> h <- seq(0.1, 0.9, by=0.1)
> t <- seq(0,11000, by=100)
> z <- cbind(t)
> eta=10000
> beta=2
> R <- array (1:1100, dim= c(110,10))
> R= exp(-(z/eta*(1-h))^(beta*(1-h)))
Warning messages:
1:
2010 Sep 17
2
Matrix- create mean/min/max/stdev on column of matrix or rows?
I made simulation with Weibull and create Matrix,
How can I create mean/min/max/stdev on column or rows of matrix?,
Thanks,
2012 Nov 21
1
Listing elements of a 4D array
Dear list,
I'm having trouble to see how my elements on a 4 dimensional array are
listed.
For example, I generated the following array:
junk.melt=melt(occ.data,id.var=c("Especie", "Site", "Rep", "Año"),
measure.var="Pres")
y=cast(junk.melt, Site ~ Rep ~ Especie ~ Año)
Now, I want to be able to look at how my species (Especie) are listed, in
2010 Sep 20
1
Removing slected values from original vector and definning new vector with the rest?
sampleSize <- 20
shape.true <- 1.82
scale.true <- 987
sampWB <- rweibull(sampleSize, shape=shape.true, scale=scale.true)
print(sampWB)
censidx <- sample(1:length(sampWB), length(sampWB)*0.3)
Censored.data <- sampWB[censidx]
noncensidx <- defines the rest values of the vector which is not included at Censored.data?
[[alternative HTML version deleted]]
2010 Sep 19
1
Weibull- Random Censoring
I generate random vector from Weibull distribution
sampWB <-urweibull(sampleSize, shape=shape.true, scale=scale.true, lb=0, ub=Inf)
how can I create subvector containing 30% of samplesize of sampWB which should be assigned as Censored data?
The probability for each value in sampWB can be uniform to be included in the subvector.
2010 Sep 16
1
Weibull simulation- number of items to replace is not a multiple of replacement length
Hi,
I write below code for simulation for weibull- estimating parameters by weibullMLE function,
Although I define metrix for the variables still I got this message: number of items to replace is not a multiple of replacement length
Any suggestion
> est=matrix (NA, 2,2)
> se=matrix (NA, 2,2)
> for ( p in 1:2) {
+ sampleSize <- 20
+ shape.true <- 1.82
+ scale.true <- 987
+