Hello,
I am getting a 'type mismatch' error when running an nbreg regression with the 'fp' command, but do not get the error message when I run the regression by itself (see below). I am using Stata 15.1, and the dataset is relatively small (n=123). I am also specifying ", irr vce(boot)" in the command.
The term I am interested in transforming is a positive integer with no zero values (RTv_pDAY).
Your help is appreciated,
Enrique
. fp <RTv_pDAY>:nbreg aRT_AWB POP_10 logJOB_11 Veh_HU AvgDIST_mt <RTv_pDAY> n_PKG BUS_ACCe Com
> mtr_L Terminal TrnfHUB ///
> Fwy_ROW OneWay BRT_Silver if RT_STATION!="ARTESIA TRANSIT CENTER", irr vce(boot)
type mismatch
r(109);
end of do-file
r(109);
Related Posts with 'type mismatch' error when using 'fp' (fractional polynomial tool) with 'nbreg'
Predicted probabilities with -melogit-Dear all, I am running a multilevel model (random slopes) with 2 levels (individuals nested in coun…
Panel data (Trade topics) and countries/sectors fixed effectsDear All, I have a data base with export variation (between 2020 et 2019), by origin countries, des…
Prob>chi2 equals dotHello everyone, I'm currently running a panel data consists of 124 observations. I want to do LM te…
Case Control Design: weightingHey guys, I'm conducting a study that analyses the antecedents of corporate divestitures based on a…
Nationality and NameHi! I have a dataset that has the names for around 17000 individuals, and I am wondering if there i…
Subscribe to:
Post Comments (Atom)
0 Response to 'type mismatch' error when using 'fp' (fractional polynomial tool) with 'nbreg'
Post a Comment