search for: sohagan

Displaying 7 results from an estimated 7 matches for "sohagan".

2017 Aug 22
1
boot.stepAIC fails with computed formula
...contact the maintainer. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Tue, Aug 22, 2017 at 10:08 AM, Steve O'Hagan <SOHagan at manchester.ac.uk> wrote: > The error is "the model fit failed in 50 bootstrap samples > Error: non-character argument" > > Cheers, > SOH. > > > On 22/08/2017 17:52, Bert Gunter wrote: >> >> Failed? What was the error message? >> >> Ch...
2017 Aug 23
3
boot.stepAIC fails with computed formula
...I get a fix that works, a work-around would be to rename the 'y1' column, used a fixed formula, and rename it back afterwards. Thanks for your help. SGO. -----Original Message----- From: Bert Gunter [mailto:bgunter.4567 at gmail.com] Sent: 22 August 2017 20:38 To: Stephen O'hagan <SOhagan at manchester.ac.uk> Cc: r-help at r-project.org Subject: Re: [R] boot.stepAIC fails with computed formula OK, here's the problem. Continuing with your example: strt1 <- lm(y1 ~1, dat) strt2 <- lm(frm1,dat) > strt1 Call: lm(formula = y1 ~ 1, data = dat) Coefficients: (Intercep...
2017 Aug 23
0
boot.stepAIC fails with computed formula
...would be to rename the 'y1' column, used a fixed formula, and rename it back afterwards. > > Thanks for your help. > SGO. > > -----Original Message----- > From: Bert Gunter [mailto:bgunter.4567 at gmail.com] > Sent: 22 August 2017 20:38 > To: Stephen O'hagan <SOhagan at manchester.ac.uk> > Cc: r-help at r-project.org > Subject: Re: [R] boot.stepAIC fails with computed formula > > OK, here's the problem. Continuing with your example: > > strt1 <- lm(y1 ~1, dat) > strt2 <- lm(frm1,dat) > > >> strt1 > > Call: &gt...
2017 Aug 22
1
boot.stepAIC fails with computed formula
...was the error message? Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Tue, Aug 22, 2017 at 8:17 AM, Stephen O'hagan <SOhagan at manchester.ac.uk> wrote: > I'm trying to use boot.stepAIC for feature selection; I need to be able to specify the name of the dependent variable programmatically, but this appear to fail: > > In R-Studio with MS R Open 3.4: > > library(bootStepAIC) > > #Fake data >...
2017 Aug 22
4
boot.stepAIC fails with computed formula
I'm trying to use boot.stepAIC for feature selection; I need to be able to specify the name of the dependent variable programmatically, but this appear to fail: In R-Studio with MS R Open 3.4: library(bootStepAIC) #Fake data n<-200 x1 <- runif(n, -3, 3) x2 <- runif(n, -3, 3) x3 <- runif(n, -3, 3) x4 <- runif(n, -3, 3) x5 <- runif(n, -3, 3) x6 <- runif(n, -3, 3) x7
2017 Aug 22
0
boot.stepAIC fails with computed formula
...t; Bert Gunter > > "The trouble with having an open mind is that people keep coming along > and sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > > On Tue, Aug 22, 2017 at 8:17 AM, Stephen O'hagan > <SOhagan at manchester.ac.uk> wrote: >> I'm trying to use boot.stepAIC for feature selection; I need to be able to specify the name of the dependent variable programmatically, but this appear to fail: >> >> In R-Studio with MS R Open 3.4: >> >> library(bootStepAIC) >&...
2017 Aug 22
0
boot.stepAIC fails with computed formula
...if I'm wrong. HTH. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Tue, Aug 22, 2017 at 8:17 AM, Stephen O'hagan <SOhagan at manchester.ac.uk> wrote: > I'm trying to use boot.stepAIC for feature selection; I need to be able to specify the name of the dependent variable programmatically, but this appear to fail: > > In R-Studio with MS R Open 3.4: > > library(bootStepAIC) > > #Fake data >...