search for: zscore

Displaying 12 results from an estimated 12 matches for "zscore".

Did you mean: score
2003 Aug 30
1
is zscore() deprecated or Windows only?
Hi I was looking through the help on how to get standardized scores and came across an anomaly. The help.search("zscore") reports there is such a function in R.base. However, when I try to get help on zscore it reports no such function and says that R.base in built for win32. I'm running the Mac OS X version of R with the smorgasboard of packages that are included in that download.
2011 Mar 22
2
Data frame and function that requires vector as input
Hi, I have a data.frame(zscores) that looks like this: gA gB g1 0.2 0.6 g2 0.3 Na My problem is that I need to use a function and the output is a vector of only the non NA values, so shorter than the list I would obtain dropping the data.frame. What is the cleanest way to keep row and column names or putt...
2007 Oct 23
2
Using a data frame in a function call
Hi, I am writing a basic function to extract the z scores for some linear regression coefficients: zscore<-function( y, x) { lm<-lm( y ~ x ) z <- coef(lm)/sqrt(diag(vcov(lm))) return(z) } I would like to pass a dataframe to the function as a argument so the function call changes from zscore(df$y1,df$x1) to zscore(y1,x1,data=df) but I am not sure how to reference the data frame insi...
2000 Jul 05
2
couldn't find function "..."
...t;wow" anyone, but just to serve as a stepping stone so that I might write more complicated functions in the future. First I created my function named "CIfunc" and saved into the current directory using the "save" command. function(Mean, SD, N, Sig) { if (N > 30) { Zscore <- pnorm(Sig)} else {Zscore <- pt(Sig,N-1)} Zscore UpperCI <- Mean + Zscore * SD / sqrt(N) UpperCI LowerCI <- Mean - Zscore * SD / sqrt(N) LowerCI } ...with no error. Next I write the function call "testcall": testcall <- call('CIfunc', prescan1...
2000 Jul 06
0
Fwd: Re: couldn't find function ...
...ght write more complicated functions in the future. > > > > First I created my function named "CIfunc" and saved into the current > > directory using the "save" command. > > > > function(Mean, SD, N, Sig) { > > > > if (N > 30) { Zscore <- pnorm(Sig)} else {Zscore <- pt(Sig,N-1)} > > Zscore > > > > UpperCI <- Mean + Zscore * SD / sqrt(N) > > UpperCI > > > > LowerCI <- Mean - Zscore * SD / sqrt(N) > > LowerCI > > > > } > > > > ...with n...
2006 Sep 02
2
Cuzick's test for trend
Hi All: I was looking for, but could not locate in the packages, or in the R archive searches if there exists an R implementation of Cuzick's test of trend. The test is described as follows: An extension of the Wilcoxon rank-sum test is developed to handle the situation in which a variable is measured for individuals in three or more (ordered) groups and a non-parametric test for trend
2007 Aug 06
1
(Censboot, Z-score, Cox) How to use Z-score as the statistic within censboot?
...RAGE+DAGE+REG_WTIME_M+CLD_ISCH+POLY_VS, data=kidneyT,method="breslow", x=T, y=T) I've used names(modz) but can't see anything that will let me extract the Z scores for each coefficient or the standard errors in the same way one can use coef (modz). I need to get either the se or Zscore as I am hoping to be able to use the Zscore within a statistic function used in censboot. I wish to find the proportion of times each of the variables in the cox model are significant out of the R=1000 bootstrap resamples. My current function for us with the bootstrap only gives me the coefficient...
2010 Oct 21
1
error opening connection 64bit R under win7 64bit
...My PhD\\Modelling\\R\\Scripts\\Functions\\functions 20jan10.r") Error in file(file, "rt") : cannot open the connection In addition: Warning message: In file(file, "rt") : cannot open file 'C:\Documents and Settings\DoHyeDan\My Documents\My PhD\Data\Smoothing\R\Scripts\zscore references\cdcwfa.txt': No such file or directory The file I'm looking for is definitely exists: > > file.exists("C:\\Users\\me\\Documents\\My PhD\\Modelling\\R\\Scripts\\Functions\\functions 20jan10.r") [1] TRUE I suspect it something with windows user rights or file pr...
2007 Apr 24
0
new version of seqinR
...y in the standard genetic code. o New function amb() to return the list of nucleotide matching a given IUPAC nucleotide symbol. o Function count() has gained a new argument alphabet so that oligopeptides counts are now possible. Thanks to Gabriel Valiente for this suggestion. The functions zscore(), rho() and summary.SeqFastadna() have also an argument alphabet which is forwarded to count(). Best, the seqinR team http://pbil.univ-lyon1.fr/software/SeqinR/seqinr_accueil.php -- Simon Penel Laboratoire de Biometrie et Biologie Evolutive Bat 711 - CNRS UMR 5558 - Univ...
2007 Apr 24
0
new version of seqinR
...y in the standard genetic code. o New function amb() to return the list of nucleotide matching a given IUPAC nucleotide symbol. o Function count() has gained a new argument alphabet so that oligopeptides counts are now possible. Thanks to Gabriel Valiente for this suggestion. The functions zscore(), rho() and summary.SeqFastadna() have also an argument alphabet which is forwarded to count(). Best, the seqinR team http://pbil.univ-lyon1.fr/software/SeqinR/seqinr_accueil.php -- Simon Penel Laboratoire de Biometrie et Biologie Evolutive Bat 711 - CNRS UMR 5558 - Univ...
2010 May 20
3
R newbie | sapply and FUN error
Greetings - While I've used R a fair bit for basic statistical machinations, I've not used it for data manipulation - I've used SAS for 20+ years (and SAS real shines in data handling). So, I've started the process of trying to figure out 'how to do in R what I can do in my sleep in SAS' - specifically wrt to data manipulating. So, these are decidely 'newbie' level
2010 Nov 08
4
: unusual combinations of categorical data
Regarding unusual combinations of factors in categorical data. Are there any R packages that can be used to identify the outliers i.e. unusual combinations in categorical datasets ? Thanks. ================================================================================ Notice of Confidentiality This transmission contains information that may be confidential and that may also be