similar to: evtree

Displaying 20 results from an estimated 2000 matches similar to: "evtree"

2008 Jul 30
1
adding lines to multiple plot
Hi I am trying to add density lines to multiple histograms created using R. I have managed to get all 18 lines on the last histogram in the series, however, i cannot figure out how to get each line appear on the correct histogram plot. I know in Matlab there is a hold function, is there something similar in R? the following is the code i have used to get mutiple plots and then add all the
2013 Jul 17
2
EWMA error
hi, Could anyone help me in solving the following error: I have 5 stocks returns data (returns) EWMA = matrix(nrow=T,ncol=5) # create a matrix to hold the covariance matrix for each t lambda = 0.94 S<-cov(returns) # initial (t=1) covariance matrix EWMA[1,] = c(S)[c(1,4,2)] ---ERROR # extract the variances and covariancefor (i in 2:T) { # loop
2012 Aug 08
1
Pass Conditional & loop argument into a function
Dear R community, I have been spending hours to solve my problem myself but I'm just unable to do it. So excuse me if I demand your time. My problem is, that inside my function, I want to pass conditional arguments (that are the result of a loop) into a function. I am sure that my approach is kind of stupid but I cannot think of another way to do it. I apologize... foo <- function(...,
2004 Oct 13
1
random forest -optimising mtry
Dear R-helpers, I'm working on mass spectra in randomForest/R, and following the recommendations for the case of noisy variables, I don't want to use the default mtry (sqrt of nvariables), but I'm not sure up to which proportion mtry/nvariables it makes sense to increase mtry without "overtuning" RF. Let me tell my example: I have 106 spectra belonging to 4 classes, the
2017 Dec 15
3
Como cambiar el tamaño de los árboles de clasificación
Muy buenas; mi primera consulta. Utilizo rpart (con as.party) y evtree, para obtener árboles de clasificación. Los represento en una windows() aparte, pero cuando el árbol es un poco grande, las hojas quedan muy estrechas y no se ven los porcentajes. ¿Sabéis como hacer que todo el árbol sea más pequeño para que las hojas no queden como simples líneas? Gracias -- Dr Manuel Mendoza
2013 Oct 16
1
Extract a predictors form constparty object (CHAID output) in R
I have a large dataset (questionnaire results) of mostly categorical variables. I have tested for dependency between the variables using chi-square test. There are an incomprehensible number of dependencies. I used the chaid() function in the CHAID package to detect interactions and separate out (what I hope to be) the underlying structure of these dependencies for each variable. What typically
2017 Aug 01
1
How automatic Y on install y/n prompts?
You are right, maintainer does keep a list of model's packages. So how do I use a variable instead of $adaboost$? getModelInfo()$adaboost$library Also, server not found: http://rwiki.sciviews.org/doku.php?id=getting-started:reference-cards:getting-help On Tue, Aug 1, 2017 at 11:46 AM, Bert Gunter <bgunter.4567 at gmail.com> wrote: > I have provided you all the
2004 Sep 21
3
how to take this experiment with R?
How about: x <- data.frame(matrix(rnorm(1550),c(50,31))) model <- step(lm(x[,1] ~ as.matrix(x[,2:31]))) --Matt -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of rongguiwong Sent: Monday, September 20, 2004 20:52 PM To: r-help at stat.math.ethz.ch Subject: [R] how to take this experiment with R? This message uses
2017 Aug 01
0
How automatic Y on install y/n prompts?
You should read the section on Indexing in the Introduction to R document that comes with R, regarding $ and `[[`. -- Sent from my phone. Please excuse my brevity. On August 1, 2017 2:44:18 AM PDT, Dimlak Gorkehgz <rain8dome9 at gmail.com> wrote: >You are right, maintainer does keep a list of model's packages. > >So how do I use a variable instead of $adaboost$? >
2014 Nov 25
0
problem with setGroupGeneric from package methods
Hi, There seems to be a problem with setGroupGeneric() from package 'methods'. The symptoms are somewhat erratic, in the sense that small changes may lead to any of the following behaviours. 1.Package works without problems on Windows and installs on Linux but gives error when loaded with library(). 2.Package installs on both systems and gives error when loaded on any of them. 3.
2010 Oct 25
1
structural equation modeling in sem, error, The model has negative degrees of freedom = -3, and The model is almost surely misspecified...
Hi all, I am attempting to learn my way through the sem package by constructing a simple structural model for some of my data on bird diversity, abundance, and primary productivity. I have constructed a covariance matrix between these variables as per the following: >S_matrix = matrix(c( >+ 0.003083259, 0, 0, >+ 0.143870284, 89.7648490, 0, >+ 0.276950919,
2009 Apr 13
5
Ruby 1.8.7 + Rails 2.3.2 + TLS = Where's the documentation?
After spending a few hours reading dozens of blogs and tutorials I am still stumped. Numerous sites mention ruby 1.8.7 and rails 2.3 supporting TLS out of the box. However, I can not find any documentation on setting this up to send emails correctly. Furthermore, after attempting to send emails using Gmail and TLS i get the following error: 530 5.7.0 Must issue a STARTTLS command first.
2012 Apr 30
2
The constant part of the log-likelihood in StructTS
Dear all, I'd like to discuss about a possible bug in function StructTS of stats package. It seems that the function returns wrong value of the log-likelihood, as the added constant to the relevant part of the log-likelihood is misspecified. Here is an simple example: > data(Nile) > fit <- StructTS(Nile, type = "level") > fit$loglik [1] -367.5194 When computing the
2013 Jul 26
1
number of items to replace is not a multiple of replacement length
Hi All, I have 5 stock values and i am calculating EWMA followed the logic as given ind following link.[ http://www.orecastingfinancialrisk.com/3.html<http://www.forecastingfinancialrisk.com/3.html> ] library('tseries') returns[,1]<-returns[,1]-mean(returns[,1]) returns[,2]<-returns[,2]-mean(returns[,2]) returns[,3]<-returns[,3]-mean(returns[,3])
2013 Nov 25
2
[LLVMdev] Language Reference bug?
Hi, The language reference uses "::" many places where it seems it should be using ".. code-block:: llvm". The result is that Sphinx does not colorize these samples. Should I fix this? Or is it purposeful? Also, anybody but me that has noticed that Sphinx does not always colorize things even if you put the proper ".. code-block:: llvm" in front? If it is a known
2019 Mar 11
2
GlobalISel: Ambiguous intrinsic semantics problem
Matt: that’s fair. We’re generally apprehensive of option 2 as well. Eli: Yes, currently we believe that aarch64.neon.addp is the only arm64 one affected, but we don’t know how prevalent this is on other targets. Splitting it is certainly possible combined with the autoupgrader. If disambiguating the intrinsics is the preferred solution, then I think we should also have the langref also specify
2012 Oct 25
5
system is computationally singular: reciprocal condition number
Hi folks, I know, this is a fairly common question and I am really disappointed that I could not find a solution. I am trying to calculate Mahanalobis distances in a data frame, where I have several hundreds groups and several hundreds of variables. Whatever I do, however I subset it I get the "system is computationally singular: reciprocal condition number" error. I know what it means
2013 Nov 25
0
[LLVMdev] Language Reference bug?
On Sun, Nov 24, 2013 at 10:19 PM, Mikael Lyngvig <mikael at lyngvig.org> wrote: > Hi, > > The language reference uses "::" many places where it seems it should be > using ".. code-block:: llvm". The result is that Sphinx does not colorize > these samples. > > Should I fix this? Or is it purposeful? > Could you give an example of what you are
2010 Jul 23
1
Survival analysis MLE gives NA or enormous standard errors
Hi, I am trying to fit the following model: sr.reg.s4.nore <- survreg(Surv(age_sym4,sym4), as.factor(lifedxm), data=bip.surv) Where age_sym4 is the age that a subject develops clinical thought problems; sym4 is whether they develop clinical thoughts problems (0 or 1); and lifedxm is mother's diagnosis: BIPOLAR, MAJOR DEPRESSION, or CONTROL. I am interested in whether or not
2009 May 01
1
computationally singular and lack of variance parameters in SEM
Hi all, I am trying to set up a simple path analysis in the SEM package, but I am having some trouble. I keep getting the following error message or something similar with my model, and I'm not sure what I'm doing wrong: Error in solve.default(C) : system is computationally singular: reciprocal condition number = 2.2449e-20 In addition: Warning message: In sem.default(ram = ram, S = S,