search for: tvalue

Displaying 20 results from an estimated 29 matches for "tvalue".

Did you mean: value
2015 Aug 01
2
[LLVMdev] Strange code generation issue
Hi, I am using the LLVM release_37 branch and have a strange issue. Please see the two IR outputs I have saved below: https://github.com/dibyendumajumdar/ravi/tree/master/ravi-tests/comp_issue The original.ll is the code I am generating. The aftercompiling.ll is the output from LLVM with opt level 0. The issue is that LLVM is deciding to remove the blocks with labels updatei and updatei.64
2015 Feb 23
2
[LLVMdev] Eliminating redundant loads
...rovement. Well I ran another test to be sure. The results are below. As you can see the loads are still present. ; ModuleID = 'ravi_module_ravif1' target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-windows-msvc-elf" %0 = type { %ravi.TValue*, i32*, i64 } .... %6 = load %ravi.TValue** %base %srcvalue = getelementptr inbounds %ravi.TValue* %5, i32 0, i32 0, i32 0 %destvalue = getelementptr inbounds %ravi.TValue* %6, i32 0, i32 0, i32 0 %7 = load double* %srcvalue store double %7, double* %destvalue %srctype = getelementptr...
2015 Feb 22
2
[LLVMdev] Eliminating redundant loads
Hi, I am generating following code: %base = getelementptr inbounds %ravi.CallInfo* %6, i32 0, i32 4, i32 0 %7 = load %ravi.TValue** %base %8 = bitcast %ravi.TValue* %7 to i8* %9 = bitcast %ravi.TValue* %5 to i8* call void @llvm.memcpy.p0i8.p0i8.i32(i8* %8, i8* %9, i32 16, i32 8, i1 false) %10 = load %ravi.CallInfo** %L_ci %base1 = getelementptr inbounds %ravi.CallInfo* %10, i32 0, i32 4, i32 0 %11 = load %ravi.TVa...
2015 Feb 23
3
[LLVMdev] Eliminating redundant loads
On 23 February 2015 at 01:29, Kamal Sharma <kgs1.rice at gmail.com> wrote: > Hi Dibyendu, > > It would be very helpful if you could post the original source code or > snippet. > That way, one can investigate deeper to understand the problem. > > Regards, > Kamal Sharma > Hi Kamal, Sure. I guess I ought to create a test that one can look in isolation. I am
2015 Feb 23
2
[LLVMdev] Eliminating redundant loads
...nfo* %0 to %ravi.LClosure*** %2 = load %ravi.LClosure*** %1, align 8 %3 = load %ravi.LClosure** %2, align 8 %Proto = getelementptr inbounds %ravi.LClosure* %3, i64 0, i32 5 %4 = load %ravi.Proto** %Proto, align 8 %k = getelementptr inbounds %ravi.Proto* %4, i64 0, i32 14 %5 = load %ravi.TValue** %k, align 8 %6 = load %ravi.TValue** %base, align 8 %srcvalue = getelementptr inbounds %ravi.TValue* %5, i64 0, i32 0, i32 0 %destvalue = getelementptr inbounds %ravi.TValue* %6, i64 0, i32 0, i32 0 %7 = load double* %srcvalue, align 8 store double %7, double* %destvalue, align 8 %src...
2015 Feb 22
2
[LLVMdev] Eliminating redundant loads
On 22 February 2015 at 20:58, David Jones <djones at xtreme-eda.com> wrote: > Not sure if this is your problem, but it was mine: > > You must create (or obtain) a DataLayout *and install it into the Module*. > > It is possible to generate machine code for IR and not install the > DataLayout into the Module. Rather, the DataLayout is used locally at the > point where code
2008 Jan 19
1
How do we get two-tailed p-values for rlm?
...4.5204 25.8582 22.2181 oatoacData$erp 11.5963 5.3525 2.1665 Residual standard error: 83.29 on 36 degrees of freedom (2 observations deleted due to missingness) > i <- length(fitsum$coefficients) - dim(fitsum$coefficients)[1] + 1 > j <- length(fitsum$coefficients) > tvalues <- fitsum$coefficients[i:j] > pvalues <- pt(tvalues, df=fitsum$df[2]) > print(rbind(tvalues, pvalues)) [,1] [,2] tvalues 22.21815 2.1664977 pvalues 1.00000 0.9815145 If I use the lower.tail=FALSE argument to pt, then I seem to get only the p-values for anything &...
2009 Mar 08
0
ARIMA second order differencing problem
...9;m actually working with; these are NaNs). Despite this problem, the forecast is correct and follows the trend. dat<-c(4,5,9,7,10,15,12,13,17,25,20,29,26,31,32) ts.dat=ts(dat, start=c(1978, 2), frequency=4) ts.plot(ts.dat) arima.dat<-arima(ts.dat,order=c(1,2,0),xreg=1:length(dat)) arima.dat tvalue<-(arima.dat$coef)/(diag(sqrt(arima.dat$var.coef))) tvalue deg.free<-length(dat)-length(arima.dat$coef) pvalue<-round(2*pt(-abs(tvalue),deg.free),digits=4) pvalue fore.arima.dat<-predict(arima.dat, 20, newxreg=(length(ts.dat)+1):(length(ts.dat)+20)) ts.plot(ts.dat, fore.arima.dat$pred)...
2007 Jun 20
2
Extracting t-tests on coefficients in lm
...these coefficients are stored, if at all. When I try attributes(brg) I do not find the t values as the attributes of the object. Typing summary(brg) will PRINT the coefficients, their standard errors, t, and the associated probability. I would like to type something like tcoeff[i,] = brg$tvalue but, of course, tvalue doesn't exist. Is there a simple way to extract, or compute if necessary, these values? Thanks, Dave Howell -- David C. Howell PO Box 770059 627 Meadowbrook Circle Steamboat Springs, CO 80477
2018 Feb 04
1
Unexpected behaviour from read.table
...e a tab delimited file from an external provider where strings are encoded as =?content?. Not sure why, perhaps as most users open it in Excel. My specific issue is that trailing spaces in any of the strings are causing strange results from read.table # No trailing spaces read.table(text="ID\tValue\n=\"Total\"\t1000\n=\"CJ01\"\t550\n=\"CF02\"\t450",header=FALSE,sep='\t?) V1 V2 1 ID Value 2 =Total 1000 3 =CJ01 550 4 =CF02 450 # Now with trailing spaces in line 3 read.table(text="ID\tValue\n=\"Total\"\t1000\n=\"CJ01...
2007 Jul 17
1
A simple question
Hi all, I am a newbie of R, and have a very simple question. When I run the following t test result = t.test(weight ~ group) If I want to get the t value, I can do tvalue = result$statistic with tvalue being the following: t 1.191260 However, if I just want the number 1.191260, not the character "t", how can I achieve that? Thank you very much, Gang
2012 May 10
1
Error t value matrix
...[i-1, ] + randz[i, ] } } write.table(H, file = "datad.txt") g<-read.table("datad.txt") hy<-nrow(g)-1 estima<-H[2:nrow(g), ] estima2<-H[ 1:hy, ] mycoef <- function (x,y) a<-estima b<-estima2 f<-summary(lm(a~b)) ff<-coef(f) ff[2,"t value"] tvalue <- sapply (2:ncol(b) , function (i){ y<-a[,i] x<-b[,i] mycoef(x,y) } ) print (summary(tvalue)) [[alternative HTML version deleted]]
2009 Mar 24
4
multiple paired t-tests
Hi R users, I have a very large data set that has two conditioning variables for the test I want to perform. A toy set can be simulated: type<-sample(1:3,100,replace=TRUE) class<-sample(1:20,100,replace=TRUE) value<-rnorm(100) data<-cbind(type,class,value) (though type and class are alphanum) I want to perform the three pair-wise t-tests between types for each class in data. Can
2009 Nov 04
1
vglm(), t values and p values
...t;=3]), logit(P[Y<=4]) Dispersion Parameter for cumulative family: 1 Residual Deviance: 2475.937 on 3460 degrees of freedom Log-likelihood: -1237.969 on 3460 degrees of freedom ####################### So here are my questions: 1) I need to get the t value for x, so I can use "1 - pt(tvalue,1)" to find some sort of probability value for x. That's not trivial. Additionally, I assume df for x is 1, hence I plan to use "1 - pt(tvalue,1)", though I might well be wrong. In any case getting the darned t value seems impossible 2) because of the difficulty of getting (...
2012 Aug 27
2
Assigning colors on low p-values in table
...alues in this table are stored in vectors that I have combined as a matrix and thereafter plotted as a matrix. Therefore this problem could also be solved if the values that are larger than 0.05 in the vector ?adf.pvalue? are saved as colored values. After the values are stored in the vectors, adf.tvalue, adf.pvalue, adf.tvalue1, adf.pvalue1, adf.tvalue2 and adf.pvalue2, the code looks like this: >output<-matrix(c(col.names,adf.tvalue,adf.pvalue,adf.tvalue1,adf.pvalue1,adf.tvalue2,adf.pvalue2),ncol=7) >colnames(output)<-c("Assets","ADF-Level","P-Value",&q...
2013 Oct 18
1
No P.values in polr summary
Hi everyone, If I compute a "Ordered Logistic or Probit Regression" with the polr function from MASS package. the summary give me : coefficients, Standard error and Tvalue.. but not directly the p.value. I can compute "manualy" the Pvalue, but Is there a way to directly obtain the pa.value, and I wonder why the p.valeu is not directly calculated, is there a reason? exemple : house.plr <- polr(Sat ~ Infl + Type + Cont, weights = Freq, data = housing)...
2009 Jan 14
5
How to compute p-Values
Hello. How can I compute the Bootstrap p-Value for a one- and two sided test, when I have a bootstrap sample of a statistic of 1000 for example? My hypothesis are for example: 1. Two-Sided: H0: mean=0 vs. H1: mean!=0 2. One Sided: H0: mean>=0 vs. H1: mean<0 I hope you can help me Thanks in advance Regards, Andreas
2004 Oct 27
1
writing lm summary to file?
Hi, I want to write the summary from a regression. I am doing this because I do not see a way of get the std error, tvalues from the coefficients diagnostic. n$coef does not give this only get the intercept and slope. I tried to use write and write.table and got error in both cases. I jumped thru the hoops below to no avail. Also note, this is in windows. I used to use unix, and do not recall this problem, but onl...
2006 Jun 20
2
glm beta hypothesis testing
...cients[Qr$pivot[p1]] 5 covmat.unscaled <- chol2inv(Qr$qr[p1, p1, drop = FALSE]) 6 dimnames(covmat.unscaled) <- list(names(coef.p), names(coef.p)) 7 covmat <- dispersion * covmat.unscaled 8 var.cf <- diag(covmat) 9 s.err <- sqrt(var.cf) 10 tvalue <- coef.p/s.err 11 dn <- c("Estimate", "Std. Error") In line 10 where the tvalue is calculated I understand where s.err is coming from and why it is used, but coef.p is throwing me for a loop. First off what is: coef.p <- object$coefficients[Qr$pivo...
2011 Mar 10
1
Help writing a Scheffe Contrast function for R
....hat/se.psi.hat + t.compare<-abs(t) + k<-sqrt((J-1)*( qf((1-alpha),(J-1),(N-J)))) + if(t.compare > k) return<-c("reject H0") else result<- c("accept H0") + return(list(cbind(result)), Mean.Group.1 = y.1,n.for.1=n1, + Mean.Group.2=y.2,n.for.2=n2,N.Data=N,tValue=t,critical.value=k) + } > # > #doesn't seem to be a problem thus far > #let's enter some data > > #scheffe(IV,DV,data,group1,group2,MSw,alpha) > > scheffe(rti,score,dat1,ns,wk5o,12.242,.05) Error in if (t.compare > k) return <- c("reject H0") else res...