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'
ImputationHey guys, I work with panel data and I have the following problem. I've dummy variables from 2 yea…
Gologit2 autofit optionHi, I have developed a gologit2 with autofit option. My dependent variable is Prudence coded as 1 lo…
Reshape long to wideHi everyone, Im a newbie in stata and will really appreciate if somebody will help me. I have searc…
Matching within certain intervals in the list of matching variablesHi everyone, I'm planning to match cases and controls based on age (within 3 years), gender, index d…
Exogenous variables in Olley and Pakes estimation (opreg)Hello, I want to estimate a Cobb-Douglas production function with Stata's opreg command as explaine…
Subscribe to:
Post Comments (Atom)
0 Response to 'type mismatch' error when using 'fp' (fractional polynomial tool) with 'nbreg'
Post a Comment