Displaying 1 result from an estimated 1 matches for "outsav".
Did you mean:
utsav
2011 Nov 05
0
ANESRAKE package: Inappropriate error message, given the data
...(25, 25, 28, 22)
> gender <- c(49, 51)
> ethnic <- c(58, 14, 5, 23)
> income <- c(1, 4, 7, 15, 18, 16, 19, 17, 1, 1,1)
> targets <- list(age, gender, ethnic, income)
> names(targets) <- c("age", "gender", "ethnic", "income")
> outsave <- anesrake(targets, medufo, caseid=1, verbose = TRUE)
> write.csv(print(outsave),
"C:/Users/lenovo/Desktop/Medufo_weights/outsave.csv")
HERE IS THE DATA LISTING
> list(medufo)
[[1]]
age gender ethnic income
20 2 1 1 7
23 3 1 4 6
28 2...