Displaying 9 results from an estimated 9 matches for "0.1139".
Did you mean:
0.11.9
2009 Apr 17
4
Separating variables in read.table
If I have a table (we'll call it, "test") containing two columns (as below):
i x1 x2 x3 x4 x5 y
0 1.125 0.232 7.160 0.0859 8.905 1.5563
7 0.920 0.268 8.804 0.0865 7.388 0.8976
15 0.835 0.271 8.108 0.0852 5.348 0.7482
22 1.000 0.237 6.370 0.0838 8.056 0.7160
29 1.150 0.192 6.441 0.0821 6.960 0.3130
37 0.990 0.202 5.154 0.0792 5.690 0.3617
44 0.840 0.184 5.896 0.0812 6.932 0.1139
58
2009 Jun 18
1
Print column headers of summary
Hello,
This is a newbee question. I would simply like to write in a text file the
headers of the summary function along with the computed data.
write(summary(x), file="out.txt")
gives only the data.
I have not found a solution on the forum.
Thank you for any help.
--
View this message in context: http://www.nabble.com/Print-column-headers-of-summary-tp24094930p24094930.html
Sent
2011 Nov 03
2
Take variables in data.frame and create list of matrices
Hi,
I have this sample data below and would like to create a list of matricies.
setseed(1254)
id <- c(1,1,1,1 ,2,2,2)
o <- as.factor(c(1:4, 1, 3, 4))
r <- rep(.5, 7)
v <- rnorm(7)
s <- rnorm(7)
dat <-data.frame(id, o, r, v, s)
dat
#> dat
# id o r v s
# 1 1 0.5 0.7024631 2.0813672
# 1 2 0.5 -0.5541955 0.1095156
# 1 3 0.5 -1.0418167 0.4164930
# 1
2009 Feb 11
2
Linear model
I want to know how accurate are the p-values when you do linear regression in
R?
I was looking at the variable x3 and the t=10.843 and the corresponding
p-value=2e-16 which is the same p-value for the intercept where the t-value
for the intercept is 48.402.
I tried to calculate the p-value in R and I got 0
x<-2*(1-pt(10.843,2838))
> x
[1] 0
> G<-lm(y~x1+x2+x3+x4+x5)
>
2008 Mar 02
0
coxpath() in package glmpath
Hi,
I am new to model selection by coefficient shrinkage
method such as lasso. And I became particularly
interested in variable selection in Cox regression by
lasso. I became aware of the coxpath() in R package
glmpath does lasso on Cox model. I have tried the
sample script on the help page of coxpath(), but I
have difficult time understanding the output.
Therefore, I would greatly appreciate if
2005 Aug 08
2
extract t-values from pairwise.t.test
Hi,
how can I extract the t-values after running a pairwise.t.test? The
output just list the p-values.
Many thanks for your help.
Cheers
Guido
____________________________________
Guido J. Parra
School of Tropical Environment Studies and Geography
James Cook University
Townsville
Queensland 4811
Phone: 61 7 47815824
Fax: 61 7 47814020
Mobile: 0437630843
e-mail:
2007 Mar 14
0
Wald test and frailty models in coxph
Dear R members,
I am new in using frailty models in survival analyses and am getting
some contrasting results when I compare the Wald and likelihood ratio
tests provided by the r output.
I am testing the survivorship of different sunflower interspecific
crosses using cytoplasm (Cyt), Pollen and the interaction Cyt*Pollen
as fixed effects, and sub-block as a random effect. I stratified
2008 Jul 25
2
Fit a 3-Dimensional Line to Data Points
Hi Experts,
I am new to R, and was wondering how to do 3D linear
regression in R. In other words, I need to Fit a
3-Dimensional Line to Data Points (input).
I googled before posting this, and found that it is
possible in Matlab and other commercial packages. For
example, see the Matlab link:
2009 Feb 08
0
Initial values of the parameters of a garch-Model
Dear all,
I'm using R 2.8.1 under Windows Vista on a dual core 2,4 GhZ with 4 GB
of RAM.
I'm trying to reproduce a result out of "Analysis of Financial Time
Series" by Ruey Tsay.
In R I'm using the fGarch library.
After fitting a ar(3)-garch(1,1)-model
> model<-garchFit(~arma(3,0)+garch(1,1), analyse)
I'm saving the results via
> result<-model