Displaying 5 results from an estimated 5 matches for "diegol81".
Did you mean:
diegol
2008 Dec 25
3
Percent damage distribution
R version: 2.7.0
Running on: WinXP
I am trying to model damage from fire losses (given that the loss occurred).
Since I have the individual insured amounts, rather than sampling dollar
damage from a continuous distribution ranging from 0 to infinity, I want to
sample from a percent damage distribution from 0-100%. One obvious solution
is to use runif(n, min=0, max=1), but this does not seem to be
2008 Mar 11
2
Adding x-axis values to a histogram
Dear useRs,
Is there a way one can add x-axis values to a histogram? Example:
z = rgamma(n=1000, shape = 8, scale = 1000)
hist(z, breaks = 30)
Currently I see 4 x-axis values: 5000, 10000, 15000, 20000. Can I add more
values or modify the ones currently showing? I tried ?hist, yet couldn't
work this out.
Thank you very much.
-----
~~~~~~~~~~~~~~~~~~~~~~~~~~
Diego Mazzeo
Actuarial Science
2009 Mar 15
2
Testing for Inequality à la "select case"
Using R 2.7.0 under WinXP.
I need to write a function that takes a non-negative vector and returns the
parallell maximum between a percentage of this argument and a fixed value.
Both the percentages and the fixed values depend on which interval x falls
in. Intervals are as follows:
>From | To | % of x | Minimum
2008 Dec 26
1
starting values update
...istics Tel: +61-3-8344-6410
University of Melbourne, VIC 3010 Australia Fax: +61-3-8344-4599
http://www.ms.unimelb.edu.au/~andrewpr
http://blogs.mbs.edu/fishing-in-the-bay/
------------------------------
Message: 13
Date: Thu, 25 Dec 2008 14:20:29 -0800 (PST)
From: diegol <diegol81@gmail.com>
Subject: [R] Percent damage distribution
To: r-help@r-project.org
Message-ID: <21170344.post@talk.nabble.com>
Content-Type: text/plain; charset=UTF-8
R version: 2.7.0
Running on: WinXP
I am trying to model damage from fire losses (given that the loss occurred).
Since I have...
2009 Jun 28
2
Same initial seed
Hello,
I have tried a few searches without luck before posting, since this one
seems a pretty basic question.
I am using R 2.7.0 on WinXP, as I have long started using this version for
my thesis work and am reluctant to update fearing consistency/backward
compatibility issues could happen.
I noticed that whenever I start an R session (launch the console
application) and run a script involving