Displaying 20 results from an estimated 8000 matches similar to: "regression towards the mean, AS paper November 2007"
1999 Dec 22
1
No subject
Dear friends.
I've forgotten how to simulate data with a known correlation, e.g. only two columns. I'd be most pleased to be told.
Thanks in advance
Troels Ring, M.D
Department of Nephrology
Aalborg, Denmark
tring at mail1.stofanet.dk
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
1999 Jun 07
1
Re:
move or copy the directories mass, nnet and class to the library directory
- then execute link.html.help()
Now execute library(MASS) and data(petrol)
Should work.
"Troels Ring"
2009 Jan 06
1
history: recording
Hi, I'm using windows xp and R 2.8.0 - I wonder what is the command to
put in a script that has the same effect as when in a plot you choose
menu "History" and "Recording".
Best wishes
Troels
--
Troels Ring - -
Department of nephrology - -
Aalborg Hospital 9100 Aalborg, Denmark - -
+45 99326629 - -
tring at gvdnet.dk
1999 Jun 27
2
paste and path ?
Dear friends. I have trobpe with path.
Below I have tried to paste a path and file name but it will not work
> path <- "D:/rw0641/own/own/procedures/GFR_TIME"
> path
[1] "D:/rw0641/own/own/procedures/GFR_TIME"
> path1 <- paste(path,"gfr.txt",sep="/")
> path1
[1] "D:/rw0641/own/own/procedures/GFR_TIME/gfr.txt"
-- this is good
1999 Jan 01
1
RE: timeslab
Hi Troels,
Its in the incoming directory:
ftp://ftp.ci.tuwien.ac.at/incoming
Try this for a nice demo:
> library(timeslab)
> arma(alpha, beta, x, 2, 4, 3, 0.2,500, 30,0)
Bernd
On 01-Jan-99 Troels Ring wrote:
> Hi Johannes Wuebben and a happy new year.
> Where did you actually put the timeslab ?
> Yours
>
> Troels Ring, MD
> Department of Nephrology
2008 Jul 06
1
lattice smooth problem?
Dear friends - I'm on windows, R 2.7.0
I try again asking if anyone can explain why a single pig of 16 makes so
wild swings.
Warnings are issued, and they are
1: pseudoinverse used at 482.1
2: neighborhood radius 242.1
3: reciprocal condition number 0
4: at 360
5: radius 14400
6: all data on boundary of neighborhood. make span bigger
7: There are other near singularities as well. 14400
8:
2008 Sep 01
1
ordered factor and table
dear friends - I have an ordered factor, ID, in a data.frame, labs, and
make a table,
aa <- with(labs,table(val >150,ID)) - and now the order in the table is
according to the alphabetic order in ID, and not as I want it. I have
tried adding
[order(unique(labs$ID)] but it doesn't help.
I have R 2.7.1 on WinXP.
Best wishes
Troels
--
Troels Ring - -
Department of nephrology - -
2010 Jan 24
1
lattice ltext
Dear friends - please give me a hand.
I have a dataset of 40 patients in two groups observed on three
occasions. I only want to plot a line
for each patient in the two groups. I use the ltext function to put the
patient number but fail to make lattice understand the numbers as
unique since apparently it starts all over with 1:20 for each panel
instead of respecting my desires to have 1:20
2005 Nov 29
3
drawing a circle using symbols
Dear friends, I was drawing a circle with centrum in (1,-1) and
radius 5 to show my girl that the line y=3*x+1 goes through (1,4) and
(-2,-5) of the circle, but on Windows XP, R 2.20 the drawing was not
good at all, and the known solutions were not shown in the graph. I
guess I got it wrong? Is this use not intended ?
Best wishes
Troels Ring, MD
Aalborg, Denmark
2010 Dec 16
4
editor for MacOS
Dear friends - I'm using Tinn-R in Windows and find it OK. My son is
running MacOS and is just starting using R and I know nothing about
MacOS and R but we seem to have difficulties in finding something
similar to Tinn for MaC. What are your suggestions?
Thanks a lot!
Troels Ring, MD
Aalborg, Denmark
2003 Sep 15
2
POSIX and identify
Dear Friends, I'm using winXP and R 1.7.1 and plotting some data using
dates on the x-axis, and wanted to use identify to show some points but was
told by identify that the x and y vectors producing a fine graph with 84
points were not equal in length. Below are the Dato for date - and
length(Dato) finds 9 but str finds 84 as known. Will identify not work in
this context ?
Best wishes
2008 Jul 23
1
R2WinBUGS problem
Dear friends - I'm on winXP, R 2.71 - I have with some help dveloped
this multivariate normal model, which gives very plausible results in
WinBUGS even without any
initial values specified. However, when I then try to run the same model
via the bugs function in R2WinBUGS with inits specified as inits=NULL
the program stops in a dead end. So I have tried to make inits for the
bugs function
2004 Nov 22
2
optimize in very small values
I hope you will forgive me this simple question on titration.
I'm trying to find very small values from the algorithm below, which I
believe is
correctly formatted, and the constants are also correct. When SID goes over
ATOT, fitted vales are
much too low compared to the literature. I guess I must be using optimize
in a wrong way but cannot find out how to improve it. I'm on windows, R
1999 Jan 12
2
PAR(las)
Dear friends. In the documentation for PAR it is specified that "las" allowing turning axis labels away from default=parallel to axis is not implemented. I need to make graphs with horizontal Y axis labels - how to ?
I'm using win98.
Thank you in advance.
Sincerely yours
Troels Ring, MD
Department of Nephrology
Aalborg Hospital
Aalborg Denmark
2017 Sep 27
2
disturbed legend in ggplot2
Dear friends - below is a subset of a much larger material showing two
ways of generating two "lines". The intention is to have the colour
reflect a variable, pH, but the legend is disturbed. The little part
marked "3" above the colour scale is unwelcome. Why did it appear? How
could I avoid it?
I'm on Windows 7, R version 3.4.1 (2017-06-30) -- "Single
1999 Oct 18
1
No subject
Dear friends.
When using in windows version the menu function to change directory, what actions are actually performed, i.e. what commands could I write to a file to make a CD ? I couldn't find it mentioned anywhere - undoubtedly an oversigth on my part.
Troels Ring, M.D
Department of Nephrology
Aalborg, Denmark
tring at mail1.stofanet.dk
2003 May 04
1
array question on indexing
Dear friends,
I have struggled to do what is likely rather simple but cannot get it working.
I have a dataframe with 428 obs. of 5 variables on 26 patients. Two
variables are responses, one an index of patients (1:26), one a
period-indicator :1 :max 3, and one total time from min 1 to max 36 weeks
(max 21 entries). A complete set would be 26*21=546 long but here are only
428 entries.
Now,
2005 Oct 16
1
measurement error model - "simple" linear regression
Dear friends, I found the thread on this subject this summer but
wonder whether it has been taken any further. I have an important
medical problem where X is computed from a three independent and
complicated measurements (exchangeable sodium and potassium and total
body water - i.e. X = (Nae+Ke)/TBW ) and Y is serum sodium
concentration (all data in Edelman, JCI 1958). I have the individual
2017 Aug 14
3
weight in lm
Dear friends - I hope you will accept a naive question on lm: R version
3.4.1, Windows 10
I have 204 "baskets" of three types corresponding to factor F, each of
size from 2 to 33 containing measurements, and need to know if the
standard deviation on the measurements in each basket,sdd, is different
across types, F. Plotting the observed sdd versus the sizes from 2 to
33, called
1999 Oct 29
1
No subject
Dear friends. I just downloaded tseries dated 27.10.99 (from Aalborg, Denmark) and it seems it lacked something, library ts was not available ? What to do ?
> library(tseries)
Loading required package: ts
Warning: There is no package called `ts'
>
>
Best wishes
Troels Ring, M.D
Department of Nephrology
Aalborg, Denmark
tring at mail1.stofanet.dk