search for: xingwang

Displaying 9 results from an estimated 9 matches for "xingwang".

2007 Sep 06
3
Warning message with aggregate function
...list(wool = wool, tension = tension), sum) The results are right but I get a warning message: "number of items to replace is not a multiple of replacement length." BTW: I use R version 2.4.1 in Ubuntu 7.04. Your kind solutions will be great appreciated. Best wishes Yours, sincerely, Xingwang Ye
2007 Apr 05
1
p value for coefficients in multinomial model
...in R as in SAS. how can I easily get the p value for each coeefficients? However,the "LR Chisq" for each variables are similar but not identical to that from SAS, why? BTW,please forward your kind answers to my email. Thank you. Best wishes yours, sincerely Xingwang Ye PhD candidate Research Group of Nutrition Related Cancers and Other Chronic Diseases Institute for Nutritional Sciences, Shanghai Institutes of Biological Sciences, Chinese Academy of Sciences P.O.Box 32 294 Taiyuan Road Shanghai 200031 P.R.CHINA
2007 Mar 21
1
how to get "lsmeans"?
...run; In R, I tried this: library(Design) ddist<-datadist(a) options(datadist="ddist") f<-ols(Y~A+B+C+D,data=a,x=TRUE,y=TRUE,se.fit=TRUE) then how to get the "lsmeans" for A, B, and C, respectively with predict function? Best wishes yours, sincerely Xingwang Ye PhD candidate Research Group of Nutrition Related Cancers and Other Chronic Diseases Institute for Nutritional Sciences, Shanghai Institutes of Biological Sciences, Chinese Academy of Sciences P.O.Box 32 294 Taiyuan Road Shanghai 200031 P.R.CHINA
2007 Aug 20
1
Ask for functions to obtain partial R-square (squared partial correlation coefficients)
...al function to work with class lm or glm to obtain the pcorr2 (squared partial correlation coefficients using Type II sums of squares) and scorr2 (squared semi-partial correlation coefficients using Type II sums of squares) for all independent variables (>3 variables) simultaneously? Thank you. Xingwang Ye
2008 Jan 13
1
What is the 'scale' in princomp() function?
Dear R users, When I tried to use princomp() from stats packages to do Principal Components Analysis, I am not very clear what is the "scale". And the scores are different from "PROC PRINCOMP" procedure from SAS. Using the example data from this package: restpc <- princomp(USArrests, cor = TRUE) > restpc$scale Murder Assault UrbanPop Rape 4.311735 82.500075
2007 Jun 18
1
how to obtain the OR and 95%CI with 1 SD change of a continue variable
...ve) as the dependent variable, and waist circumference as an independent variable. Then I wanna to obtain the OR and 95% CI with 1 SD change of waist circumference.how? Any default package(s) or options in glm available now? if not, how to calculate them by hand? many thanks. yours,sincerely, Xingwang Ye
2006 Jun 14
4
could someone tell me how to implement a multiple comparison test for proportions in a 2xc crosstabulation
Dear all, I wanna to do multiple comparison test for proportions (multiple chi squre ?), could someone tell me how in R, thank you!
2006 Jul 28
1
could someone help me to install packages "gam" (ubuntu 6.06)
> install.packages("gam") Warning in install.packages("gam") : argument 'lib' is missing: using /usr/local/lib/R/site-library --- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ... done trying URL 'http://cran.cnr.Berkeley.edu/src/contrib/gam_0.97.tar.gz' Content type 'application/x-gzip' length 89613 bytes opened URL
2008 Jan 16
0
how to calculate factor Scoring Coefficients
Dear R users, Recently, I am learning by myself to do factor analysis with R. Could some one guide me how to calculate 'factor scoring coefficients' or obtain 'factor scores' with the results from principal( ) or factor.pa( ) function in psych package? In SAS, it can be done with option "SCORE" by PROC FACTOR procedure. Many Thanks. felix