Skip to content

Understanding Fragility Curve Derivation #10

Answered by lmartins88
SoniceChelsea asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Sanish,

Thank you for your message. The portion of code in the first picture allow you to perform a censored regression on the distribution of EDPs vs IMLs. You can read more about censored regression in the work by Peter J. Stafford, but in summary this process requires you to do an optimization to minimize a log-likelihood function. The two helper functions inside the block allow to perform this in Python.
On the second block you actually compute the probability of exceeding each damage state at using the cloud analysis methodology.

Let me know if you have any other questions.

Cheers

L.M.
CensoredRegression_v0.pdf

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lmartins88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants