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'
Asymptomatic/Finite Sample analysisThis may not be the forum for this- perhaps Cross- Validated, but I don't have a Stata question as m…
opening v11 do files on same PC with new v17I checked forums and Google. Could not find the right answer. In short, I had Stata 11 on wife's PC …
Error when run heatplot with "function drop() not declared in class ColrSpace (120 lines skipped) " Code: ssc install heatplot Code: ssc install palettes, replace Code: ssc install colrspace, repla…
Bar graph with multiple variables overlayingHello, I am wondering if it is possible to create a figure like this using stata. I have two variab…
Bootstrapped hierarchical regression?Hi! I'm trying to run a bootstrapped hierarchical regression but it doesn't seem to be working for m…
Subscribe to:
Post Comments (Atom)
0 Response to 'type mismatch' error when using 'fp' (fractional polynomial tool) with 'nbreg'
Post a Comment