Displaying 20 results from an estimated 800 matches similar to: "STAR models estimation with R"
2005 May 31
2
help
Dear all:
I have this:
A1 B1 C1 D1 E1
A2 B2 C2 D2 E2
A3 B3 C3 D3 E3
And I want this
A1 E1
B1 E1
C1 E1
D1 E1
A2 E2
B2 E2
C2 E2
D2 E2
A3 E3
B3 E3
C3 E3
D3 E3
Example:
m<- matrix(1:15,nrow=3,byrow=T)
m
v<- unlist(list(t(m[,1:4])))
u<-
2003 Apr 28
1
Sorry
On my previous message I gave incorrect URL's for the configuration output.
They should be
www.phineas.pwp.blueyonder.co.uk/config.log and
www.phineas.pwp.blueyonder.co.uk/config.out
Also this technique appears to work with Netscape on Solaris, but not IE on
Windows. If this is not a sensible way to post diagnostic output let me know
and I will post them in a different way.
Phineas Campbell
2013 Feb 22
2
Model selection in nonstationary VAR
Folks,
Is there any implementation available in R for the simultaneous selection of lag order and rank of a nonstationary VAR as described in Chao & Phillips (1999): Model selection in partially nonstationary vector autoregressive processes with reduced rank structure, J. Econ. (91).
Or any other systematic procedure for the consistent selection of lag order and cointegration rank?
I
2003 Apr 29
1
Installing On Solaris
I've downloaded gcc 2.95, and installed R-1.7.0
It appears to config properly, the config.out is at the following URL:
http://www.phineas.pwp.blueyonder.co.uk/config.log
Running make does not appear to work
the errors are summarized:
bash: ar: command not found
*** Error code 127
make: Fatal error Command failed for target 'libappl.a'
*** Error code 1
make: Fatal error: Command failed
2012 Dec 04
3
monte carlo simulation on R
Hello,
How can I make a monte carlo simulation on R?
Regards
Adel
--
PhD candidate in Computer Science
Address
3 avenue lamine, cité ezzahra, Sousse 4000
Tunisia
tel: +216 97 246 706 (+33640302046 jusqu'au 15/6)
fax: +216 71 391 166
[[alternative HTML version deleted]]
2010 Aug 21
4
basic hist() question
Hi list
I loaded the content of a file dureetasks.txt to variable a. This file
contains an interger per line.
when I print a vector, it displays correctly.
however, when I try to print the histogram, I get this error message
> a=read.table("dureetasks.txt")
> hist(a)
Error in hist.default(a) : 'x' must be numeric
Can you help please?
regards
--
PhD candidate in
2008 Oct 26
1
Transferring results from R to MS Word2
Tom:
Supposse your Excel file is named "myExcelFile"
Open myExcelFile and SaveAs "myExcelFile.csv" or "myExcelFile.txt"
Then go to the RConsole and type:
#Option # 1
mydata <- read.csv("PathTomyExcelFile.csv",header=T)
mydata
# You should be able to see your dataset in R
# Option # 2
# If you saved your Excel file as text then you would do:
mydata
2003 Mar 24
1
Install on Solaris 5.9
I'm trying to install R-1.6.2 on a Sparc machine running Solaris 5.9. I download and unpack R, run ./Configure from the R directory. Configure fails.The last line on the Configure script prints is 'Checking for Fortran 77 name-mangling scheme', This output and the config.log files are available at:
http://www.phineas.pwp.blueyonder.co.uk/config.log
and
2003 Feb 26
1
Samba LDAP PDC change password
Hi all,
I'm running Samba 2.2.7a on RedHat8.0 with LDAP (latest RPM from redhat)
Well I configured samba to act as a PDC with LDAP following IDEALX
recommandations.
Everything works fine BUT the password change, I cannot change the passwords
from the Win2000 or WinXP WS, it always says that the password or username
doesn't match ....
Of course it matches, I tried too many things to
2010 Jan 24
3
Display of results
Dear R-helpers,
I have been trying to carry out some variance ratio tests such as
Lo-MacKinlay test and Chow-Denning test. However, When I write the
function LM <- Lo.Mac(y,kvec)
or any other functions I don’t get the results displayed. The only
sign I get is <
I don’t understand what’s wrong (is it the package, misspecification
of the function, Vista). I am really stuck in and I would be
2005 Dec 08
1
Loading namespaces
I'm creating a package for my own use that uses some S4 classes but no
methods.
I have a file called NAMESPACE it contains the line:
exportClasses("foo")
and at the top of the R file I have
setClass("foo", representation(x="numeric")
and the line:
.onLoad<-function(libname,pkgname)
When I run R CMD check I get Syntax error in the only R file. If I
2004 Jun 08
4
off topic publication question
Dear R People:
Please excuse the off topic question, but I
know that I'll get a good answer here.
If a single author is writing a journal article,
should she use "We performed a test"
or "I performed a test",
please?
I had learned to use "we" without regard to the number
of authors. Is that true, please?
Thanks for the off topic help.
Sincerely,
Erin
2004 Oct 26
2
Empirical P Value
I am trying to return the p value for a stat from the ECDF. That is the
index of the first occurrence,
on an ordered vector, of a value either greater than or equal to a given
value.
Ideally I would not have to order the vector beforehand.
Currently I use:
PValue<-function(stat, ECDF){
###Get the length of the ECFD
L<-length(ECDF)
###Loop through the ECDF until the p value is
2011 Sep 24
2
two ecdf in the same figure
Hello,
is ot possible to draw two ecdf of vectors (say s1 and s2) on the same
figire with R.
plot function draws a new plot and there is no function like points or lines
to draw a second ecdf on the figure.
Regards
--
*PhD candidate in Computer Science
Address
3 avenue lamine, cité ezzahra, Sousse 4000
Tunisia
tel: +216 97 246 706
fax: +216 71 391 166*
[[alternative HTML version deleted]]
2012 Feb 18
2
transforming a data frame to matrix
Hello
> orderulcount
Group.1 Group.2 Group.3 x V5
7 C L 0.0 30 C / L
19 C L 0.2 27 C / L
31 C L 0.4 15 C / L
43 C L 0.6 7 C / L
54 C L 0.8 2 C / L
10 C S 0.0 27 C / S
22 C S 0.2 10 C / S
34 C S 0.4 6 C / S
46 C S 0.6 1 C / S
1 D
2012 Nov 07
1
Excel Regression Function
Dear Frauke, good afternoon,
Could you tell me which excel function didnt work for regression analysis
and what excel version where you using?
Best regards,
Paul
El 07/11/2012 11:55, "frauke" <fhoss@andrew.cmu.edu> escribió:
> Hi David, hi Rui,
>
> thanks for your quick replies. I have replicated David's R results and
> confirmed them with Minitab. Though
2010 Sep 13
1
Problem (environment?) with R CMD CHECK
Hi all,
I have a package that contains a function foo that calls a function
.fooInternal via match.fun('.fooInternal'). This step is necessary
because I want to give the user an option to override .fooInternal
with a custom function. The .fooInternal function name is not
exported. The function foo runs perfectly well when used in a normal R
session. However, the function fails the R CMD
2007 Oct 13
1
reading data and Variance Ratio Tests for Weak-form Market Efficiency
Dear Rhelp
I am first time user of R and I have the following questions:
1. How I can load my data (it is a matrix 10x1618) with the titles of the variables in the first row?
2. How I can run vrtest to calculate Variance Ratio Tests for Weak-form Market Efficiency?
Thanks in advance.
Jasim
____________________________________________________________________________________
the
2006 Dec 01
1
Demand of help
Hi,
I'm a phd student of economics in Tunisia who is intersted now with the seasonal unit roots test of Canova and Hansen. So I've installed the package "uroot" in RGUI. I use R 2.4.0. The problem when I apply the function to my data, I've always a message from RConsole that it is impossible to find the function CH.test. Are there problems as for the use of this package?
2011 Jan 19
1
printing big real values
Hello,
I have a file with very big values. I want to display the real values with
classic ways (without exposant)
> summary(a[,1]);
Min. 1st Qu. Median Mean 3rd Qu. Max.
1.198e+09 1.199e+09 1.200e+09 1.200e+09 1.201e+09 1.202e+09
Can you help please?
Regards
Adel
--
PhD candidate in Computer Science
Address
3 avenue lamine, cité ezzahra, Sousse 4000
Tunisia
tel: