Re: [R] Library splines

2014-01-17 Thread COLLINL
> Hello, > I'm writing my Master Thesis. I'm using the R library "splines" and i want > to cite it correctly. > I have found the following documentation: > http://127.0.0.1:20742/library/splines/html/splines-package.html Christof, if you contact the authors of the package, or look on their website

Re: [R] Manually setting coefficients in an lm.

2013-11-12 Thread COLLINL
> Think you're going to have to explicitly define "hand tailor." I > haven't a clue what you mean. (Someone else might of course). Ah, I want to set a specific coefficient value for each of the terms rather than rely on training. Thus given: y ~ x0 + x1 + x2 + a I would like to set: a =

[R] Manually setting coefficients in an lm.

2013-11-12 Thread COLLINL
Greetings, I'm working on a project where I want to hand-tailor an lm. Specifically I want to construct an lm with an existing formula and then hand tailor the coefficients myself. Is there an established method for that other than manipulating the $coefficients values? Thank you, Colli

Re: [R] (no subject)

2013-11-11 Thread COLLINL
Hi Viarti, can you clarify your question slightly? (1) When you say "the predict value still on pattern scale" what do you mean? It sounds like you are saying that the prediction values are on the Ytraining values specifically or do you mean that you expect the scale to differ. (2) When you say ho

Re: [R] Nonnormal Residuals and GAMs

2013-11-06 Thread COLLINL
>>> The default functional link for mgcv::gam is "log", so I doubt that >> your theoretical understanding applies to GAM's in general. When Simon >> Wood wrote his book on GAMs his first chapter was on linear models, his >> second chapter was on generalized lienar models at which point he had >> wr

Re: [R] Heteroscedasticity and mgcv.

2013-10-29 Thread COLLINL
Thank you Simon that's quite helpful! I'll compare that with the GLMSS models. Best, Collin. > >> (1) Am I correct in understanding that Heteroscedasticity is a problem >> for >> Generalized Additive Models as it is for standard linear models? I am >> asking particularly about t

Re: [R] sh /bin/sh bad interpreter error when loading certain packages

2013-10-29 Thread COLLINL
> On Tue, 29 Oct 2013, Erin Hodgess wrote: > >> I'm on a Centos 5 Red Hat system and I'm trying to install such packages >> as >> Cairo, Rserve, etc. >> However, I keep getting an error: sh:/bin/sh bad interpreter. Erin, just to add to what Rich wrote, this may be a disk related result as well.

Re: [R] Proper power computation for one-sided binomial tests.

2008-09-26 Thread collinl
> > Am 23.09.2008 um 23:57 schrieb Peter Dalgaard: > >> For this kind of problem I'd go directly for the binomial >> distribution. If the actual probability is 0, this is essentially >> deterministic and you can look at >> >> > binom.test(0,99,p=.03, alt="less") >> > > > This means that you don't