search for: kahra

Displaying 20 results from an estimated 20 matches for "kahra".

Did you mean: kaha
2004 Sep 22
5
block statistics with POSIX classes
...ock' argument in gev in the evir package? The S+FinMetrics function aggregateSeries does the job in that module; but I do not know, how handle it in R. My guess is that (1) is done by using the function aggregate, but how to define the 'by' argument with POSIX variables? Thanks! Hannu Kahra Progetti Speciali Monte Paschi Asset Management SGR S.p.A. Via San Vittore, 37 IT-20123 Milano, Italia Tel.: +39 02 43828 754 Mobile: +39 333 876 1558 Fax: +39 02 43828 247 E-mail: kahra at mpsgr.it Web: www.mpsam.it
2004 Sep 23
3
R glm
Hello: would you please help me with the following glm question? for the R function glm, what I understand is: once you specify the "family", then the link function is fixed. My question is: is it possible I use, for example, "log" link function, but the estimation approach for the guassian family? Thanks, Shuangge Ma, Ph.D. ******************************************** *
1998 Oct 07
2
R-beta: R0.62.3 installation on RedHat 5.0
...'/usr/local/R-0.62.3/src/main' make[2]: *** [build] Error 2 make[2]: Leaving directory '/usr/local/R-0.62.3/src' make[1]: *** [R] Error 2 make[1]: Leaving directory '/usr/local/R-0.62.3' make: *** [all] Error2 What's wrong? Hannu Kahra -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request a...
2006 Jan 22
1
NAs in optim
...retp[i] <- (caw[i,j]+1/24*(b1*mom[i,j] + b2*me[i,j] + b3*btm[i,j]))*ret[i,j] } } util <- (1+retp)^(1-g)/(1-g) return(-sum(util)) } result <- optim(c(2.0,-1.0,3.5 ),object,control=list(maxit=500),hessian=TRUE,method="BFGS") Thank you in advance. Hannu Kahra [[alternative HTML version deleted]]
2006 Mar 23
1
R 2.2.1: install packages
...packages(NULL, .libPaths()[1], dependencies = TRUE, type = type) : no packages were specified > This works fine with R for Windows 2.2.0. I have this problem only with my laptop. A similar problem occurs when I try to update my MikTeX installation on the laptop. Any suggestions? Hannu Kahra [[alternative HTML version deleted]]
2004 Aug 09
4
linear constraint optim with bounds/reparametrization
Hello All, I would like to optimize a (log-)likelihood function subject to a number of linear constraints between parameters. These constraints are equality constraints of the form A%*%theta=c, ie (1,1) %*% 0.8,0.2)^t = 1 meaning that these parameters should sum to one. Moreover, there are bounds on the individual parameters, in most cases that I am considering parameters are bound between zero
2000 Mar 17
4
lag (PR#491)
Full_Name: Hannu Kahra Version: 1.0.0 OS: Windows Submission from: (NULL) (153.1.50.127) x1 <- lag(x, k=1) returns the original series x. The time series is not shiftet at all. Only the time is shiftet: for x1 new start = old start -1 and new end = old end -1. When I run, e.g. lm(x~x1) the result is not what I expe...
2004 Dec 02
0
A somewhat off the line question to a log normal distribution
...gfried, I am not a statistician, but I have learned that according to the Central Limit Theorem (CLT) sums of random variables, regardless of their form, will tend to be normally distributed. CLT does not require the variables in the sum to come from the same underlying distribution. Ciao, Hannu Kahra Progetti Speciali Monte Paschi Asset Management SGR S.p.A. Via San Vittore, 37 IT-20123 Milano, Italia Tel.: +39 02 43828 754 Mobile: +39 333 876 1558 Fax: +39 02 43828 247 E-mail: kahra at mpsgr.it Web: www.mpsam.it -----Original Message----- From: r-help-bounces at stat.math.ethz.ch...
2009 Jul 04
2
Shading the area between lines
Hi, I have a graph with seven parallel horizontal lines. Is it possible to shade the area between two adjacent lines? Thank you in advance, Hannu
2004 Nov 18
1
gibbs sampling for mixture of normals
hi i'm looking for a gibbs sampling algorithm for R for the case of mixture of K normals, and in particular for the case of bivariate normals. i'd be grateful if anyone could send its own R-routine, at least for the univariate case. thank you in advance matteo
2004 Sep 15
6
Bessel function
Dear all Currently, I'm implementing the generalized hyperbolic distribution into Splus. Unfortunately the Bessel function is not implemented in Splus. In R the Bessel function does exist but it is an internal function and I'm not able to look at the code. Is there any possibility to see the code of the Bessel function in R or does anybody has an implementation of the Bessel function in
2010 Nov 10
4
Installing R and an editor on a USB drive
Hi, I have adviced my students to install R and an editor on a USB drive for working in the computer class. With R everything works fine following these instructions: http://personal.bgsu.edu/~mrizzo/Rmisc/usbR.htm. But several editors (e.g., Tinn-R and WinEdt) require administrator rights. I have found out that Emacs (Vincent Goulet's Emacs for Windows Modified
1998 Oct 08
0
R-beta: R0.62.3/RedHat 5.0/fort77
...dynamics >option and pass it onto gcc, but it doesn't. If you remove fort77 >("rpm -e fort77") and rerun configure, R compiles quite happily with f2c. Last night I istalled g77 and I had no problems with the installation procedure with g77. Thanks to Brian and Martyn. Hannu Kahra -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat...
2004 Aug 04
2
fitting distributions
Hello, I also try to fit a skewed distribution (like skewed student t) to data points. Do you have an idee howto do this??? thank you fabrice dusonchet *********************************************************************************** This email and any files transmitted with it are confidentia...{{dropped}}
2004 Sep 21
4
unable to install dse package
Error in file(file, "r") : unable to open connection In addition: Warning message: cannot open file 'a:/project.txt' please help --------------------------------- [[alternative HTML version deleted]]
2010 Nov 11
1
Tinn-R_2.3.6.0
Hi, I just found out that Tinn-R_2.3.6.0 is now available on http://sourceforge.net/projects/tinn-r/. When configuring Tinn-R: R > Configure > Permanent (Rprofile.site) I get error C:\Program Files\R\R-2.12.0\bin\etc\RProfile.site The above file was not found. Please try to repeat the procedure! The correct path for RProfile.site is C:\Program Files\R\R-2.12.0\etc\Rprofile.site I was
2005 Jun 28
2
STAR models estimation with R
Hi, Can you tell me if there are an R package or code for STAR model estimation and test misspecification. If no, how i could do this. Thanks in advance Best regards AJMI Noomen Phd student TUNISIA --------------------------------- [[alternative HTML version deleted]]
2004 Aug 12
9
Giving a first good impression of R to Social Scientists
Dear all, in the coming Winter Semester, I will be a teaching assistant for a course in Survival Analysis. My job will be to do the lab sessions. The software used for these lab sessions will be R. Most of the students have a background in social sciences and the only stats package they used so far is most likely SPSS. So I assume they might be quite surprised the first time they see R
2004 Aug 12
4
Help with generating data from a 'not quite' Normal distriburtion
I would be very grateful for any help from members of this list for what might be a simple problem... We are trying to simulate the behaviour of a clinical measurement in a series of computer experiments. This is simple enough to do in R if we assume the measurements to be Gaussian, but their empirical distribution has a much higher peak at the mean and the distribution has much longer tails.
2004 Sep 16
3
Estimating parameters for a bimodal distribution
For several years, I have been using Splus to analyze an ongoing series of datasets that have a bimodal distribution. I have used the following functions, in particular the ms() function, to estimate the parameters: two means, two standard deviations, and one proportion. Here is the code I've been using in S: btmp.bi <- function(vec, p, m1, m2, sd1, sd2) {