search for: slr

Displaying 20 results from an estimated 35 matches for "slr".

Did you mean: shr
2010 Nov 13
2
interpretation of coefficients in survreg AND obtaining the hazard function for an individual given a set of predictors
...do not understand how to interpret the regression coefficients in the survreg output and it is not clear, for me, from ?survreg.objects how to. Here is an example of the codes that points out my problem: - data is stc1 - the factor is dichotomous with 'low' and 'high' categories slr <- Surv(stc1$ti_lr, stc1$ev_lr==1) mca <- coxph(slr~as.factor(grade2=='high'), data=stc1) mcb <- coxph(slr~as.factor(grade2), data=stc1) mwa <- survreg(slr~as.factor(grade2=='high'), data=stc1, dist='weibull', scale=0) mwb <- survreg(slr~as.factor(grade2), d...
2010 Nov 15
1
interpretation of coefficients in survreg AND obtaining the hazard function
...do not understand how to interpret the regression coefficients in the survreg output and it is not clear, for me, from ?survreg.objects how to. Here is an example of the codes that points out my problem: - data is stc1 - the factor is dichotomous with 'low' and 'high' categories slr <- Surv(stc1$ti_lr, stc1$ev_lr==1) mca <- coxph(slr~as.factor(grade2=='high'), data=stc1) mcb <- coxph(slr~as.factor(grade2), data=stc1) mwa <- survreg(slr~as.factor(grade2=='high'), data=stc1, dist='weibull', scale=0) mwb <- survreg(slr~as.factor(grade2), d...
2007 Apr 18
0
[patch 2/9] Guest page hinting: unused / free pages on s390.
....align 4 diff -urpN linux-2.6/arch/s390/lib/uaccess.S linux-2.6-patched/arch/s390/lib/uaccess.S --- linux-2.6/arch/s390/lib/uaccess.S 2006-09-01 12:49:25.000000000 +0200 +++ linux-2.6-patched/arch/s390/lib/uaccess.S 2006-09-01 12:49:36.000000000 +0200 @@ -20,14 +20,14 @@ __copy_from_user_asm: slr %r0,%r0 0: mvcp 0(%r3,%r2),0(%r4),%r0 - jnz 1f +7: jnz 1f slr %r2,%r2 br %r14 1: la %r2,256(%r2) la %r4,256(%r4) ahi %r3,-256 2: mvcp 0(%r3,%r2),0(%r4),%r0 - jnz 1b +8: jnz 1b 3: slr %r2,%r2 br %r14 4: lhi %r0,-4096 @@ -39,13 +39,16 @@ __copy_from_user_asm: jnh 6f # no, the curren...
2007 Apr 18
0
[patch 2/9] Guest page hinting: unused / free pages on s390.
....align 4 diff -urpN linux-2.6/arch/s390/lib/uaccess.S linux-2.6-patched/arch/s390/lib/uaccess.S --- linux-2.6/arch/s390/lib/uaccess.S 2006-09-01 12:49:25.000000000 +0200 +++ linux-2.6-patched/arch/s390/lib/uaccess.S 2006-09-01 12:49:36.000000000 +0200 @@ -20,14 +20,14 @@ __copy_from_user_asm: slr %r0,%r0 0: mvcp 0(%r3,%r2),0(%r4),%r0 - jnz 1f +7: jnz 1f slr %r2,%r2 br %r14 1: la %r2,256(%r2) la %r4,256(%r4) ahi %r3,-256 2: mvcp 0(%r3,%r2),0(%r4),%r0 - jnz 1b +8: jnz 1b 3: slr %r2,%r2 br %r14 4: lhi %r0,-4096 @@ -39,13 +39,16 @@ __copy_from_user_asm: jnh 6f # no, the curren...
2010 Nov 16
1
Re : interpretation of coefficients in survreg AND obtaining the hazard function for an individual given a set of predictors
...ret the regression coefficients in the > survreg output and it is not clear, for me, from ?survreg.objects how to. > > Here is an example of the codes that points out my problem: > - data is stc1 > - the factor is dichotomous with 'low' and 'high' categories > > slr <- Surv(stc1$ti_lr, stc1$ev_lr==1) > > mca <- coxph(slr~as.factor(grade2=='high'), data=stc1) > mcb <- coxph(slr~as.factor(grade2), data=stc1) > mwa <- survreg(slr~as.factor(grade2=='high'), data=stc1, dist='weibull', > scale=0) > mwb <- surv...
2007 Oct 19
2
In a SLR, Why Does the Hat Matrix Depend on the Weights?
I understand that the hat matrix is a function of the predictor variable alone. So, in the following example why do the values on the diagonal of the hat matrix change when I go from an unweighted fit to a weighted fit? Is the function hatvalues giving me something other than what I think it is? library(ISwR) data(thuesen) attach(thuesen) fit <- lm(short.velocity ~ blood.glucose)
2012 Mar 26
4
reading header in txt file and making histogram
Dear all I am a BEGINNER and have R on my Mac. I saved my excel file as .txt file, I have just one column with first row as the column name. My file when read by R looks like this. After reading the table I try to make a histogram by hist(dbh), it says object dbh not found. What am I doing wrong? thanks dbh 1 11.53 2 16.05 3 7.36 4 16.05 5 8.66 6 12.74 7 22.93 8 7.55 9
2011 Jul 11
3
NetCDF, open *.nc
...R 2.13.0(x64) (with ncdf and RnetCDF packs) *I have a problem:* I'm trying to open **.nc* file and I use this script (http://r.789695.n4.nabble.com/Problem-downloading-and-opening-netcdf-file-td3046897.html#a3046965) library(ncdf) link <- "http://ibis.grdl.noaa.gov/SAT/SeaLevelRise/slr/slr_sla_gbl_free_all_66.nc" dest <- "C:/temp/slr_sla_gbl_free_all_66.nc" download.file(url=link,destfile=dest) nc1 <- open.ncdf(dest) Prof Brian Ripley advises to use *mode="wb": AFAIK.* *Where exactly should I insert this code? * *Thank you for your help!* --...
2011 Jan 24
1
Extracting information from text data
...ts (say d1, d2, …, dm)   A. Using package tm   I am using package tm to do the job. I have provided the code below:   > my.corpus <- Corpus(DirSource(my.path), readerControl = list (reader=readPlain))   In readLines(y, encoding = x$Encoding) :   incomplete final line found on 'M:\textmine/slr.txt'   > x <- TermDocMatrix(my.corpus) Error: could not find function "TermDocMatrix"   B. Using package(s) other than tm    Once again, thank you very much for the time you have given.   Regards,   Deb   The code:   library(tm) my.path<- 'M:\\textmine' my.corpus &lt...
2008 Oct 15
0
Iterative estimation of linear regression model
...have written the following programme and that I have made use of a sample data (viz., exp.txt): ? Programme: ? # Linear regression modelling with sample data (try5.txt) # Repeated estimation through loop statement x=read.table("try5.txt",header=T,sep="\t") nm=names(x) out="slrout.txt" sink(out) nvr=10;nv1=4;nv2=nvr-nv1 for(i in 1:nv1){ dep=nm[i+1]?????? # The 1st dependent variable is C1 (at column no. 2) for(j in 1:nv2){ ind=nm[j+nv1+1]?? # The first independent variable is C5 (at column no. 6) # Estimation of simple linear regression equation slr=lm(dep ~ ind,d...
2004 Mar 11
3
widen the screen place
...34 Min. : 9300300 L:944 1st Qu.:20020530 BRW : 27 1st Qu.: 9323865 N:615 Median :20020807 Q : 23 Median : 9355230 Mean :20020761 DSS : 22 Mean : 9404488 3rd Qu.:20021015 LU : 20 3rd Qu.: 9410738 Max. :20021231 SLR : 20 Max. :13191609 (Other):2038 V5 V6 V7 V8 Min. : 9300600 Min. : 0.00 Min. :0.03000 Min. : 0.62 1st Qu.: 9401610 1st Qu.: 2.00 1st Qu.:0.03500 1st Qu.: 9...
2007 Feb 16
2
How is the line in av.plot calculated?
I suspect that the line in the added variable plot (library car) is a SLR of the residuals, but I can't seem to find this written anywhere. Can someone confirm this? Thanks. Tom [[alternative HTML version deleted]]
2008 Oct 18
5
Getting names of variables without quotes
  Dear R-helpers, hello I am seeking your help in somehow getting names of variables without quotes (" "). Let us say, we have a table with 3 variables V1, V2 and V3. After the table is read, I get names of the variables (thro' the following code) as under quotes (like "V1" rather than the original representation V1)  
2016 Dec 22
2
struct bitfield regression between 3.6 and 3.9 (using -O0)
...AIL" message. However, when we compile in LLVM 3.6 it passes. (this is only an issue with -O0, higher levels of optimization work fine) After some investigation we discovered the problem, here's the relevant part of our assembly generated by LVM 3.9: load r0, r510, 24, 8 slr r0, r0, 1, 8 cmpimm r0, r0, 1, 0, 8, SNE bitop1 r0, r0, 1<<0, AND, 64 jct .LBB0_2, r0, 0, N jrel .LBB0_1 Notice the slr (shift logical right) instruction there is shifting to the right 1 position in order to get flags.foo into bit 0 o...
2016 Dec 22
0
struct bitfield regression between 3.6 and 3.9 (using -O0)
...compile in LLVM 3.6 it passes. (this is only an issue > with -O0, higher levels of optimization work fine) > > After some investigation we discovered the problem, here's the > relevant part of our assembly generated by LVM 3.9: > > load r0, r510, 24, 8 > slr r0, r0, 1, 8 > cmpimm r0, r0, 1, 0, 8, SNE > bitop1 r0, r0, 1<<0, AND, 64 > jct .LBB0_2, r0, 0, N > jrel .LBB0_1 > > Notice the slr (shift logical right) instruction there is shifting to > the right 1 position in o...
2005 Mar 22
3
mixtures as outcome variables
Dear R-users, I have an outcome variable and I'm unsure about how to treat it. Any advice? I have spending data for each county in the state of California (N=58). Each county has been allocated money to spend on any one of the following four categories: A, B, C, and D. Each county may spend the money in any way they see fit. This also means that the county need not spend all the money that
2010 Nov 17
1
Problem downloading and opening netcdf file
I am trying to download and open an on-line netcdf file. I'm using Windows XP and R 2.11.1 Here's my script library(ncdf) link <- "http://ibis.grdl.noaa.gov/SAT/SeaLevelRise/slr/slr_sla_gbl_free_all_66.nc" dest <- "C:/temp/slr_sla_gbl_free_all_66.nc" download.file(url=link,destfile=dest) nc1 <- open.ncdf(dest) The file appears in my C:/temp directory, however I can not open() it, I get this error message: > nc1 <- open.ncdf(dest) Erro...
2008 Aug 31
1
randomForest partial dependence plots
...all partial dependence plots I've looked at for this particular project. A sample graph of this is here: img213 imagevenue com/img php?image=48746_partial_plot_122_538lo jpg [replace spaces with dots, this bounces otherwise] I am unsure if this means anything or if it's built in (like a SLR going thru the mean of x an y). I should note that for this example I have assumed that the y-axis is not scaled somehow (see first question). Any insight appreciated. Thanks for your time. Christopher
2007 Apr 30
3
syslinux booting from a third partion of ipod.
Hello, I hope that somebody can help me, I am trying to boot Knoppix from the third parition of an ipod nano with out loosing the player capabilities. After fdisk I have the following partitions: slr ~ # fdisk -l /dev/sda Disk /dev/sda: 4095 MB, 4095737344 bytes 255 heads, 63 sectors/track, 497 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 10 80293+ 0 Empty (ipod firmware)...
2006 May 13
4
Eric Meyer about frameworks (Rails, too)
Hi, for those of you who haven''t read: http://meyerweb.com/eric/thoughts/2006/05/08/flummoxed-by-frameworks/ ""Oh", they gush, "you should absolutely try Ruby on Rails! It''s so easy! It''s almost like writing regular English!" Which means they''re clearly on crack, because Ruby on Rails is so very different from a human-written language