Questions tagged [risk-analysis]

The tag should be used whenever the probability and/or the severity of one or multiple events should be quantified. It may refer to certain finance topics, but is not limited to that.

Risk analysis is the identification, assessment, and quantification of risks in terms of severity and probability for a certain event.

More resources:

68 questions
590
votes
15 answers

Cosmic Rays: what is the probability they will affect a program?

Once again I was in a design review, and encountered the claim that the probability of a particular scenario was "less than the risk of cosmic rays" affecting the program, and it occurred to me that I didn't have the faintest idea what that…
Mark Harrison
  • 297,451
  • 125
  • 333
  • 465
39
votes
4 answers

Is google-services.json safe from hackers?

If a hacker decompiled my APK would he be able to see my API keys from this file? I am not worried about my source code repository. I am just worried about a hacker being able to see this API key from my APK somehow. I'm trying to encrypt this file…
stepheaw
  • 1,683
  • 3
  • 22
  • 35
6
votes
1 answer

LDA interpretation

I use the HMeasure package to involve the LDA in my analysis about credit risk. I have 11000 obs and I've chosen age and income to develop the analysis. I don't know exactly how to interpret the R results of LDA. So, I don't know if I chosen the…
Dalila
  • 181
  • 2
  • 2
  • 8
6
votes
3 answers

Why/when are session writes vulnerable to thread termination?

THE CODE: Session["foo"] = "bar"; Response.Redirect("foo.aspx"); THE PROBLEM: When foo.aspx reads "foo" from the session, it's not there. The session is there, but there's no value for "foo". I've observed this intermittently in our production…
lance
  • 16,092
  • 19
  • 77
  • 136
5
votes
1 answer

Non-consecutive number of lags in VAR (R package "vars")

Is it possible (in package vars or maybe in some other R package?) to include non-consecutive lags into the var model, i.e., just lags 1 and 3. So far, it looks like when I set p = 3 under function VAR, it includes all consecutive lags between 1…
user2323534
  • 585
  • 1
  • 6
  • 18
3
votes
1 answer

Determine NPM package's source url from npmjs.org's registry?

Is there a way to determine a NPM package's source repository URL? Looking at the https://registry.npmjs.org API it doesn't point to the source for the package? Am trying to figure out how to work back from a dependent package to the source for it…
Kit Plummer
  • 583
  • 1
  • 3
  • 10
3
votes
2 answers

No contribution in component VaR using historical method in R

I am new to R. I am using package PerformanceAnalytics to calculate Component VaR of portfolio. If I use gaussian method, it returns contribution. > VaR(edhec, p=.95, method="gaussian", portfolio_method="component") no weights passed in, assuming…
Chaturvedi Dewashish
  • 1,469
  • 2
  • 15
  • 39
2
votes
0 answers

How to compute the combined probability of loss for 2 time series (consisting of historical stock prices)?

May I please ask the community's support with the following problem? I have 2 time series, with approximately 1000 observations each (same number of observations for both). They represent the daily closing prices for 2 stocks: asset A and asset B.…
2
votes
0 answers

Backtest a Probability of default model

Background Financial institutions use Probability of Default (PD) models for purposes such as client acceptance, provisioning and regulatory capital calculation as required by the Basel accords and the European Capital requirements regulation and…
kali
  • 21
  • 1
2
votes
2 answers

(Custom) Percentile MSE Loss function

I have a Keras model that has inputs x_1,...,x_n and d-dimensional outputs f(x_1),...,f(x_n). I'm working on a regression problem with d-dimensional targets y_1,...,y_n. I would like to minimize the loss-function: For a fixed meta-parameter a…
ABIM
  • 364
  • 3
  • 19
2
votes
1 answer

QQ plot for a fitted normal / lognormal distrbution

I'm having problems generating a QQ plot for a fitted distrubution. The data is fitted by NormalFit <- fitdistr(obs, densfun="normal") where obs are the observations. I thought I can just do qqnorm(NormalFit) I want to do the same for …
plzhelplol
  • 61
  • 3
2
votes
0 answers

Gini coefficient calculation in R

I am using package Ineq in R to calculate Gini coefficent. From inspecting the source code (below), it is ordering vector x first before computing Gini. Example data: example_data = data.frame(SCORE_RANGE = c('100-200','201-300','301-…
Khiem Nguyen
  • 129
  • 1
  • 11
2
votes
0 answers

Swift Too many Cocoa pods?

So I am creating an app that uses Firebase, Google maps SDK, Core location and loads of other little third party things going on, but is there a point where all these pods become too many? What are the negatives to having this many pods other than…
Niall Kiddle
  • 1,477
  • 1
  • 16
  • 35
2
votes
8 answers

What is the best way to analyze a project's risk?

Is there a fool-proof way to pull out all the risks involved in a project? And does it differ depending on the type of projects your working on (ie: website, client/server...)?
Matt R
  • 2,577
  • 5
  • 30
  • 46
1
vote
9 answers

The pros and cons of "Shadow IT" in software development

Recently we’ve seen the emergence of so-called “Shadow IT” within many organisations. If you’re not already familiar with the term, it refers to those who manage to dodge the usual IT governance by means such as using thumb drives to share files or…
1
2 3 4 5