Displaying 20 results from an estimated 11000 matches similar to: "Program of matrix of seasonal dummy variable(Econometrics)"
2007 Aug 22
3
rectify a program of seasonal dummies matrix
Hi friends,
I would like to construct a matrix of seasonal dummies with number of rows (observations)=100. such matrix is written as follows:[1 0 0 0;0 1 0 0;0 0 1 0;0 0 0 1;1 0 0 0;0 1 0 0;0 0 1 0;0 0 0 1;etc...] . I wrote the following program:
T=100
br=matrix(0,T,4)
{
for (i in 1:T)
for (j in 1:4)
if i==j
br[i,j]=1
if else (abs(i-j)%%4==0
br[i,j]=1
else
br[i,j]=0
}
z<-br
z
but
2006 Dec 02
1
Problem with CH.test in uroot package
Dear friends, I installed the package “uroot” then I wrote library (uroot) and I entered a series entitled extp, in spite of that the problem persite. In short,here are what I wrote and the message that I obtained:
> library(uroot)
> extp=c(1,3,10,14,12,5,8,12,13,15,9,8,7,10,9,7,3,10,3,11,12,7,4,9,8,10,20,17)
> CH.test (wts=extp, frec=c(1,1), f0=1, DetTr=FALSE, ltrunc=NULL)
Erreur dans
2007 Apr 24
2
write
ok,
I have problems with write function
> F
Id_TrT1 Id_Geno Id_Rep Val_O
3 0 55094 1 85
9 0 55096 1 87
15 0 55098 1 92
21 0 55079 1 76
27 0 55095 1 92
33 0 55099 1 98
39 0 55092 1 92
45 0 55090 1 72
51 0 55101 1 93
57 0 55106 1 90
2005 Oct 20
3
problème d'import de fichier
hello!
je veux importer un fichier de donnees excel que j'ai au prealable
converti en fichier txt avec separateurs tab, fichier de la forme entree
simple (suite de colonnes contenant des variables).
Voila ma ligne de commande :
> poussins <- read.table("poussins.txt", header=T, sep="\t")
et sa reponse
Erreur dans scan(file = file, what = what, sep = sep, quote =
2007 May 02
2
I need help
hello,
I need help because I don't understand the syntaxe "else" how can I write it for example I writed a script to cut missings values and I have errors
> if(na==length(C)){
+ pos=match(0,match(donGeno[[na-1]],donGeno[[na]],nomatch=0))
+ for(k in 1:(na-1)) {
+ if(pos==1) {donGeno[[k]] <-
2009 Jan 09
5
grep : escape "*"
Dear R useRs,
Sorry for this foolish question, but I can't find how to escape the *
character when using grep :
> grep("-", c("/3", "2*3", "4-4"))
[1] 3
> grep("/", c("/3", "2*3", "4-4"))
[1] 1
> grep("*", c("/3", "2*3", "4-4"))
Erreur dans grep("*",
2005 Sep 16
1
About princomp
Hi,
I run the example for princomp for R211
I got the following error for biplot
> ## The variances of the variables in the
> ## USArrests data vary by orders of magnitude, so scaling is appropriate
> (pc.cr <http://pc.cr> <- princomp(USArrests)) # inappropriate
Erreur dans cov.wt(z) : 'x' must contain finite values only
> princomp(USArrests, cor = TRUE) # =^=
2005 Jul 22
1
multiplicate 2 functions
Thks for your answer,
here is an exemple of what i do with the errors in french...
> tmp
[1] 200 150 245 125 134 345 320 450 678
> beta18
Erreur : Objet "beta18" not found //NORMAL just to show it
> eta
[1] 500
> func1<-function(beta18) dweibull(tmp[1],beta18,eta)
> func1<-func1(beta18) * function(beta18)
dweibull(tmp[2],beta18,eta)
Erreur dans dweibull(tmp[1],
2013 May 15
2
erreur dans R
Bonjour,
dans la computation de mon modèle dans R avec le package deSolve pour des Equations Différentielles Ordinaires (ODEs), je rencontre l'erreur suivant:
Erreur dans checkFunc(Func2, times, y, rho) :
The number of derivatives returned by func() (1457) must equal the length of the initial conditions vector (17)
à quoi devrais-je regarder?
merci
2007 Nov 21
10
bugs
Bonjour tout le monde.
Parfois j''ai mon application qui se ferme toute seul et voila l''erreur qui apparaît: "Exit code: -1073741819"
Est-ce que quelqu''un peut m''expliquer ce que veut dire ce message d''erreur?
Je vous remercie.
sebastien
http://beusse.liveror.com
_______________________________________________
wxruby-users mailing list
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?
2007 May 14
4
Batch
I saw the R-help to run some R programs in batch I used it like this
> R CMD BATCH C:/Documents and Settings/melyakhlifi/Bureau/calcara.r
Erreur : erreur de syntaxe dans "R CMD"
but without success!!!I don't work on linux but on windows IS it the same command ?
_____________________________________________________________________________
[[alternative HTML version
2010 Jan 26
2
hdf files
hello,
I have a problem to open an hdf file. i have downloaded the package 'hdf5' as it was advised on R seek. But when i try to load the file, the R console sends me an eror message:
setwd("C:/Documents and Settings/Karine/Bureau/data/")
#install.packages('hdf5')
library("hdf5")
sea_ice <- hdf5load("asi-s6250-20090704-v5i.hdf", load =
2008 Jun 05
2
bartlett.test()
i'm trying to test the homogeneity of variance of 92 samples each one
contains 3 observations.
to use bartlett.test function i have created a (3,92) matrix (named xx):
>bartlett.test(xx)
this message appears:
>Erreur dans bartlett.test.default(xx) :
l'argument "g" est manquant, avec aucune valeur par d?faut
when i checked the help i have understood that in g i should
2011 Jul 29
2
'breackpoints' (package 'strucchange'): 2 blocking error messages when using for multiple regression model testing
Good morning to all,
I am encountering a blocking issue when using the function 'breackpoints'
from package 'strucchange'.
*Context:*
I use a data frame, 248 observations of 5 variables, no NA.
I compute a linear model, as y~x1+...+x4
x4 is a dummy variable (0 or 1).
I want to check this model for structural changes.
*Process & issues:*
*First, I used function Fstats.* It
2012 Apr 17
1
differents behaviour of packages depending on rJava under 32 and 64 bit versions of R 2.14.2
Hi listeRs,
Maybe I have missed something, but I am facing a problem I don't understand
even after reading archives and manuals (…maybe not carefully enough !) :
On my PC (64-bit OS, Intel Xeon CPU , two L5506@2.13 GHz processors, 12 Go
RAM) under Windows 7 SP1,
I run both 32-bit (i386-pc-mingw32/i386) and 64-bit (x86_64-pc-mingw32/x64)
version 2.14.2 (2012-02-29) of R, packages
2016 Mar 26
2
PHP bindings fail on Ubuntu for xapian-bindings-1.2.21
Hi Olly and co,
On an Ubuntu 15.10, following the docs at
https://trac.xapian.org/wiki/FAQ/PHP%20Bindings%20Package
When
running debuild -e PHP_VERSIONS=5 -us -uc
I get (sorry for the French):
"
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: paquet source xapian-bindings
dpkg-buildpackage: version source 1.2.21-2.1
dpkg-buildpackage: distribution source unstable
2009 Jul 20
2
I might be dumb : a simple question about "foreach"
Hi list,
My attention was drawn to the foreach package by recent posts...I
decided to have a look...
I'm using R.2.9.1 on Windows, I have downloaded the foreach package
today (v 1.2.1), together with iterators (v. 1.0.1) and codetools (v.0.2-2).
Full of hope I try the most simple thing of all out of the package
vignette :
> x <- foreach(i = 1:3) %do% sqrt(i)
and get :
> Erreur
2004 Mar 29
1
wine-20040309 build error
Hi all,
I am trying to build wine-20040309, and i am facing a gcc crash while compiling
winetest. The log is below (sorry : it's localized in french).
make[2]: Entre dans le r?pertoire
`/home/root/build/wine-20040309/programs/winetest'../../tools/winegcc/winegcc
-B../../tools/winebuild -mwindows gui.o main.o send.o util.o
winetest.exe.dbg.o gui.res winetest.res -o winetest.exe.so
2008 Jun 02
1
probleme with R CMD check
Hi the list.
I got a probleme with R CMD check. I run a package.skeleton on a very
simple code (four toy function, no probleme with the R CMD build). But
on the R CMD check packClassique, I get :
* checking for unstated dependencies in R code ... WARNING
Erreur dans .find.package(package, lib.loc) : aucun package nomm?
'packClassique' n'est trouv?
Calls: <Anonymous> ->