calculateCoeffs.polr: Calculate coefficients and standard errors based on weights...

Description Usage Author(s) Examples

Description

This function run polr model for diifferent weighting schemas, and then calculate the overall coefficients and standard errors

Usage

1
  calculateCoeffs.polr(model, datas, method="probit", weigths, fweigth)

Author(s)

Przemyslaw Biecek

Examples

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

pbiecek/PISAtools documentation built on May 24, 2019, 10:35 p.m.