search for: nilu

Displaying 16 results from an estimated 16 matches for "nilu".

Did you mean: nil
2006 Jan 02
2
Plotting the mean of data
...7 3 3 3 4 3 7 I'd like to plot the mean of 'value' against week. Is there a direct way of doing this or do I have to make a new structure with the calculated values and then plot it? All the best! -- ########################################### Kare Edvardsen <kare.edvardsen at nilu.no> Norwegian Institute for Air Research (NILU) Polarmiljosenteret NO-9296 Tromso http://www.nilu.no Swb. +47 77 75 03 75 Dir. +47 77 75 03 90 Fax. +47 77 75 03 76 Mob. +47 90 74 60 69 ###########################################
2006 Jan 11
2
Space between axis label and tick labels
...nto the plot instead of away from it. Is there a better way than "cex" to control the: 1) font size of axis and tick labels 2) font thickness 3) placement of both axis and yick labels Cheers, Kare -- ########################################### Kare Edvardsen <kare.edvardsen at nilu.no> Norwegian Institute for Air Research (NILU) Polarmiljosenteret NO-9296 Tromso http://www.nilu.no Swb. +47 77 75 03 75 Dir. +47 77 75 03 90 Fax. +47 77 75 03 76 Mob. +47 90 74 60 69 ###########################################
2006 Dec 08
2
A smal fitting problem...
Dear R-helpers, I'm for sure not familiar with R, but it seem like a nice sofware tool, so I've decided to try using it. Here is my problem I just can't figure out: I'd like to do least square fit of a straight horizontal (a = 0) line y = ax + b through some data points x = (3,4,5,6,7,8) y = (0.62, 0.99, 0.83, 0.69, 0.76, 0.82) How would i find b????? All the best, Ked
2006 Dec 08
0
Re : A smal fitting problem...
...be you are also not familiar with statistic. the solution of min \sum_{i=1}^{n} (y_{i}-b)^{2} is the mean. So the solution is b<-mean(y) Justin BEM Elève Ingénieur Statisticien Economiste BP 294 Yaoundé. Tél (00237)9597295. ----- Message d'origine ---- De : Kåre Edvardsen <ked@nilu.no> À : R-help <r-help@stat.math.ethz.ch> Envoyé le : Vendredi, 8 Décembre 2006, 13h20mn 10s Objet : [R] A smal fitting problem... Dear R-helpers, I'm for sure not familiar with R, but it seem like a nice sofware tool, so I've decided to try using it. Here is my problem I just c...
2004 Jan 12
0
Re: Questions regarding [patch] PostgreSQL pdb backend
Hi Nilu, Nilanjan Bhowmik wrote: > Is postgress passdb backend submitted by Hamish patch available in the > CVS? > If true, then please put a post in the newsgroup and let us know. > > I am ready to test the patch when it is part of the CVS since it is > easier to send you the feedb...
2008 Apr 18
1
Overall p-value from a factor in a coxph fit
Hi all. If I run the simple regression when x is a categorical variable ( x <- factor(x) ): > MyFit <-coxph( Surv(start, stop, event) ~ x ) How can I get the overall p-value on x other than for each dummy variable? > anova(MyFit) does NOT provide that information as previously suggested on the list. All the best, Kare [[alternative HTML version deleted]]
2009 Oct 21
1
Bootstrapping confidence intervals
Hello, We are a group of PhD students working in the field of toxicology. Several of us have small data sets with N=10-15. Our research is mainly about the association between an exposure and an effect, so preferrably we would like to use linear regression models. However, most of the time our data do not fulfill the model assumptions for linear models ( no normality of y-varible achieved even
2009 Feb 13
1
Bootstrap or Wilcoxons' test?
Hi! I'm comparing the differences in contaminant concentration between 2 different groups of people ( N=36, N=37). When using a simple linear regression model I found no differences between groups, but when evaluating the diagnostic plots of the residuals I found my independent variable to have deviations from normality (even after log transformation). Therefore I have used bootstrap on
2005 Nov 30
1
Addon packages
I'm trying to add 'gplots' from install.packages("gplots", lib = "/usr/lib/R/library", dependencies = TRUE) on a linux host, but R does not seem to figure out there's a new package installed (yes, I've restarted the R-session). I've tried the default, and different library folders, without success. Installation does not report any warnings or bad exit
2006 Apr 05
1
Uneven y-axis scale
Dear R-gurus! Is it possible within boxplot to break the y-scale into two (or anything)? I'd like to have a normal linear y-range from 0-10 and the next tick mark starting at, say 60 and continue to 90. The reason is for better visualising the outliers. All the best, Kare [[alternative HTML version deleted]]
2006 Apr 06
1
Sorting problem
R-gurus... I've got a 5 column dataframe where I'd like to plot each ID's "b" against "c" with "b" in ascending order (within the same ID). How do I sort "b" so that the other variables are altered equally? ID a b c d 101 1 240 26.7 21.85 101 2 335 21.8 21.85 101 3 1387 26.6 21.85 101 4 877 24.1 21.85
2008 Oct 14
1
Extended summary
Is there a function providing more descriptive statistics than "summary()"? I'm working with a coxph analyses and would like to have more info on certain numbers. If my call is something like: Call: coxph(formula = Surv(followup, CasesCancer) ~ age + BMI + parity + HRT) I'd like to know: * How many CasesCancer was excluded (not only the total number of excluded due to
2008 Nov 03
1
quantcut
I'm trying to devide x into tertiles, but ends up with integer limits even x holds one decimal. The analysis is extremely sensitive to the limits and I like to keep them right. How can that be done? quartiles <- quantcut( x[x >= 0], q=seq(0,1, by=(1/3)) > table(quartiles) quartiles [180,344] (344,448] (448,644] 16467 16476 16452 [[alternative HTML version deleted]]
2008 May 23
1
Strange julian and/or strptime
Hi r-helpers... Why do I get this strange huge jump of 36524 days when changing "origin" from 1969-01-01 to 1968-12-31. It should still be close to zero! This really messes up my calculations of follow-up times in my analyses. > julian(strptime("010169", format = "%d%m%y"),origin = as.Date("1969-01-01")) > Time difference of -0.04166667 days >
2008 Oct 20
3
Trying to pass arrays as arguments to a function
I'd like to avoid looping through an array in order to change values in the array as it takes too long. I red from an earlier post it can be done by "do.call" but never got it to work. The Idea is to change the value of "y" according to values in "x". Wherever "x" holds the value 3, the corresponding value in "y" should be set to 1. So I
2005 Dec 02
1
Time series influenced by half-time, intake and treatment...
Hi! First of all: I'm a newbie to both statistics and R, so please be patient with me... I do however, like R because I've been programming (pascal, IDL, perl, C etc) and designing models since -92, but never related to statistics. Ok, here we go: I've got a set of 15 people, all of them observed over 10 weeks (10 analysed blood samples) with - let us kall it the A-value - influenced