Research Article

Estimations in a Constant-Stress Partially Accelerated Life Test for Generalized Rayleigh Distribution under Type-II Hybrid Censoring Scheme

Algorithm 1

Steps of algorithm.
Step 1: select and as beginning values, say .
Step 2: start the counter with count .
Step 3: create a random sample of from (32) using normal distribution.
Step 4: compute the rejection-acceptance condition:
Step 5: we want to generate a random number that varies and ranges from 0 to 1, so we will turn to the uniform distribution .
Step 6: if , accept the proposal and set ; otherwise, reject the proposal and set .
Step 7: using the Metropolis–Hastings method, generate from (33) using normal distribution.
Step 8: in order to find the estimate of , we should make a repetition for steps 4–6.
Step 9: make an increment in the loop counter like .
Step 10: repeat steps 3–9 for a total of N times.
Step 11: under the SEL function, the Bayesian estimates regarding and have been provided by the following:
where M is a burn-in period that can be chosen.
Step 12: the estimates for the two parameters and under the LINEX loss function can be easily computed, respectively, using the following equations: