Displaying 20 results from an estimated 6000 matches similar to: "Automatically assign symbol for statistical significance to x given value of x"
2010 Jul 14
1
Add Significance Codes to Data Frame
I was hoping that there might be some way to attach significance code like
the ones from summary.lm to a dataframe. Anyone know how to do something
like that. Here is the function i'd like to add that functionality to:
add1.coef <- function(model,scope,test="F",p.value=1,order.by.p=FALSE)
{
num <- length(model$coefficients)
add <- add1(model,scope,test=test)
sub <-
2009 Jan 31
1
display p-values and significance levels
Hi there,
I got a piece of code for the Iris data which allows to display correlation
coefficients for each Iris species in the lower panel (color coded). I would
now like to add e.g. a "*" to show the significance of each correlation next
to the correlation coefficient.
Furthermore I would like to make a t.test between the species "setosa" and
"versicolor" for
2009 Jun 18
2
Significance asterisk in a bar plot
Hi all,
How do I add an asterisk representing a significant difference to a barplot?
Cheers,
Gil
[[alternative HTML version deleted]]
2008 Mar 05
2
Correlation matrix one side with significance
Hi there!
In my case,
cor(d[1:20])
makes me a good correlation matrix.
Now I'd like to have it one sided, means only the left bottom side to be
printed (the others are the same) and I'd like to have * where the
p-value is lower than 0.05 and ** lower than 0.01.
How can I do this?
And another thing: Is there a way to output that table as a latex table?
Thanks,
Martin
--
Ihr
2008 Oct 09
2
Exporting symnum() result from cor()
Hello,
I am trying to export the results from symnum() while maintain their
readability. I tried using sink to text file and also copying and pasting
but the results end up looking like this:
> symnum(c5.s)
bC bED bEN bLP bLS bPA bPD bPR p
bbContag 1
bbED + 1
bbENN_MN + B 1
bbLPI , , , 1
bbLSI + B B , 1
bbPAFRAC , * * , * 1
bbPD , B B
2011 Feb 02
1
Significant codes in mtable
Hi all,
Does anyone know a way to change the significant stars in mtable (package memisc)? The default is
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1,
however I need it to be
Signif. codes: 0 '***' 0.01 '**' 0.05 '*' 0.1 ' ' 1
Kind regards,
Erich
[[alternative HTML version deleted]]
2008 Oct 09
1
Write multiple objects / data frames into a single .csv -- write.csv
Hello,
Is there a way to put multiple data.frames or objects into a single .csv ?
I know I can use sink() to do this for a text file. Is there way to do it
for a .csv?
e.g. for sink()
sink("c5.k.s.p.92.LN.sl.vs.mean.txt")
symnum(c5.k.92.LN.sl.vs.mean)
symnum(c5.s.92.LN.sl.vs.mean)
symnum(c5.p.92.LN.sl.vs.mean)
sink()
Could I put these all into a single .csv, in a similar format to
2011 Mar 30
1
Class noquote to matrix
Hi,
I apologize if the solution is right in front of me, but I can't find anything on how to convert a class of 'noquote' to 'matrix'. I've tried as.matrix and I've tried coercing it by 'class(x)<-matrix', but of course that didn't work. I've been using the function 'symnum' which returns an object of class 'noquote'.
Here is an
2009 Mar 08
0
statistical question: confidence interval of regression weight - significance
hi,
at first; thanks for the help on getting confidence intervals in R.
now I have a pure statistical question.
I hope you don't mind if I ask ...
I have an expectation of how large my beta-weight in a regression
should be - so I have an "ideal" or expected regression line.
Now the real beta-weight is less then the expected and when I draw the
confidence interval lines
2005 Aug 05
1
Statistical significance of a classifier
Hi,
I have a bunch of data points x from two classes A & B, and I'm creating
a classifier. So I have a function f(x) which estimates the probability
that x is in class A. (I have an equal number of examples of each, so
p(class) = 0.5.)
One way of seeing how well this does is to compute the error rate on the
test set, i.e. if f(x)>0.5 call it A, and see how many times I
2009 Mar 20
1
Is this sample size big enough to test for statistical significance?
Dear R community,
Is this sample size large enough to study differences between two groups of the populations?
Q1: do the body temperatures differ between the two groups of the overwintering turtles juveniles and adults?
One group (adults) has 6 turtles
Second group (juveniles) has 1 turtle.
There are 3 replications, i.e. the experiment was repeated over the three years, but using
2012 Mar 14
2
How to test the statistical significance of the difference of two univariate Linear Regression betas?
How to test the statistical significance of the difference of two
univariate Linear Regression betas?
Hi all,
There are two samples of data: D1 and D2.
On data D1 we do a univariate Linear Regression and get the coefficient
beta1.
On data D2 we do a univariate Linear Regression and get the coefficient
beta2.
How do I test the statistical significance of (beta1-beta2)?
Could you please
2007 Jul 19
3
Can I test if there are statistical significance between different rows in R*C table?
Dear friends,
My R*C table is as follow:
better
good
bad
Goup1
16
71
37
Group2
0
4
61
Group3
1
6
57
Can I test if there are statistical significant between Group1 and
Group2, Group2 and Group3, Group1 and Group2, taking into the multiple
comparisons?
The table can be set up using the following program:
a<-matrix(data=c(16,71,37,0,4,61,1,6,57),nrow=3,byrow=TRUE)
Thanks
2008 Dec 24
3
statistical significance, nonlinear regression
I am using nonlinear regression to fit a couple of variables to a set of
measurements. I would like to do some significance tests for the estimated
parameters. I am able to check the confidence intervals using the Jacobian
coming out of nonlinear regression.
I do see in a paper which shows t-value (it says estimated by White
method??), f-value, f-test, and j-test, are these available in matlab,
2004 Mar 23
4
statistical significance test for cluster agreement
I was wondering, whether there is a way to have
statistical significance test for cluster agreement.
I know that I can use classAgreement() function to get
Rand index, which will give me some indication whether
the clusters agree or not, but it would be interesting
to have a formal test.
Thanks.
2002 Feb 28
1
trying to build matrix for tests...
Okay, I stumped. I'm trying to build a matrix or data.frame that consists of
values by group. For example,
resid, group
574 0.536196370873122 E
575 0.93191093696265 E
576 -1.27116094894117 A
577 -1.05159666055027 A
578 0.398273458301184 D
579 0.586373126102573 E
580 0.806575304513802 E
581 0.897258393118338 E
582 0.342393324256838 D
583 0.781245511773227 E
I
2011 Nov 24
1
pairs(), expression in label and color in text.panel
Hello,
I'd like to add custom labels to my pair() plot. These
labels include math expression but they aren't correctly
displayed...
Further, I want that the boxes for the text.panel (diagonal)
have an other background color (grey80). Is that generally
possible? If yes how do I have to set it?
What I've so far is:
panel.cor <- function(x, y, digits=2, prefix="",
2003 Feb 28
1
summary.glm() print problem(?) with cor = TRUE
Hi,
I've had a look the bug list and searched though the R documentation, email
lists etc. but didn't see anything on this:
when I do:
summary(species.glm1, correlation = TRUE)
I get a correlation matrix like this:
Correlation of Coefficients:
( p I(H C
pH * 1
I(pH^2) * B 1
Ca . . 1
I(Ca^2) . . B
attr(,"legend")
[1] 0 ` ' 0.3 `.'
2006 Aug 29
1
passing namees
R 2.3.1
I wrote a little script to do some cross correlations. The symbols are
in a text file like so:
symbols.txt
ibm
dd
csco
"""
require(tseries)
symbols <- scan("symbols.txt", what = 'character')
for(line in 1:(length(symbols)-1)) {
assign(symbols[line], get.hist.quote(instrument = symbols[line],
start = "2005-09-01", quote =
2010 Nov 15
2
rotate column names in large matrix
Dear List,
I have a large (1600*1600) matrix generated with symnum, that I am using to
eyeball the structure of a dataset.
I have abbreviated the column names with the abbr.colnames option. One way
to get an even more compact view of the matrix would be to display the
column names rotated by 90 degrees.
Any pointers on how to do this would be most useful. Any other tips for
displaying the