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'
Log Transformation of Ratios InterpretationDear all, I have a question regarding whether I should log-transform my dependent variable or not. …
twoway graphs with different yaxisHello I am trying to do a graph with two different yaxis. The problem is that the difference between…
Multiple imputation STATA commandBelow is the command I am using to calculate the AUC for my prediction models in imputed datasets. I…
DIFF command results interpretationI ran a difference-in-differences model using the command DIFF (Villa, 2016) in Stata/IC 15.1 on a s…
standard errors when using Lubotsky-Wittenberg methodology for proxy combinationI am trying to compute the standard errors of an estimate obtained using the Lubotsky-Wittenberg (20…
Subscribe to:
Post Comments (Atom)
0 Response to 'type mismatch' error when using 'fp' (fractional polynomial tool) with 'nbreg'
Post a Comment