Displaying 20 results from an estimated 42 matches for "pircalabelu".
2010 Jul 13
3
export tables to excel files on multiple sheets with titles for each table
...sts))
write.excel(head(iris))
Any suggestion on how to export the same information on two separate sheets, and
keeping also a title for each of them, is highly appreciated, as i have been
searching for some time for a good solution.
Thank you very much and have a great day ahead!
Eugen Pircalabelu
(0032)471 842 140
(0040)727 839 293
2008 Oct 06
1
question on lmList
...data is misused, but I don?t know where the problem could be. Has anyone encountered this message and what does it mean exactly? Is there a ?guide? or something more detailed about the general error messages from different packages, somewhere?
Thank you very much and have a great day ahead!
Eugen Pircalabelu
2008 Jul 14
0
Question regarding lmer vs glmmPQL vs glmm.admb model on a negative binomial distributed dependent variable
...r failed
In addition: Warning messages:
1: In file.remove(std_file) :
cannot remove file 'nbmm.std', reason 'No such file or directory'
2: In shell(paste(.path.package("glmmADMB"), "/admb/", file_name, ".exe", :
'C:/Documents and Settings/eugen.pircalabelu/My Documents/R/win-library/2.7/glmmADMB/admb/nbmm.exe -maxfn 500 ' execution failed with error code 1
Second problem: when running these two commands on the data set epil2 from glmmADMB package, I get very different results (I see that lmer gives SE twice as big as those returned glmmPQL) and...
2009 Oct 12
1
crosstabulation and unlist function
...bb,cc,dd=as.factor(dd))
table(unlist(df[,1:3]))
Can anyone point me to what function let's me do a crosstabulation between table(unlist(df[,1:3])) and df$dd?
I want to find out when dd==A (or B, or C) how many times do the values 1, 2 ,3,.. appear in df[,1:3]?
Thank you very much!
Eugen Pircalabelu
2008 Oct 03
1
question on xyplot
...ng in R
Now I want to be able to identify those SUBNUM that have a downwards trend like (for eg SUBNUM 7) without picking them by inspecting the plot. Is there some way how I could access these coefficients for this apparently regression line?
Thank you very much and have a great day ahead!
Eugen Pircalabelu
2007 Dec 19
2
4 questions regarding hypothesis testing, survey package, ts on samples, plotting
Good morning!
I have 4 questions which trouble me:
1. I want to test the hypothesis that the 2 proportions (the mean of a binomial) which come from 2 different samples are equal. I want to use the following function
z= (p1-p2)/ sqrt((p1(1-p1)/n1)+(p2(1-p2)/n2)) which is one of the standard formulas for this case. Is there such a function in R?
p1=the proportion from the first sample
n1=the
2007 Sep 06
3
Survey package
Good afternoon!
I'm trying to use the Survey package for a stratified sample which has 4 criteria on which the stratification is based. I would like to get the corrected weights and for every element i get a weight of 1
E.g: tipping
design <- svydesign (id=~1, strata= ~regiune + size_loc + age_rec_hhh + size_hh, data= tabel)
and then weights(design)
gives
2010 Mar 22
3
Mosaic Plots
Hello Everyone
I want to plot Moasic Plots, I have tried them using iplots package (using
imosaic). The problem is the names dont get alligned properly, is there a
way to a align the names and provide legend in Mosaic plots using R?
Also I would like to know any other packages using which I can plot Mosaic
Plots
Thank you in advance
Sunita
--
View this message in context:
2008 Jun 15
2
R vs SAS and HLM on multilevel analysis- basic question
Hi R users!
I am trying to learn some multilevel analysis, but unfortunately i am now very confused. The reason: http://www.ats.ucla.edu/stat/hlm/seminars/hlm_mlm/mlm_hlm_seminar.htm
http://www.ats.ucla.edu/stat/sas/seminars/sas_mlm/mlm_sas_seminar.htm
and
MlmSoftRev. pdf from mlmRev package.
>From what i see, the first two links seem to declare the level one variable as a random part (i
2007 Sep 06
1
the survey package
Good afternoon!
I'm trying to use the survey package to get a better point of view for my data, but i need some piece of advice:
i have some data from a survey which has been stratified using 2 criteria: region(7 values), size of locality(5 values) Using the survey pakage how can i define in a correct way this design (taking into account all 4 strata not just one as in the Survey
2007 Nov 24
1
question regarding an error message from survey package
Hi R-users!
Can anyone tell me what this error message refers to exactly
> a<-c('m','f','m')
> b<-c(1:3)
> st<-c(1:3)
> data.frame(a,b,st)
a b st
1 m 1 1
2 f 2 2
3 m 3 3
> data.frame(a,b,st)->l
> p<-svydesign(ids=~1, data=l)
> pop<-c('(intercept)'=100, st1=10,st2=20)
> calibrate(p,~st, pop)
Error in
2008 Jan 10
1
question regarding hypothesis testing in contingency tables
Hi R-users!
I have the following example:
a<-data.frame(cat=c(5,10,15), dog=c(5,10, 15), mouse=c(10,10,20))
b<-data.frame(cat=c(15,10,5), dog=c(15, 10, 5), mouse=c(20,10,10))
rownames(b)<-c("scared", "happy", "sad")
rownames(a)<-c("scared", "happy", "sad")
Let's say that a and b are 2 contingency tables and 5,10, 15, 20
2008 Mar 09
1
question for crosstable
Good evening R-users!
I have the following problem: i want to get a weighted crosstable along with the adjusted standardized residuals test
Example:
a<-c(1,1,1,1,1,2,2,2,3,3)
b<-c(10,10,23,24,33,45,46,70,21,66)
c<-c(3,3,2,3,4,1,1,1,3,3)
d<-c("a", "b","b","c","a","a","a", "b",
2008 Apr 28
1
plotting time series
Hi List,
I have the following time series and i want to be able to plot it while having the x-axis running from 1998 to 2006 but in a bi-annual format
So here is my example:
x<-sample (10:100, 17)
x<-ts(x, start=c(1998,1), frequency=2)
plot(x)
When I plot the ts it goes from 1998 to 2006 by 2years, when in fact i want it to go from 1998 to 2006 with the following form:1998 may, 1998
2008 Jun 15
1
multilevel basic lme question
Hi R users
I want to use the lme package for a multilevel analysis on the following example:
> math<-c(2, 3,2, 5, 6 ,7 , 7)
> sex<-c(1, 2, 1, 2, 2, 2, 1)
> school_A<-c(1,1,1,2,2,2,2)
> school_B<-c(10,10,10,20,20,20,20)
> mydata<-data.frame(math, sex, school_A, school_B)
> mydata
School_A and school_B are two different school characteristics, math is an
2007 Sep 24
1
weighting question
Hi R-users,
Can anyone tell me where can i find info about they way how post stratification weights are calculated when i have an already stratified survey design, especially in Survey Package (but any theoretical material would do me just fine) ?
Thank you and have a nice day!
---------------------------------
[[alternative HTML version deleted]]
2011 Aug 23
1
Glmnet lambda value choice
Hi,
When using the glmnet() function of the package glmnet, A series of coefficients is returned for a list of descending lambda values.
I am unable to locate anything in the documentation that explains HOW this choice of lambda series is made. (There is documentation about how to choose my own, but I want to understand how the authors are doing it)
Any ideas?
--
Noah Silverman
UCLA
2012 Mar 15
1
expand.grid using a matrix and a vector as input
Hello R-users,
I have the following question, for which my search did not really return any usable result.
If I have a matrix a1, and a vector a2 like below
a1<-matrix(c(1:4),2,2)
a2<-c(8,9)
is there any function like the expand.grid (or some clever calling of the function) such that it outputs a matrix or dataframe where the entire a1 matrix is repeated for each value of a2 (the
2008 Dec 22
1
newbie question on tcltk
Hi List,
Can anyone tell me how could i put the "BACK" button in the following code, just under the "AAA" menu? I want this button to go back to the previous page, and since it has nothing to do with the "1" and "2" buttons, i want it somehow separated from these two buttons, but i don't know how. I searched the web for some examples but my results
2007 Sep 07
1
R survey package again
Hi R-users!!
I have some trouble with the survey pakage and i would be very glad if you can give me an advice.
I have a sample from a survey where household were interviewed. The sample has 4 criteria on which the stratification was based: REGION, SIZE OF HOUSEHOLD, SIZE OF LOCALITY, AGE OF HEAD OF HOUSEHOLD. Since i don't have the whole information in each cell of the cross