Displaying 20 results from an estimated 1000 matches similar to: "finding the minimum value"
2009 Oct 13
3
cdf
Dear all,
I have the cdf of the following power fuction distribution:
F(y)=(y/350)^a ,0<y<350,
where " a " is some parameter with range a>0.
I want to use it as the argument of the discretize function of the actuar package.
So I think I need to define this function to R so that if I entered a=1, I get the following
F(y)=(y/350)
and if I entered a=4.5, I get the
2009 Oct 14
2
axis label
Hi all,
I want the y-axis label to be ( in symbols)
g(sigma given alpha)
where given is the conditional sign.
I've tried
ylab=expression(g(sigma|alpha)))
but it gave me
g(|(sigma,alpha))
where the sigma and alpha are in greek but the conditional sign is misplaced (before the bracket)
Any help would be appreciated.
Maram.
[[alternative HTML version deleted]]
2016 Nov 03
2
The code itself disappears after starting to execute the for loop
Hi all,
I've a question concerning the R 3.3.1 version. I have a long code that I used to run on versions earlier to the 3.3.1 version, and when I copied the code to the R console, I can still see the code while the loop is executing , along with the output printed after each iteration of the loop.
Now, on the 3.3.1 version, after I copy the code to the console, it disappears and I only see
2016 Nov 03
2
The code itself disappears after starting to execute the for loop
Hi all,
I've a question concerning the R 3.3.1 version. I have a long code that I used to run on versions earlier to the 3.3.1 version, and when I copied the code to the R console, I can still see the code while the loop is executing , along with the output printed after each iteration of the loop.
Now, on the 3.3.1 version, after I copy the code to the console, it disappears and I only see
2016 Nov 28
2
Strange behavior when using progress bar (Fwd: Re: [R] The code itself disappears after starting to execute the for loop)
I first answered to the email below in r-help, but as I did not see any
response, and it looks like a bug/unwanted behavior, I am also posting
here. I have observed this in RGui, whereas it seems not to happen in
RStudio.
Similar to OP, I sometimes have a problem with functions using the
progress bar. Frequently, the console is cleared after x iterations when
the progress bar is called in a
2009 Aug 24
2
calculating probability
Hi all,
I've a trivial question. If (q) is a continous variable,actually a vector of 1000 values. how to calculate the probability that q is greater than a specific value, i.e. P(q>45)??
Thanks
Maram
[[alternative HTML version deleted]]
2009 Aug 12
3
axis scale
Dear All,
I'm trying to plot a histogram (with the relative frequencies as the Y axis), But the scale of the y axis is given by
0e+00, 1e-04, 2e-04, 3e-04,.........
Now, I have 2 questions
1- Does (1e-04=0.01831563)?
2- If this true,how can i change the given scale to (0.01,0.03,0.05,0.07,0.09)?
[[alternative HTML version deleted]]
2009 Nov 04
2
solving a linear equation
Hi all,
I've a linear equation of the form:
0.95=2 ( [3+ln(x/3)]^-13 + 4 [3+2ln(x/3)]^-13 + [3+4ln(x/3)]^-13 )
and I want to solve it for x, can I do this using R?
Thanks in advance.
Maram.
[[alternative HTML version deleted]]
2009 Aug 19
1
Hist & kernel density estimates
Dear All,
Attached are the codes of a histogram & a kernel density estimate and the output they produced.
In fact the variable q is a vector of 1000 simulated values; that is I generated 1000 samples from the pareto distribution, from each sample I calculated the value of q ( a certain fn in the sample observations), and thus I was left with 1000 values of q and I don't know the
2009 Aug 25
1
converting a matrix into a fn
Dear All,
I have a matrix m of the form
m
[,1] [,2]
[1,] 9072.302 0.00000004462366
[2,] 9086.811 0.00000005628169
[3,] 9101.320 0.00000007126347
[4,] 9115.830 0.00000008986976
[5,] 9130.339 0.00000011260000
[6,] 9144.848 0.00000014018405
[7,] 9159.357 0.00000017344229
[8,] 9173.866 0.00000021363563
[9,] 9188.375 0.00000026389996
[10,] 9202.884
2009 Nov 04
1
Fw: solving a linear equation
Sorry, I didn't mean a linear equation, of course this equation is not linear, I meant an equation in one unknown.
Hi all,
I've a linear equation of the form:
0.95=2 ( [3+ln(x/3)]^-13? + 4 [3+2ln(x/3)]^-13? + [3+4ln(x/3)]^-13 )
and I want to solve it for x, can I do this using R?
Thanks in advance.
Maram.
? ? ?
??? [[alternative HTML version deleted]]
-------------- next
2009 Jul 12
1
Fw: (no subject)
Dear group,
Thank u so much 4 ur help. I've tried the link,
http://finzi.psych.upenn.edu/R/library/quantreg/html/akj.html
for adaptive kernel density estimation.
But since I'm an R beginer and the topic of adaptive estimation is new for me, i still can't figure out some of the arguments of
akj(x, z =, p =, h = -1, alpha = 0.5, kappa = 0.9, iker1 = 0)
I've a vector of 1000 values
2003 Aug 07
1
MWI bug ?
Hi Lee,
You need to specify the VM context that you are using..
so using your examples..
extensions.conf entry..
exten => 1000,1,Dial(SIP/1000,20)
exten => 1000,2,Voicemail2(u1000)
exten => 1000,102,Voicemail2(b1000)
exten => 1000,103,Hangup
should be..
exten => 1000,1,Dial(SIP/1000,20)
exten => 1000,2,Voicemail2(u1000@sip)
exten => 1000,102,Voicemail2(b1000@sip)
exten
2009 Sep 06
1
using histogram to find cdf
Dear all,
How can I use the histogram density estimate (hist) to find the value of the cdf at a certain point?
Thanks
Maram
[[alternative HTML version deleted]]
2009 Aug 22
1
kernel density estimates
Dear All,
I have a variable q which is a vector of 1000 simulated positive values; that is I generated 1000 samples from the pareto distribution, from each sample I calculated the value of q ( a certain fn in the sample observations), and thus I was left with 1000 values of q and I don't know the distribution of q.
Hence, I used the given code for kernel density estimation to estimate the
2010 Feb 05
1
histogram scott
Dear all,
I want to use the histogtam as a density estimator, with the binwidths calculated using scott's formula which is
binwidth = 3.49*ST.dev.*n^(-1/3)
for the following data (30 data points)
12-9-3-6-1-23-21-7-18-16-15-4-19-22-20-2-3-18-8-10-1-7-5-4-11-12-3-9-19-7
so first,I' ve tried this manually, and substituted in the above formula and I got
st.dev.=7.02745
and thus the
2009 Jun 30
1
(no subject)
Hi Group,
I've a vector of 1000 numeric values for which I want to draw a histogram. I've read this vector into R with no variable name.I mean only the 1000 values, which makes V1 the name of the variable by default?? Then I tried
> hist(V1, breaks = "Sturges",
+ freq = NULL, probability = !freq,
+ include.lowest = TRUE, right = TRUE,
+ density = NULL, angle =
2004 Jun 27
1
Why? oh why can't I dial out?
I have been struggling with my Asterisk setup for 3 days now and I think I
have done well...apart from the small detail that I cannot dial out on my
phone (PSTN) line.
My setup is:
Suse Linux 9.0
1 fxo card connected to a BT(UK) line
1 Cisco ATA186 sip v3.0 with two analogue phones attached to it
Asterix CVS-HEAD-05/30/04-06:56:31
with the UK Userid patch applied. Asterisk loads without any
2004 Sep 01
1
X100P + Call-Waiting - Flash how-to.
Hi all
I'm pretty sure someone must have done this before but I couldnt find any
trace of it on the web so I thought I would drop a note about how I ended up
doing it. I have also posted this info on voip-info.
Warning : This is not very elegant and I'm currently trying to write a patch
in order to make it better but so far, this the only way I've gotten this to
work.
Scenario :
I
2005 Mar 18
1
Broadvoice hangs-up / disconnects after about 30 deconds
I have just installed * from the latest CVS and I can make calls via X-Lite to outside numbers but for only 30 to 35 Seconds at a time then Broadvoice will hang up on me but X-Lite will not know it. Once I hang up X-Lite then I will get the following error message:
Spawn extension (default, Number-I-Dialed, 1) exited non-zero on 'SIP/200-6a22'
-- Got SIP response 404 "Not Found"