Skip to content

Instantly share code, notes, and snippets.

@epogrebnyak
Last active January 10, 2022 10:48
Show Gist options
  • Save epogrebnyak/7933e16c0ad215742c4c104be4fbdeb1 to your computer and use it in GitHub Desktop.
Save epogrebnyak/7933e16c0ad215742c4c104be4fbdeb1 to your computer and use it in GitHub Desktop.
Lightbulb survival rate
i h f K
0 0 0 50
1 840 2 48
2 852 1 47
3 936 1 46
4 960 1 45
5 972 1 44
6 996 1 43
7 1008 1 42
8 1032 2 40
9 1104 1 39
10 1176 5 34
11 1200 1 33
12 1260 1 32
13 1296 1 31
14 1308 1 30
15 1332 2 28
16 1356 1 27
17 1380 1 26
18 1416 1 25
19 1476 2 23
20 1524 3 20
21 1548 3 17
22 1560 1 16
23 1632 1 15
24 1644 2 13
25 1656 2 11
26 1716 5 6
27 1764 1 5
28 1812 1 4
29 1836 1 3
30 1860 1 2
31 1980 1 1
32 2568 1 0
# Lamps survival graph from Menon and Agrawal (2007)
from pandas import pd
df = pd.read_csv("https://bit.ly/2FleDbZ", index_col=0)
df.plot(x="h", y="K", title="Survival graph, 50 lightbulbs")
Dataset from:
V.J. Menon and D.C. Agrawal, Renewal Rate of Filament Lamps:
Theory and Experiment. Journal of Failure Analysis and Prevention.
December 2007, p. 421, Table 2/
DOI: 10.1007/s11668-007-9074-9
Description:
An assembly of 50 new Philips (India) lamps with the
rating 40 W, 220 V (AC) was taken and installed in the horizontal
orientation and uniformly distributed over a lab area 11 m 9 7 m.
The assembly was monitored at regular intervals of 12 h to
look for failures. The instants of recorded failures were
called t‘ and a total of 32 data points were obtained such
that even the last bulb failed.
Variables:
i - observation number
h - time in hours since experiment start
f - number of failed lamps at particular time h
K - number of surviving lamps at particular time h
Short URL:
https://bit.ly/2FleDbZ
@epogrebnyak
Copy link
Author

изображение

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment