add_predict: add predicted values or residuals under FE projection

Description Usage Arguments

View source: R/utils.R

Description

add predicted values or residuals under FE projection

Usage

1
2
add_predict(model, long, var_name, new_var_name,
  var_name_weights = "omega", force_robust = FALSE, residuals = TRUE)

Arguments

model

list that describes the model specification

long

data.table

var_name

name of variable

new_var_name

name of new variable with residuals

var_name_weights

variable with weights

force_robust

logical, force using numerically stable (but possibly slow) algorithm to fit probit

residuals

logical, TRUE = compute residuals, FALSE = compute predicted values


adzemski/netprobitFE documentation built on May 17, 2019, 11:40 a.m.