Description Usage Author(s) Examples
This function run polr model for diifferent weighting schemas, and then calculate the overall coefficients and standard errors
1 | calculateCoeffs.polr(model, datas, method="probit", weigths, fweigth)
|
Przemyslaw Biecek
1 2 3 4 5 6 7 8 | weigths <- paste0("SPFWT",1:80)
fweigth <- "SPFWT0"
datas <- na.omit(pol[,c("I_Q06A", "PVLIT1", "PVNUM1", "GENDER_R", "AGE_R", "PARED", "EDCAT4", fweigth, weigths)])
model <- I_Q06A ~ PVLIT1 + PVNUM1 + GENDER_R + AGE_R + PARED + EDCAT4
calculateCoeffs.polr(model, datas, method="probit", weigths, fweigth)
s
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.