Displaying 20 results from an estimated 6497 matches for "risk".
Did you mean:
disk
2010 Sep 11
3
confidence bands for a quasipoisson glm
Dear all,
I have a quasipoisson glm for which I need confidence bands in a graphic:
gm6 <- glm(num_leaves ~ b_dist_min_new, family = quasipoisson, data = beva)
summary(gm6)
library('VIM')
b_dist_min_new <- as.numeric(prepare(beva$dist_min, scaling="classical", transformation="logarithm")).
My first steps for the solution are following:
range(b_dist_min_new)
2005 Dec 13
3
help with writing function
...ce between the
value and itself. This function should be able to repeat the procedure
for each of the j's i.e j=2 to n. The results should all be stored
together. Below is what I've tried so far but it seems to work only for
j=1 .
Your help will be highly appreciated.
IED<-function(risk){
n<-length(risk)
i<-c(1:n)
Diff<-numeric()
for(j in 1:n){
relrisk<-risk
relrisk[i]<-relrisk[j]
Difference<-abs(risk-relrisk)
Difference<-Difference[-c(1:j)]
Difference<-append(Diff,Difference)
return(Difference)
}
}
Oarabile
2006 Dec 09
2
Show number at risk on Kaplan Meier curve
Dear all,
I'm using the "survival" package with R 2.4.0 on Mac OS X 10.4.8.
I have two core statistics books (one of which is Altman's medical stats
book) which suggest showing the number of individuals at risk at
different time intervals on the Kaplan-Meier curve.
My plot shows two curves that later cross, because of one significant
outlier.
I have two queries:
Is there an easy way of displaying number of individuals at risk at a
specific time interval?
Is there a way to stop plotting when the number...
2005 Feb 04
2
no. at risk in survfit()
Hi,
when I generated a survfit() object, I can get number
of patients at risk at various time points by using
summary():
fit<-survfit(Surv(time,status)~class,data=mtdata)
summary(fit)
class=1
time n.risk n.event survival std.err lower 95% CI
upper 95% CI
9.9 78 1 0.987 0.0127 0.963 1
41.5 77 1 0.974 0.0179 0.940...
2006 May 30
1
position of number at risk in survplot() graphs
Dear R-help
How can one get survplot() to place the number at risk just below the
survival curve as opposed to the default which is just above the x-axis?
I tried the code bellow but the result is not satisfactory as some numbers
are repeated several times at different y coordinates and the position of
the n.risk numbers corresponds to the x-axis tick marks not th...
2013 Feb 15
3
lattice 3x3 plot: force common y-limits accross rows and align x-axes
...ould like to ask for help in controlling y-axis limits and labels in
lattice doplots. Unfortunately, the problem is somewhat convoluted,
please bear with the long explanation.
I would like to create a 3x3 lattice of dotplots, say subject ~ count.
The plot is conditioned on variables treatment and risk: subject ~ count
| treatment + risk. In the experiment, not all subjects were exposed
to all combinations of treatment and risk. For each risk, I would like
to show subject ~ count | treatment and order the subjects by the total
count. At the same time, I would like the x-axes to be the same in...
2007 Apr 09
1
testing differences between slope differences with lme
hello
i have a mixed effect model which gives slope and intercept terms for 6
groups (diagnosis (3 levels) by risk group(2 levels)). the fixed part of
the model is --
brain volume ~ Diagnosis + Risk Group + (Risk Group * age : Diagnosis) - 1
thus allowing risk group age/slope terms to vary within diagnosis and
omitting a nonsignificant diagnosis by risk group intercept (age was
centered) interaction.
i a...
2012 Feb 28
1
Packages/functions for competing risk analysis
Hi Rs,
I am analyzing a time to event dataset with several competing risks.
0 = Active by end of study
1 = Stopped treatment to start another treatment
2 = Lost
3 = Dead
My event of interest in Lost to Followup but starting a different treatment
and dying are competing risks. All 1,2,3 events are events of exiting the
study, but it's only 2-LTFU that we are concer...
2010 May 25
2
Relative Risk/Hazard Ratio plots for continuous variables
Dear all,
I am using Windows and R 2.9.2 for my analyses. I have a large dataset and
I am particularly interested in looking at time to an event for a continuous
variable. I would like to produce a plot of log(relative risk) or relative
risk (also known as hazard ratio) against the continuous variable.
I have spent a long time looking for advice on how to do this but my search
has proved fruitless - sorry if I've missed something obvious. It seems
that there are options such as muhaz, survfit, coxph and cph that...
2013 Mar 07
1
Comparing Cox model with Competing Risk model
I have a competing risk data where a patient may die from either AIDS or
Cancer. I want to compare the cox model for each of the event of interest
with a competing risk model. In the competing risk model the cumulative
incidence function is used directly. I used the jackknife (pseudovalue) of
the cumulative incidence func...
2011 Jul 29
0
Noble is looking for a Market Risk Manager/Analyst for its London Office, prefer Candidates who have R programming skills
Noble is looking for a Market Risk Manager/Analyst for its London Office, prefer Candidates who have R programming skills
==================================================================================
Noble
Noble is a market leader in managing the global supply chain of agricultural, industrial and energy products. Our "han...
2006 Nov 10
3
Confidence interval for relative risk
The concrete problem is that I am refereeing
a paper where a confidence interval is
presented for the risk ratio and I do not find
it credible. I show below my attempts to
do this in R. The example is slightly changed
from the authors'.
I can obtain a confidence interval for
the odds ratio from fisher.test of
course
=== fisher.test example ===
> outcome <- matrix(c(500, 0, 500, 8), ncol =...
2018 Jan 30
0
Quantitative Risk Analysis with R Course 5/1/18 to 5/4/18
Quantitative Risk Analysis with R
May 1-4, 2018
Fort Collins, Colorado, USA
Join us this spring for our QRA with R training. Our class will focus on applied risk modeling methods using the R statistical language and will cover the core principles of QRA and Monte Carlo simulation modeling. Both Bayesian and frequen...
2007 May 08
3
Mantel-Haenszel relative risk with Greenland-Robins variance estimate
Does anyone know of an R function for computing the Greenland-Robins
variance for Mantel-Haenszel relative risks?
Thanks
Frank
--
Frank E Harrell Jr Professor and Chair School of Medicine
Department of Biostatistics Vanderbilt University
2009 Feb 27
2
Competing risks adjusted for covariates
Dear R-users
Has anybody implemented a function/package that will compute an individual's risk of an event in the presence of competing risks, adjusted for the individual's covariates?
The only thing that seems to come close is the cuminc function from cmprsk package, but I would like to adjust for more than one covariate (it allows you to stratify by a single grouping vector).
Any hel...
2011 Jul 12
1
Quantitative Analyst/Quantitative Developer
Hello,
I would like to post the below position on your site.
Thanks,
Quantitative Analyst/Quantitative Developer
MSIM Global Risk & Analysis, Quantitative Research & Model Review group
Morgan Stanley Investment Management (MSIM), together with its investment advisory affiliates, has more than 680 investment professionals around the world and approximately $279 billion in assets under management or supervision as of De...
2016 Jul 18
0
EpiX Analytics - Full-Time Position - Quantitative Health Risk Analysis Consultant
Quantitative Health Risk Analysis Consultant
Position open until filled
Location: Boulder, CO
We are a Colorado-based specialist risk and decision modeling consulting and
research firm, with diverse experience and skills, including in the fields
of human and veterinary health and epidemiology. We are currently see...
2013 Apr 06
1
Value at Risk using a volatility model?
Hi,
I want to calculate the Value at Risk with using some distirbutions and a
volatility model.
I use the following data(http://uploadeasy.net/upload/cdm3n.rar) which are
losses (negative returns) of a company of approx. the last 10 years. So I
want to calculated the Value at Risk, this is nothing else than the
quantile. Since I have losse...
2006 Nov 10
1
Value at Risk historical simulation
Hi
Has someone got a package/script at hand to do a historical simulation
to calculate the Value at Risk?
If your not sure what Historical Simulation is:
In simple terms, Historical Simulation (HS) is just taking sample
percentiles over a moving sample. Suppose we want to use HS to predict
a portfolio's Value-at-Risk at a confidence level of 99 percent and
the window size is chosen to be 250 trad...
2007 Apr 27
0
Logistic Regression Question: Risk Threshold
...w to approach the second half of the question:
In the data set (an artificial one of 3121 patients, that is similar to a subset of the data analyzed in Stiell et al., 2001) head.injury, obtain a logistic regression model relating clinically.important.brain.injury to other variables. Patients whose risk is sufficiently high will be sent for CT (computed tomography). Using a risk threshold of 0.025 (2.5%), turn the result into a decision rule for use of CT.
This is what I have so far:
> names(head.injury)
[1] "age.65" "amnesia.before"...