Suppose we are given some small set of data on bundles of electrical wires and increasing voltages run through them, and we note how many of the individual wires fail.
So for example, a large data set we have n observations, for each n,
there is $w_{i}$ number of wires, voltage $v_{i}$ and $f_{i}$ of the wires fail.
And suppose we are given some of the information for example for the first few, ( note that each sample has increased voltage and we see increased proportion of failed wires). However we are not given the voltages, all we know is that it increases.
$w_{1}=14$ and $f_{1}=4$
$w_{2}=13$ and $f_{2}=4$
$w_{3}=7$ and $f_{3}=3$
$w_{4}=10$ and $f_{4}=5$
$w_{5}=12$ and $f_{5}=7$
$w_{6}=20$ and $f_{6}=13$
etc..
ie we have a parameter space such that ( $t$ is the proportion that fail) $\{t_{i}: t_{1} \lt t_{2} \lt t_{3} \lt .. \lt t_{n} \le 1\}$
My goal is to model this as a conditional distribution and sample so that I can make some statements about each $t_{i}$, such as the mean and deviations of each.(assuming flat prior)
Firstly I know about sampling, but I am wondering how from just the simple data, how I can accurately form the conditional distribution? Using rejection or transformations for example, and then Gibbs to make some conclusions on the individual failure proportions.
My thoughts:
Well it seems that the number of wires that fail is a function of the voltage. As voltage increases, so to does the proportion of failed wires.
Possibly I could use rejection method to sample from the distribution that is creating this?
So I would want to find some function $g(x)$ such that $g(x) \ge f(x)$ for all $x$ , then simulate uniform random variables and check the conditions.
However, as of now I don't have a distribution. I guess I could form a hand drawn using the points and x axis as 1,2,3,4,5,6... and y being the corresponding proportion rate of failure.
I know for a distribution, we need the probabilities to sum/integrate to 1.
The probabilities here I assume would be the probability that a certain proportion fail. So for n wires, we would have the probability that $p_{1}=\frac{1}{n}$ proportional fail, a probability for $p_{2}=\frac{2}{n} $proportion fail, all the way to the probability that all wires fail.
So it looks more like the form of a CDF, as voltage increases, ie if we write in the form of a function, $F(v_{1})=\frac{4}{14}$ , $F(v_{2})=\frac{4}{13}$, and so forth, so if we had an unlimited sample, as $n \to \infty$ , $F(v_{n}) \to 1$
and I suppose then $F^{-1}=f$ would be our density, but I am still not sure how to do this in finite case.
Issues: We are not told anything about underlying distribution, parameters or form. Only the data given. So do we take the data that is given to be the initialising values?
I was thinking I could possibly just assume that the failures follow a binomial distribution, with the binomial parameter following some other distribution such as a beta. How does that sound? Would we then need to also put some distribution on the $w_{i}$ ?
Any advice , ideas and answers are much appreciated.