Re: [R] Logistic regression with constrained parameter ??

2005-08-28 Thread Prof Brian Ripley
On Sat, 27 Aug 2005, Benn Fine wrote: I want to fit a logistic regression model under a specified null hypothesis, say Ho:Beta_k=1 Is there a way to constrain a parameter in glm.fit ?? You should be calling glm(). Then you can use offset() in your formula. (You can also use it as an

[R] [newbie] Want to perform some simple regressions.

2005-08-28 Thread Thomas Baruchel
Hi, I am a very newbie to R, and also have no knowledge concerning statistics. Nevertheless I think R might be the right software for a very specific number theory problem I sometime have. Studying some properties, I often get sequences of real numbers (let's call them y, the index x being 0, 1,

Re: [R] [newbie] Want to perform some simple regressions.

2005-08-28 Thread Thomas Baruchel
On Sun, Aug 28, 2005 at 09:48:15AM +0200, Thomas Baruchel wrote: Is R the right choice ? Please, could you step by step show me how you would do on this example (data below) in order to let me I forgot my data :-( 0 2.205954909440447 1 8.150580118785099 2 15.851323727378597 3

Re: [R] [newbie] Want to perform some simple regressions.

2005-08-28 Thread Sean O'Riordain
Hi Thomas, I'm not an expert - so I might use incorrect terminology, but hopefully you'll get the picture! Assuming that you've got your data in a .CSV file, you'd first read in your data, where the first three lines might look like... x,y 0,2.205954909440447 1,8.150580118785099 # load the info

Re: [R] [newbie] Want to perform some simple regressions.

2005-08-28 Thread Duncan Murdoch
Sean O'Riordain wrote: Hi Thomas, I'm not an expert - so I might use incorrect terminology, but hopefully you'll get the picture! Assuming that you've got your data in a .CSV file, you'd first read in your data, where the first three lines might look like... x,y 0,2.205954909440447

Re: [R] [newbie] Want to perform some simple regressions.

2005-08-28 Thread jim holtman
try 'nls' Here is your data applied to it. It looks like you had an 'exact' fit: x.1[1:10,] V1V2 1 0 2.205955 2 1 8.150580 3 2 15.851324 4 3 22.442796 5 4 29.358580 6 5 36.460605 7 6 43.751692 8 7 51.223688 9 8 58.866102 10 9 66.668220 x.p - nls(V2 ~

Re: [R] printCoefmat with more p-values?

2005-08-28 Thread Uwe Ligges
Lukasz Komsta wrote: Dear useRs, I would like to summarize results of several tests in groups of two columns - statistic, p-value, statistic, p-value etc. There would be nice to add significance stars, but printCoefmat allows to do it only to last column. Is there any way to do format

[R] stratified Wilcoxon available?

2005-08-28 Thread Heinz Tuechler
Dear All, is there a stratified version of the Wilcoxon test (also known as van Elteren test) available in R? I could find it in the survdiff function of the survival package for censored data. I think, it should be possible to use this function creating a dummy censoring indicator and setting it

[R] predict.coxph

2005-08-28 Thread Chuck Cleland
Is there anywhere to find more detail on the different types of predictions (lp, risk, terms) in predict.coxph? I would like to create a summary risk score after fitting a multivariable model with time-varying covariates. If it makes a difference, 0 will be a substantively meaningful value

Re: [R] stratified Wilcoxon available?

2005-08-28 Thread Peter Dalgaard
Heinz Tuechler [EMAIL PROTECTED] writes: Dear All, is there a stratified version of the Wilcoxon test (also known as van Elteren test) available in R? I could find it in the survdiff function of the survival package for censored data. I think, it should be possible to use this function

[R] Statistics with R

2005-08-28 Thread Vincent ZOONEKYND
Dear list, One year ago, some of you had wished for an English version of my web page Statistiques avec R. The translation is now completed. As the French version, this document is still unfinished, probably full of mistakes -- but amply illustrated. For those of you who had not browsed through

Re: [R] stratified Wilcoxon available?

2005-08-28 Thread Frank E Harrell Jr
Peter Dalgaard wrote: Heinz Tuechler [EMAIL PROTECTED] writes: Dear All, is there a stratified version of the Wilcoxon test (also known as van Elteren test) available in R? I could find it in the survdiff function of the survival package for censored data. I think, it should be possible to

Re: [R] stratified Wilcoxon available?

2005-08-28 Thread Heinz Tuechler
Thanks to Peter Dalgaard and Frank Harrell for your answers. Fortunately I don't have an urgent need for this test, but it may be in the future. Still I would be grateful if someone could comment on my opinion that using survdiff and regarding all the measures as events would lead to an equivalent

Re: [R] PLSR: model notation and reliabilities

2005-08-28 Thread I.Ioannou
On Sat, Aug 27, 2005 at 04:04:13AM +0300, I.Ioannou wrote: I'm new in both R and statistics. I did my homework, but apparently it was not enough :-( I took a look inside the code of the *pls.fit functions and at least now I know where I got it wrong. So, I'm rephrasing my question : I

[R] Areas of Voronoi polygons in a given window

2005-08-28 Thread j . silver
Hi, I'm using the package 'tripack' to look at the Voronoi tesselations of point patterns. I want to calculate the area of the intersection of each polygon with the unit square (in which all of my points lie). So far I have been using: voronoi.area(voronoi.mosaic(runif(10),runif(10))) This

Re: [R] stratified Wilcoxon available?

2005-08-28 Thread Thomas Lumley
On Sun, 28 Aug 2005, Heinz Tuechler wrote: Thanks to Peter Dalgaard and Frank Harrell for your answers. Fortunately I don't have an urgent need for this test, but it may be in the future. Still I would be grateful if someone could comment on my opinion that using survdiff and regarding all the