search for: svyproportion

Displaying 1 result from an estimated 1 matches for "svyproportion".

2007 Dec 19
2
4 questions regarding hypothesis testing, survey package, ts on samples, plotting
...in survey package? a<-c(1:10) b<-sample(1:20, 10, replace=T) b1<-sample(0:1, 10, replace=T) c<-data.frame(a,b, b1) library(survey) design<-svydesign(id=~1, data=c) svymean(~b, design) svymean gives me the mean, but what function gives me the svymedian, and what function gives me the svyproportion for b1? I want to know the median for a metric variable and the proportion for a binomial variable ? 3. Could time series analysis (arima/arma) be applied on data that are obtained from a sample?. Eg: Say I have data from the same sample in 40 moments. Could I use arima/arma on the series? Or m...