Displaying 2 results from an estimated 2 matches for "urbanrur".
Did you mean:
urbanpug
2010 Mar 23
0
multi-stage sampling and hierarchical models: which packages?
...eighting problem and a mixed levels problem at the same time.
Even if I just use the survey package I am not sure how to specify the
model, because I have clusters within strata rather than strata within
clusters.
I guess it would look something like
dstrat<-svydesign(id=~schoolC,strata=~region+urbanrural, weights=~newweight,
data=mydataset,nest=T),
but this gives the same results as
dstrat<-svydesign(id=~schoolC,strata=~region, weights=~newweight,
data=mydataset,nest=T)
And I can't see any way to look at the mixed levels effects using that
package. Perhaps I am better advised to use nlme;...
2010 Mar 24
0
R-help ordinal regression
...t
> the same time.
> Even if I just use the survey package I am not sure how to
> specify the
> model, because I have clusters within strata rather than
> strata within
> clusters.
>
> I guess it would look something like
> dstrat<-svydesign(id=~schoolC,strata=~region+urbanrural,
> weights=~newweight,
> data=mydataset,nest=T),
> but this gives the same results as
> dstrat<-svydesign(id=~schoolC,strata=~region,
> weights=~newweight,
> data=mydataset,nest=T)
>
> And I can't see any way to look at the mixed levels effects
> using that
>...