search for: age_p

Displaying 3 results from an estimated 3 matches for "age_p".

2012 Oct 14
2
svyhist and svyboxplot
...ctor(strata)), function(index) { : arguments must have same length I would appreciate if someone could help me resolve the issue. Thanks, Pradip # BELOW IS THE REPRODUCIBLE EXAMPLE setwd ("E:/RDATA") options(width = 120) library (survey) library (KernSmooth) xd1<- "xsmoke age_p psu stratum wt8 13601 3 22 2 20 356.5600 32966 3 38 2 45 434.3562 63493 1 32 1 87 699.9987 238175 3 46 1 338 982.8075 174162 3 40 1 240 273.6313 220206 3 33 2 308 1477.1688 118133 3 68 1...
2007 Oct 28
1
tree problem
I am trying to use tree to partition a data set. The data set has 3924 observations. Partitioning seems to work for small subsets of the data, but when I use the entire data set, no partitioning occurs. The variables are: RESP respondent to a survey (0 = not a respondent, 1 = respondent) AGE_P Age (continuous) ORIGIN_I Hispanic Ethnicity (1 = Hispanic, 2 = non-Hispanic) RACRECI2 Race Recode (1 = White, 2 = Black, 3 = Other) parents Parent(s) present in the family (1 = Yes, 2 = No) educ Education Recode (1 = HS, GED, or less, 5 = some college, 6 = Bachelor's or AA degree, 9 =...
2012 Dec 03
2
How to read SPSS file in R
Dear R-users, I have som troubles with .sav file. How is it possible for us R-users to read SPSS files. I know that is possible, I tried the following: > library(foreign) > Corp<-read.spss("/Users/kama/Analysis/Corporation.sav", header=TRUE, > sep=",") Error in read.spss("/Users/kama/Analysis/Corporation.sav", header = TRUE, : unused